anv: Disable constant buffer 0 being relative.
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 15 Jun 2018 18:44:28 +0000 (11:44 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Mon, 18 Jun 2018 21:41:38 +0000 (14:41 -0700)
commitba2c18763b2fa7fa04e391850f842b4236e844da
treedc7859dee0e97ef46d33803387c3486ed5af8bf7
parentbe18d5a0ce8bf6c3578deb693e34faf366c4a0db
anv: Disable constant buffer 0 being relative.

If we are on gen8+ and have context isolation support, just make that
constant buffer address be absolute, so we can use it for push UBOs too.

v2: Do not duplicate constant_buffer_0_is_relative flag (Jason)

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c
src/intel/vulkan/genX_state.c