mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
vc4: drop redundant shader->failed reassignment
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Signed-off-by: Maíra Canal <mcanal@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39768>
This commit is contained in:
parent
df22e50ab5
commit
6f58861b95
1 changed files with 1 additions and 3 deletions
|
|
@ -2672,9 +2672,7 @@ vc4_get_compiled_shader(struct vc4_context *vc4, enum qstage stage,
|
|||
}
|
||||
|
||||
shader->failed = c->failed;
|
||||
if (c->failed) {
|
||||
shader->failed = true;
|
||||
} else {
|
||||
if (!shader->failed) {
|
||||
copy_uniform_state_to_shader(shader, c);
|
||||
shader->bo = vc4_bo_alloc_shader(vc4->screen, c->qpu_insts,
|
||||
c->qpu_inst_count *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue