summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2016-02-28 10:44:08 -0800
committerJordan Justen <[email protected]>2016-02-28 10:49:39 -0800
commit45d8ce07a5838977bd875fdeb008ccecc6eb976e (patch)
tree44fc2ae8a89ca7f21b8e4846dd1304857adebe8b /src/intel
parent46b7c242da7c7c9ea7877a2c4b1fecdf5c1c0452 (diff)
anv/pipeline: Set stage URB size to zero if it is unused
Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 1173b4f0cba..f6e3aedda40 100644
--- 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] =