mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
gen8/pipeline: Pull gs_vertex_count from prog_data
This commit is contained in:
parent
ff8895ba56
commit
da4a6bbbea
3 changed files with 1 additions and 3 deletions
|
|
@ -635,7 +635,6 @@ anv_pipeline_compile_gs(struct anv_pipeline *pipeline,
|
|||
/* TODO: SIMD8 GS */
|
||||
pipeline->gs_kernel =
|
||||
anv_pipeline_cache_upload_kernel(cache, shader_code, code_size);
|
||||
pipeline->gs_vertex_count = nir->info.gs.vertices_in;
|
||||
|
||||
ralloc_free(mem_ctx);
|
||||
|
||||
|
|
|
|||
|
|
@ -1379,7 +1379,6 @@ struct anv_pipeline {
|
|||
uint32_t ps_grf_start0;
|
||||
uint32_t ps_grf_start2;
|
||||
uint32_t gs_kernel;
|
||||
uint32_t gs_vertex_count;
|
||||
uint32_t cs_simd;
|
||||
|
||||
uint32_t vb_used;
|
||||
|
|
|
|||
|
|
@ -322,7 +322,7 @@ genX(graphics_pipeline_create)(
|
|||
.VectorMaskEnable = false,
|
||||
.SamplerCount = 0,
|
||||
.BindingTableEntryCount = 0,
|
||||
.ExpectedVertexCount = pipeline->gs_vertex_count,
|
||||
.ExpectedVertexCount = gs_prog_data->vertices_in,
|
||||
|
||||
.ScratchSpaceBasePointer = pipeline->scratch_start[MESA_SHADER_GEOMETRY],
|
||||
.PerThreadScratchSpace = scratch_space(&gs_prog_data->base.base),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue