nir/spirv: Add no-op support for OpSourceContinued
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Jan 2016 00:06:06 +0000 (16:06 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Jan 2016 00:06:11 +0000 (16:06 -0800)
src/glsl/nir/spirv/spirv_to_nir.c

index e27a755c1069c29dad67d4bbba49ca483d76d7a7..f85e131e678a75e84d1a95eea796d346133c7c87 100644 (file)
@@ -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: