From: Jason Ekstrand Date: Mon, 11 Jan 2016 20:39:32 +0000 (-0800) Subject: nir/spirv: Properly handle OpConstantNull X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c974b94578d558a88228011090d7edc9421ece46;p=mesa.git nir/spirv: Properly handle OpConstantNull --- diff --git a/src/glsl/nir/spirv/spirv_to_nir.c b/src/glsl/nir/spirv/spirv_to_nir.c index da6c0086b9e..e27a755c106 100644 --- a/src/glsl/nir/spirv/spirv_to_nir.c +++ b/src/glsl/nir/spirv/spirv_to_nir.c @@ -3222,6 +3222,7 @@ vtn_handle_variable_or_type_instruction(struct vtn_builder *b, SpvOp opcode, case SpvOpConstant: case SpvOpConstantComposite: case SpvOpConstantSampler: + case SpvOpConstantNull: case SpvOpSpecConstantTrue: case SpvOpSpecConstantFalse: case SpvOpSpecConstant: