spirv: fix warn string typo
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 13 Jan 2017 16:07:49 +0000 (16:07 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 20 Jan 2017 16:46:29 +0000 (16:46 +0000)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/vtn_variables.c

index 61a3701e435e9ea982f4c56337d8be8f159e4f92..a543a52dd0511eb23bf0ad1a3080ae7cc3eb937e 100644 (file)
@@ -1132,7 +1132,7 @@ apply_var_decoration(struct vtn_builder *b, nir_variable *nir_var,
    case SpvDecorationFPRoundingMode:
    case SpvDecorationFPFastMathMode:
    case SpvDecorationAlignment:
-      vtn_warn("Decoraiton only allowed for CL-style kernels: %s",
+      vtn_warn("Decoration only allowed for CL-style kernels: %s",
                spirv_decoration_to_string(dec->decoration));
       break;
    }