summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_pipeline.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-21 21:50:45 -0700
committerJason Ekstrand <[email protected]>2015-10-21 21:50:47 -0700
commitd0e8c78407c9b259da55c8b203b96deadab6187e (patch)
tree738d055b108ce305db0bf3bd6dd5a40cce97a0ab /src/vulkan/anv_pipeline.c
parent8af2a099569f123776a9556affde23ae66a10ef5 (diff)
anv/pipeline: set the gs_vertex_count in compile_gs
This was missed in the initial enabling commit.
Diffstat (limited to 'src/vulkan/anv_pipeline.c')
-rw-r--r--src/vulkan/anv_pipeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/anv_pipeline.c b/src/vulkan/anv_pipeline.c
index f035f5b8f5e..173c9787d91 100644
--- a/src/vulkan/anv_pipeline.c
+++ b/src/vulkan/anv_pipeline.c
@@ -566,6 +566,7 @@ anv_pipeline_compile_gs(struct anv_pipeline *pipeline,
/* TODO: SIMD8 GS */
pipeline->gs_vec4 =
anv_pipeline_upload_kernel(pipeline, shader_code, code_size);
+ pipeline->gs_vertex_count = nir->info.gs.vertices_in;
ralloc_free(mem_ctx);