mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
anv/pipeline: Fix point size
This commit is contained in:
parent
3276610ea6
commit
5e57a87dcf
1 changed files with 5 additions and 1 deletions
|
|
@ -544,7 +544,8 @@ anv_pipeline_compile_vs(struct anv_pipeline *pipeline,
|
|||
ralloc_steal(mem_ctx, nir);
|
||||
|
||||
prog_data->inputs_read = nir->info.inputs_read;
|
||||
pipeline->writes_point_size = nir->info.outputs_written & VARYING_SLOT_PSIZ;
|
||||
if (nir->info.outputs_written & (1ull << VARYING_SLOT_PSIZ))
|
||||
pipeline->writes_point_size = true;
|
||||
|
||||
brw_compute_vue_map(&pipeline->device->info,
|
||||
&prog_data->base.vue_map,
|
||||
|
|
@ -608,6 +609,9 @@ anv_pipeline_compile_gs(struct anv_pipeline *pipeline,
|
|||
if (module->nir == NULL)
|
||||
ralloc_steal(mem_ctx, nir);
|
||||
|
||||
if (nir->info.outputs_written & (1ull << VARYING_SLOT_PSIZ))
|
||||
pipeline->writes_point_size = true;
|
||||
|
||||
brw_compute_vue_map(&pipeline->device->info,
|
||||
&prog_data->base.vue_map,
|
||||
nir->info.outputs_written,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue