From 07943656a7e0cadc6252621e877ed38937f67b91 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 13 May 2015 22:12:01 -0700 Subject: [PATCH] vk/compiler: Set the binding table texture_start This is by no means a complete solution to the binding table problems. However, it does make texturing actually work. Before, we were texturing from the render target since they were both starting at 0. --- src/vulkan/compiler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vulkan/compiler.cpp b/src/vulkan/compiler.cpp index bf3262fecd4..d843d035508 100644 --- a/src/vulkan/compiler.cpp +++ b/src/vulkan/compiler.cpp @@ -70,6 +70,8 @@ set_binding_table_layout(struct brw_stage_prog_data *prog_data, else bias = 0; + prog_data->binding_table.texture_start = bias; + count = pipeline->layout->stage[stage].surface_count; entries = pipeline->layout->stage[stage].surface_entries; -- 2.30.2