Cannot support packDouble on HLSL, at least for now.

This commit is contained in:
Hans-Kristian Arntzen 2017-11-27 15:06:15 +01:00
parent 656af7e3ed
commit e27f5775c5

View File

@ -2387,6 +2387,10 @@ void CompilerHLSL::emit_glsl_op(uint32_t result_type, uint32_t id, uint32_t eop,
emit_unary_func_op(result_type, id, args[0], "SPIRV_Cross_unpackUnorm2x16");
break;
case GLSLstd450PackDouble2x32:
case GLSLstd450UnpackDouble2x32:
SPIRV_CROSS_THROW("packDouble2x32/unpackDouble2x32 not supported in HLSL.");
default:
CompilerGLSL::emit_glsl_op(result_type, id, eop, args, count);
break;