mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
crocus/gen5: add dirty flags for urb fences.
Fixes hang with some gtk4 apps.
Fixes: f3630548f1 ("crocus: initial gallium driver for Intel gfx 4-7")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13282>
This commit is contained in:
parent
7079286945
commit
2d15557fd3
1 changed files with 4 additions and 2 deletions
|
|
@ -5876,8 +5876,10 @@ crocus_upload_dirty_render_state(struct crocus_context *ice,
|
|||
bool ret = crocus_calculate_urb_fence(batch, ice->curbe.total_size,
|
||||
brw_vue_prog_data(ice->shaders.prog[MESA_SHADER_VERTEX]->prog_data)->urb_entry_size,
|
||||
((struct brw_sf_prog_data *)ice->shaders.sf_prog->prog_data)->urb_entry_size);
|
||||
if (ret)
|
||||
dirty |= CROCUS_DIRTY_GEN5_PIPELINED_POINTERS;
|
||||
if (ret) {
|
||||
dirty |= CROCUS_DIRTY_GEN5_PIPELINED_POINTERS | CROCUS_DIRTY_RASTER | CROCUS_DIRTY_CLIP;
|
||||
stage_dirty |= CROCUS_STAGE_DIRTY_GS | CROCUS_STAGE_DIRTY_VS;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (dirty & CROCUS_DIRTY_CC_VIEWPORT) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue