SPV: Use OpBitcast to implement 4 pack/unpack built-in functions.

This commit is contained in:
Rex Xu
2016-09-09 17:50:07 +08:00
parent cfd7ce87cd
commit c9f349234f
2 changed files with 5 additions and 7 deletions

View File

@@ -3504,8 +3504,7 @@ spv::Id TGlslangToSpvTraverser::createUnaryOperation(glslang::TOperator op, spv:
case glslang::EOpUnpackInt2x32:
case glslang::EOpPackUint2x32:
case glslang::EOpUnpackUint2x32:
logger->missingFunctionality("shader int64");
libCall = spv::GLSLstd450Bad; // TODO: This is a placeholder.
unaryOp = spv::OpBitcast;
break;
case glslang::EOpDPdx: