mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-14 07:41:27 +00:00
ZoneCodeGenerator: Make static operands able to have the value of an enum entry
This commit is contained in:
1 parent
31b279c1e6
commit
5f0f73838f
3 files changed
+22
-2
No files matched your search
@@ -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