mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-06 01:30:35 +02:00
pvr: fix when to emit ppp state uniform base address
Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com> Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31679>
This commit is contained in:
parent
703f3e902c
commit
35f824fb07
1 changed files with 2 additions and 1 deletions
|
|
@ -6009,7 +6009,8 @@ pvr_emit_dirty_ppp_state(struct pvr_cmd_buffer *const cmd_buffer,
|
|||
|
||||
if (!dynamic_state->rs.rasterizer_discard_enable &&
|
||||
state->dirty.fragment_descriptors &&
|
||||
state->gfx_pipeline->shader_state.fragment.bo) {
|
||||
state->gfx_pipeline->shader_state.fragment.bo &&
|
||||
!state->gfx_pipeline->shader_state.fragment.stage_state.empty_program) {
|
||||
pvr_setup_fragment_state_pointers(cmd_buffer, sub_cmd);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue