projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd19718
)
vk/compiler: Set the binding table texture_start
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 14 May 2015 05:12:01 +0000
(22:12 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 14 May 2015 05:23:30 +0000
(22:23 -0700)
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
patch
|
blob
|
history
diff --git
a/src/vulkan/compiler.cpp
b/src/vulkan/compiler.cpp
index
bf3262f
..
d843d03
100644
(file)
--- 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;