mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
ZoneCodeGenerator: Fix operationType tokens not being sorted by length so shorter tokens can be matched before longer ones
This commit is contained in:
@ -330,7 +330,7 @@ set count GfxPixelShaderLoadDef::program programSize;
|
||||
// MaterialShaderArgument
|
||||
use MaterialShaderArgument;
|
||||
//set condition u::literalConst type == MTL_ARG_LITERAL_VERTEX_CONST || type == MTL_ARG_LITERAL_PIXEL_CONST;
|
||||
//set condition u::literalConst type == 1 || type == 7;
|
||||
set condition u::literalConst type == 1 || type == 7;
|
||||
set reusable u::literalConst;
|
||||
set count u::literalConst 1;
|
||||
|
||||
|
Reference in New Issue
Block a user