vulkan: properly implement samplers

This commit is contained in:
niki
2022-08-01 18:51:09 +02:00
parent 7bbc2888e2
commit dcea056fcb
8 changed files with 142 additions and 38 deletions
+4
View File
@@ -139,6 +139,10 @@ struct SamplerState
static bool getConstant(const char *in, WrapMode &out);
static bool getConstant(WrapMode in, const char *&out);
static std::vector<std::string> getConstants(WrapMode);
bool operator==(const SamplerState& other) const {
return memcmp(this, &other, sizeof(SamplerState)) == 0;
}
};
/**