summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_pipeline.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-02-22 15:46:23 -0800
committerKenneth Graunke <[email protected]>2016-02-24 11:13:08 -0800
commit7f9b03cc8b44759895d5c4c42cfef8fa78269e7c (patch)
treecb52eaf064c2ea0ac64e4f91f5aa8917b68412f0 /src/intel/vulkan/anv_pipeline.c
parent1024a66fc4ff34a03ecfdf3ec053cb874fb206fe (diff)
anv: Emit 3DSTATE_PUSH_CONSTANT_ALLOC_* via a loop.
Now we're emitting HS and DS packets as well.
Diffstat (limited to 'src/intel/vulkan/anv_pipeline.c')
-rw-r--r--src/intel/vulkan/anv_pipeline.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index df78362ee70..672640ac24c 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -885,6 +885,12 @@ gen7_compute_urb_partition(struct anv_pipeline *pipeline)
pipeline->urb.start[MESA_SHADER_TESS_EVAL] = push_constant_chunks;
pipeline->urb.size[MESA_SHADER_TESS_EVAL] = 1;
pipeline->urb.entries[MESA_SHADER_TESS_EVAL] = 0;
+
+ pipeline->urb.push_size[MESA_SHADER_VERTEX] = 4;
+ pipeline->urb.push_size[MESA_SHADER_TESS_CTRL] = 0;
+ pipeline->urb.push_size[MESA_SHADER_TESS_EVAL] = 0;
+ pipeline->urb.push_size[MESA_SHADER_GEOMETRY] = 4;
+ pipeline->urb.push_size[MESA_SHADER_FRAGMENT] = 4;
}
static void