From: Jason Ekstrand Date: Tue, 12 Jan 2016 00:06:06 +0000 (-0800) Subject: nir/spirv: Add no-op support for OpSourceContinued X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ca97cefb04f1ed4520261c5037cc5016051e3cb;p=mesa.git nir/spirv: Add no-op support for OpSourceContinued --- 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: