mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
iris: use util_unreference_framebuffer_state to unref fb state
Fixes:f5bde99cbd("gallium: plumb resolve attachments through from frontends -> pipe_framebuffer_state") Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22673> (cherry picked from commit7a3deb05a6)
This commit is contained in:
parent
67ccf01ff5
commit
95354d8285
2 changed files with 2 additions and 5 deletions
|
|
@ -670,7 +670,7 @@
|
|||
"description": "iris: use util_unreference_framebuffer_state to unref fb state",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "f5bde99cbdd208916795dc463663ddd97428ecc1"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -7886,10 +7886,7 @@ iris_destroy_state(struct iris_context *ice)
|
|||
pipe_so_target_reference(&ice->state.so_target[i], NULL);
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < ice->state.framebuffer.nr_cbufs; i++) {
|
||||
pipe_surface_reference(&ice->state.framebuffer.cbufs[i], NULL);
|
||||
}
|
||||
pipe_surface_reference(&ice->state.framebuffer.zsbuf, NULL);
|
||||
util_unreference_framebuffer_state(&ice->state.framebuffer);
|
||||
|
||||
for (int stage = 0; stage < MESA_SHADER_STAGES; stage++) {
|
||||
struct iris_shader_state *shs = &ice->state.shaders[stage];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue