Use constant address space for SPIR-V parameters when generating tessellation control shader.
This commit is contained in:
parent
b2c2f724f4
commit
ca7df787b3
@ -5613,7 +5613,7 @@ void CompilerMSL::entry_point_args_builtin(string &ep_args)
|
||||
if (!ep_args.empty())
|
||||
ep_args += ", ";
|
||||
ep_args +=
|
||||
join("device uint* spvIndirectParams [[buffer(", msl_options.indirect_params_buffer_index, ")]]");
|
||||
join("constant uint* spvIndirectParams [[buffer(", msl_options.indirect_params_buffer_index, ")]]");
|
||||
}
|
||||
|
||||
// Tessellation control shaders get three additional parameters:
|
||||
|
Loading…
Reference in New Issue
Block a user