r600/llvm: fix r600/llvm build
authorDave Airlie <airlied@redhat.com>
Mon, 30 Nov 2015 01:05:42 +0000 (11:05 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 30 Nov 2015 01:05:42 +0000 (11:05 +1000)
Reported on irc by gryffus

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_llvm.c

index 372cd419c73e5947b0e2cc2a4844e4c08ca0b283..1cc30317ba53f0b258d63c21ddc7ef2d28a372b2 100644 (file)
@@ -887,7 +887,7 @@ void r600_shader_binary_read_config(const struct radeon_shader_binary *binary,
                case R_02880C_DB_SHADER_CONTROL:
                        *use_kill = G_02880C_KILL_ENABLE(value);
                        break;
-               case CM_R_0288E8_SQ_LDS_ALLOC:
+               case R_0288E8_SQ_LDS_ALLOC:
                        bc->nlds_dw = value;
                        break;
                }