anv/pipeline: set the gs_vertex_count in compile_gs
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 22 Oct 2015 04:50:45 +0000 (21:50 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 22 Oct 2015 04:50:47 +0000 (21:50 -0700)
This was missed in the initial enabling commit.

src/vulkan/anv_pipeline.c

index f035f5b8f5eaaaaffb3783fa9ee8e3688f769187..173c9787d91c4581bf6cc7179cf625bb42acf71e 100644 (file)
@@ -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);