mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
ZoneCodeGenerator: Make static operands able to have the value of an enum entry
This commit is contained in:
@ -329,8 +329,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 == MTL_ARG_LITERAL_VERTEX_CONST || type == MTL_ARG_LITERAL_PIXEL_CONST;
|
||||
set reusable u::literalConst;
|
||||
set count u::literalConst 1;
|
||||
|
||||
|
Reference in New Issue
Block a user