From 17cfafd83a84a7ea2aeacee238be2c9c0814adc1 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 11 Jan 2016 12:14:45 -0800 Subject: [PATCH] nir/spirv: Handle OpNoLine --- 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 44d03652e98..9000e895dd4 100644 --- a/src/glsl/nir/spirv/spirv_to_nir.c +++ b/src/glsl/nir/spirv/spirv_to_nir.c @@ -3190,6 +3190,7 @@ vtn_handle_variable_or_type_instruction(struct vtn_builder *b, SpvOp opcode, break; case SpvOpLine: + case SpvOpNoLine: break; /* Ignored for now */ case SpvOpTypeVoid: @@ -3244,6 +3245,7 @@ vtn_handle_body_instruction(struct vtn_builder *b, SpvOp opcode, { switch (opcode) { case SpvOpLine: + case SpvOpNoLine: break; /* Ignored for now */ case SpvOpLabel: -- 2.30.2