zink: update pointer for GPL pipeline cache entry formats
this otherwise points to ctx->gfx_pipeline_state.rendering_formats, which is broken for background compiles cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25795>
This commit is contained in:
parent
ad72772d93
commit
b3e864b326
1 changed files with 1 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ zink_get_gfx_pipeline(struct zink_context *ctx,
|
|||
* TODO: maybe optimize this since all these values aren't actually needed
|
||||
*/
|
||||
memcpy(&pc_entry->state, state, sizeof(*state));
|
||||
pc_entry->state.rendering_info.pColorAttachmentFormats = pc_entry->state.rendering_formats;
|
||||
pc_entry->prog = prog;
|
||||
/* init the optimized background compile fence */
|
||||
util_queue_fence_init(&pc_entry->fence);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue