ir3: mark ucp_enables as allowed values on all keys
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 5 Jul 2020 04:19:08 +0000 (00:19 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 18:37:22 +0000 (18:37 +0000)
Both vertex and fragment shaders need to have the lowering.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5751>

src/freedreno/ir3/ir3_shader.c

index 0a6e268d7272c956bae9f171da1bf12bb7f8a131..984ae57418daf5397af96177a273773713fc682e 100644 (file)
@@ -340,6 +340,8 @@ ir3_setup_used_key(struct ir3_shader *shader)
 
        key->safe_constlen = true;
 
+       key->ucp_enables = 0xff;
+
        if (info->stage == MESA_SHADER_FRAGMENT) {
                key->fsaturate_s = ~0;
                key->fsaturate_t = ~0;