diff options
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_gallium.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c index b52328e2f06..8d392801363 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c @@ -144,7 +144,7 @@ ir3_shader_create(struct ir3_compiler *compiler, static struct ir3_shader_key key; /* static is implicitly zeroed */ ir3_shader_variant(shader, key, false, debug); - if (nir->info.stage != MESA_SHADER_FRAGMENT) + if (nir->info.stage == MESA_SHADER_VERTEX) ir3_shader_variant(shader, key, true, debug); } |