Run format_all.sh.
This commit is contained in:
parent
a803e5ae38
commit
9a52713d77
@ -1997,7 +1997,8 @@ void CompilerHLSL::emit_function_prototype(SPIRFunction &func, uint64_t return_f
|
|||||||
|
|
||||||
// Flatten a combined sampler to two separate arguments in modern HLSL.
|
// Flatten a combined sampler to two separate arguments in modern HLSL.
|
||||||
auto &arg_type = get<SPIRType>(arg.type);
|
auto &arg_type = get<SPIRType>(arg.type);
|
||||||
if (hlsl_options.shader_model > 30 && arg_type.basetype == SPIRType::SampledImage && arg_type.image.dim != DimBuffer)
|
if (hlsl_options.shader_model > 30 && arg_type.basetype == SPIRType::SampledImage &&
|
||||||
|
arg_type.image.dim != DimBuffer)
|
||||||
{
|
{
|
||||||
// Manufacture automatic sampler arg for SampledImage texture
|
// Manufacture automatic sampler arg for SampledImage texture
|
||||||
decl += ", ";
|
decl += ", ";
|
||||||
|
Loading…
Reference in New Issue
Block a user