mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 06:40:32 +01:00
i965: switch gs over to shared shader_info
Note we access shader_info from the program struct rather than the nir_shader pointer because shader cache won't create a nir_shader. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
b99ecaf872
commit
288c96afce
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ brw_codegen_gs_prog(struct brw_context *brw,
|
|||
&prog_data.base.base,
|
||||
compiler->scalar_stage[MESA_SHADER_GEOMETRY]);
|
||||
|
||||
uint64_t outputs_written = gp->program.Base.nir->info->outputs_written;
|
||||
uint64_t outputs_written = gp->program.Base.info.outputs_written;
|
||||
|
||||
prog_data.base.cull_distance_mask =
|
||||
((1 << gp->program.Base.CullDistanceArraySize) - 1) <<
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue