From: Jason Ekstrand Date: Thu, 14 May 2015 05:12:01 +0000 (-0700) Subject: vk/compiler: Set the binding table texture_start X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07943656a7e0cadc6252621e877ed38937f67b91;p=mesa.git 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. --- 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;