_mesa_add_state_reference(params, point_size_state);
NIR_PASS_V(state.ir.nir, nir_lower_point_size_mov,
point_size_state);
+ stvp->affected_states |= ST_NEW_VS_CONSTANTS;
finalize = true;
}
_mesa_add_state_reference(params, point_size_state);
NIR_PASS_V(state.ir.nir, nir_lower_point_size_mov,
point_size_state);
+ if (prog->Base.info.stage == MESA_SHADER_TESS_EVAL)
+ prog->affected_states |= ST_NEW_TES_CONSTANTS;
+ else if (prog->Base.info.stage == MESA_SHADER_GEOMETRY)
+ prog->affected_states |= ST_NEW_GS_CONSTANTS;
finalize = true;
}
state.stream_output = prog->state.stream_output;