mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
iris: pc fixes
This commit is contained in:
parent
f9f8ea7070
commit
0db86016f7
1 changed files with 2 additions and 0 deletions
|
|
@ -227,7 +227,9 @@ iris_upload_shader(struct iris_context *ice,
|
|||
* backend.
|
||||
*/
|
||||
if (existing) {
|
||||
pipe_resource_reference(&shader->buffer, existing->buffer);
|
||||
shader->offset = existing->offset;
|
||||
shader->map = existing->map;
|
||||
} else {
|
||||
shader->buffer = NULL;
|
||||
u_upload_alloc(ice->shaders.uploader, 0, prog_data->program_size,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue