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:
committed by
Marge Bot
parent
703f3e902c
commit
35f824fb07
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user