anv/pipeline: Set binding_table.gather_texture_start
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 Jul 2016 03:06:09 +0000 (20:06 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Jul 2016 23:27:35 +0000 (16:27 -0700)
This should get texture gather working on gen8+ and mostly working on gen7.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-dev@lists.freedesktop.org>
src/intel/vulkan/anv_pipeline.c

index 3723423617bdb3448c454fbf1bfbe7237dad73d5..57e1bddd44f8037f4d90b74dddba44a7b4ce1c67 100644 (file)
@@ -387,6 +387,7 @@ anv_fill_binding_table(struct brw_stage_prog_data *prog_data, unsigned bias)
 {
    prog_data->binding_table.size_bytes = 0;
    prog_data->binding_table.texture_start = bias;
+   prog_data->binding_table.gather_texture_start = bias;
    prog_data->binding_table.ubo_start = bias;
    prog_data->binding_table.ssbo_start = bias;
    prog_data->binding_table.image_start = bias;