From 4fd54d611f2853e7d3c83fb25734fc9423b5e079 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 25 Jan 2017 12:28:50 +0000 Subject: [PATCH] spirv: fix typos Signed-off-by: Lionel Landwerlin Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Jason Ekstrand --- src/compiler/spirv/spirv_to_nir.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index aecda172717..968502c5fd8 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -609,7 +609,7 @@ type_decoration_cb(struct vtn_builder *b, case SpvDecorationOffset: case SpvDecorationXfbBuffer: case SpvDecorationXfbStride: - vtn_warn("Decoraiton only allowed for struct members: %s", + vtn_warn("Decoration only allowed for struct members: %s", spirv_decoration_to_string(dec->decoration)); break; @@ -625,7 +625,7 @@ type_decoration_cb(struct vtn_builder *b, case SpvDecorationLinkageAttributes: case SpvDecorationNoContraction: case SpvDecorationInputAttachmentIndex: - vtn_warn("Decoraiton not allowed on types: %s", + vtn_warn("Decoration not allowed on types: %s", spirv_decoration_to_string(dec->decoration)); break; @@ -635,7 +635,7 @@ type_decoration_cb(struct vtn_builder *b, 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; } -- 2.30.2