anv: Get rid of backend compiler hacks for descriptor sets
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Oct 2015 00:02:55 +0000 (17:02 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Oct 2015 01:38:33 +0000 (18:38 -0700)
commit42683e37570bac2b0cb36896cf9a558ae0a24eb4
tree46e9429b666217dc5c41ac40c6f46f0aca1f495e
parentda994f4b7ecf699ae27cb2236387db4cb099f42d
anv: Get rid of backend compiler hacks for descriptor sets

Now that we have anv_nir_apply_pipeline_layout, we can hand the backend
compiler intrinsics and texture instructions that use a flat buffer index
just like it wants.  There's no longer any reason for any of these hacks.
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
src/vulkan/anv_compiler.cpp