mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radv: Set variant code_size when created from the cache.
Signed-off-by: Bas Nieeuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
1e1165389c
commit
6bb1ed6bcc
1 changed files with 1 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ radv_create_shader_variant_from_pipeline_cache(struct radv_device *device,
|
|||
variant->info = entry->variant_info;
|
||||
variant->rsrc1 = entry->rsrc1;
|
||||
variant->rsrc2 = entry->rsrc2;
|
||||
variant->code_size = entry->code_size;
|
||||
variant->ref_count = 1;
|
||||
|
||||
variant->bo = device->ws->buffer_create(device->ws, entry->code_size, 256,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue