Merge branch 'hlsl_fix_hit_t_arg' of https://github.com/skkkksdkfak/SPIRV-Cross
This commit is contained in:
commit
202bf05386
@ -6243,7 +6243,7 @@ void CompilerHLSL::emit_instruction(const Instruction &instruction)
|
||||
case OpRayQueryGenerateIntersectionKHR:
|
||||
{
|
||||
flush_variable_declaration(ops[0]);
|
||||
statement(to_expression(ops[0]), ".CommitProceduralPrimitiveHit(", ops[1], ");");
|
||||
statement(to_expression(ops[0]), ".CommitProceduralPrimitiveHit(", to_expression(ops[1]), ");");
|
||||
break;
|
||||
}
|
||||
case OpRayQueryConfirmIntersectionKHR:
|
||||
|
Loading…
Reference in New Issue
Block a user