mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed issue #1894.
This commit is contained in:
@@ -983,7 +983,13 @@ namespace bgfx { namespace spirv
|
||||
spvtools::ValidatorOptions validatorOptions;
|
||||
validatorOptions.SetBeforeHlslLegalization(true);
|
||||
|
||||
if (!opt.Run(spirv.data(), spirv.size(), &spirv, validatorOptions, false) )
|
||||
if (!opt.Run(
|
||||
spirv.data()
|
||||
, spirv.size()
|
||||
, &spirv
|
||||
, validatorOptions
|
||||
, false
|
||||
) )
|
||||
{
|
||||
compiled = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user