From: Jason Ekstrand Date: Mon, 11 Jan 2016 20:14:45 +0000 (-0800) Subject: nir/spirv: Handle OpNoLine X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17cfafd83a84a7ea2aeacee238be2c9c0814adc1;p=mesa.git nir/spirv: Handle OpNoLine --- 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: