Add supprot for the SPV_QCOM_image_processing extension
This commit is contained in:
parent
8028f75685
commit
1efe04cfce
@ -14160,16 +14160,16 @@ void CompilerGLSL::emit_instruction(const Instruction &instruction)
|
||||
switch (opcode)
|
||||
{
|
||||
case OpImageSampleWeightedQCOM:
|
||||
expr = std::move("textureWeightedQCOM");
|
||||
expr = "textureWeightedQCOM";
|
||||
break;
|
||||
case OpImageBoxFilterQCOM:
|
||||
expr = std::move("textureBoxFilterQCOM");
|
||||
expr = "textureBoxFilterQCOM";
|
||||
break;
|
||||
case OpImageBlockMatchSSDQCOM:
|
||||
expr = std::move("textureBlockMatchSSDQCOM");
|
||||
expr = "textureBlockMatchSSDQCOM";
|
||||
break;
|
||||
case OpImageBlockMatchSADQCOM:
|
||||
expr = std::move("textureBlockMatchSADQCOM");
|
||||
expr = "textureBlockMatchSADQCOM";
|
||||
break;
|
||||
default:
|
||||
SPIRV_CROSS_THROW("Invalid opcode for QCOM_image_processing.");
|
||||
@ -14202,7 +14202,7 @@ void CompilerGLSL::emit_instruction(const Instruction &instruction)
|
||||
emit_op(result_type_id, id, expr, forward);
|
||||
|
||||
inherit_expression_dependencies(id, ops[3]);
|
||||
if (opcode == OpImageBlockMatchSSDQCOM || opcode == OpImageBlockMatchSADQCOM )
|
||||
if (opcode == OpImageBlockMatchSSDQCOM || opcode == OpImageBlockMatchSADQCOM)
|
||||
inherit_expression_dependencies(id, ops[5]);
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user