mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-03 19:30:26 +01:00
pan/midgard: Use dummy tag for empty shaders
Fixes INSTR_INVALID_ENC in dEQP-GLES31.functional.compute.basic.empty Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3835>
This commit is contained in:
parent
b2cab6b6db
commit
d208212f80
1 changed files with 2 additions and 2 deletions
|
|
@ -83,8 +83,8 @@ panfrost_shader_compile(
|
|||
memcpy(state->bo->cpu, dst, size);
|
||||
meta->shader = state->bo->gpu | program.first_tag;
|
||||
} else {
|
||||
/* no shader */
|
||||
meta->shader = 0x0;
|
||||
/* No shader. Use dummy tag to avoid INSTR_INVALID_ENC */
|
||||
meta->shader = 0x0 | 1;
|
||||
}
|
||||
|
||||
util_dynarray_fini(&program.compiled);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue