mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-19 18:50:43 +02:00
pvr: Use PVRX(TA_PASSTYPE) for pvr_fragment_shader_state.pass_type
Replaces the current uint32_t value. Signed-off-by: Matt Coster <matt.coster@imgtec.com> Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19342>
This commit is contained in:
parent
9056817a6c
commit
a89ff8d4bc
2 changed files with 2 additions and 2 deletions
|
|
@ -1429,7 +1429,7 @@ pvr_fragment_state_init(struct pvr_graphics_pipeline *gfx_pipeline,
|
|||
fragment_state->stage_state.has_side_effects = false;
|
||||
fragment_state->stage_state.empty_program = false;
|
||||
|
||||
fragment_state->pass_type = 0;
|
||||
fragment_state->pass_type = PVRX(TA_PASSTYPE_OPAQUE);
|
||||
fragment_state->entry_offset = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1185,7 +1185,7 @@ struct pvr_fragment_shader_state {
|
|||
struct pvr_pipeline_stage_state stage_state;
|
||||
/* FIXME: Move this into stage_state? */
|
||||
struct pvr_stage_allocation_descriptor_state descriptor_state;
|
||||
uint32_t pass_type;
|
||||
enum PVRX(TA_PASSTYPE) pass_type;
|
||||
|
||||
struct pvr_pds_upload pds_coeff_program;
|
||||
struct pvr_pds_upload pds_fragment_program;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue