metal: avoid redundant resource binding calls.

This commit is contained in:
Alex Szpakowski
2021-04-03 13:49:29 -03:00
parent 4ddb7e2cf7
commit 8c88d645a3
6 changed files with 128 additions and 71 deletions
+2 -2
View File
@@ -80,8 +80,8 @@ public:
bool isMainTexture;
uint8 texturestages[ShaderStage::STAGE_MAX_ENUM];
uint8 samplerstages[ShaderStage::STAGE_MAX_ENUM];
uint8 textureStages[ShaderStage::STAGE_MAX_ENUM];
uint8 samplerStages[ShaderStage::STAGE_MAX_ENUM];
};
struct BufferBinding