Descriptors now work in metal hopefully

This commit is contained in:
Dynamitos
2024-09-16 13:00:53 +02:00
parent 49e94d3b74
commit 6417ab940d
45 changed files with 435 additions and 476 deletions
+2 -1
View File
@@ -68,7 +68,7 @@ struct SamplerCreateInfo {
Gfx::SeSamplerAddressMode addressModeW = Gfx::SE_SAMPLER_ADDRESS_MODE_REPEAT;
float mipLodBias = 0.0f;
uint32 anisotropyEnable = 0;
float maxAnisotropy = 0.0f;
float maxAnisotropy = 1.0f;
uint32 compareEnable = 0;
Gfx::SeCompareOp compareOp = Gfx::SE_COMPARE_OP_NEVER;
float minLod = 0.0f;
@@ -138,6 +138,7 @@ struct SePushConstantRange {
SeShaderStageFlags stageFlags;
uint32 offset;
uint32 size;
std::string name;
};
struct RasterizationState {
uint32 depthClampEnable = 0;