From 1ca97cefb04f1ed4520261c5037cc5016051e3cb Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 11 Jan 2016 16:06:06 -0800 Subject: [PATCH] nir/spirv: Add no-op support for OpSourceContinued --- src/glsl/nir/spirv/spirv_to_nir.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glsl/nir/spirv/spirv_to_nir.c b/src/glsl/nir/spirv/spirv_to_nir.c index e27a755c106..f85e131e678 100644 --- a/src/glsl/nir/spirv/spirv_to_nir.c +++ b/src/glsl/nir/spirv/spirv_to_nir.c @@ -3001,6 +3001,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, switch (opcode) { case SpvOpSource: case SpvOpSourceExtension: + case SpvOpSourceContinued: case SpvOpExtension: /* Unhandled, but these are for debug so that's ok. */ break; @@ -3172,6 +3173,7 @@ vtn_handle_variable_or_type_instruction(struct vtn_builder *b, SpvOp opcode, { switch (opcode) { case SpvOpSource: + case SpvOpSourceContinued: case SpvOpSourceExtension: case SpvOpExtension: case SpvOpCapability: -- 2.30.2