projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b7c24
)
anv/pipeline: Set stage URB size to zero if it is unused
author
Jordan Justen
<jordan.l.justen@intel.com>
Sun, 28 Feb 2016 18:44:08 +0000
(10:44 -0800)
committer
Jordan Justen
<jordan.l.justen@intel.com>
Sun, 28 Feb 2016 18:49:39 +0000
(10:49 -0800)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/vulkan/anv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_pipeline.c
b/src/intel/vulkan/anv_pipeline.c
index 1173b4f0cba209109d5d522397928dcc7e851553..f6e3aedda4013468adbb68ef2ea57fd0a0127f3e 100644
(file)
--- a/
src/intel/vulkan/anv_pipeline.c
+++ b/
src/intel/vulkan/anv_pipeline.c
@@
-897,7
+897,7
@@
gen7_compute_urb_partition(struct anv_pipeline *pipeline)
for (int i = MESA_SHADER_VERTEX; i < MESA_SHADER_FRAGMENT; i++) {
pipeline->urb.push_size[i] =
- (pipeline->active_stages & (1 << i)) ? size_per_stage :
1
;
+ (pipeline->active_stages & (1 << i)) ? size_per_stage :
0
;
}
pipeline->urb.push_size[MESA_SHADER_FRAGMENT] =