Mesa (master): anv/pipeline: Set binding_table.gather_texture_start

Jason Ekstrand jekstrand at kemper.freedesktop.org
Fri Jul 22 23:20:51 UTC 2016


Module: Mesa
Branch: master
Commit: 3c0077a6ec4c0ffd6e74e219c786d5d7f9217ce9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c0077a6ec4c0ffd6e74e219c786d5d7f9217ce9

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Wed Jul 20 20:06:09 2016 -0700

anv/pipeline: Set binding_table.gather_texture_start

This should get texture gather working on gen8+ and mostly working on gen7.

Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Cc: "12.0" <mesa-dev at lists.freedesktop.org>

---

 src/intel/vulkan/anv_pipeline.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 3723423..57e1bdd 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -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;




More information about the mesa-commit mailing list