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.
This commit is contained in:
Jason Ekstrand 2015-05-13 22:12:01 -07:00
parent cd197181f2
commit 07943656a7

View file

@ -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;