fix(shader): omit sRGB variants for comparisons
This commit is contained in:
parent
82c04e4027
commit
a0e3d2098d
|
|
@ -735,7 +735,7 @@ std::vector<ImageResource> ResourceMaterializer::RuntimeImageModes(const ImageRe
|
|||
modes.push_back(mode);
|
||||
}
|
||||
}
|
||||
if (image.srgbDecodeFormats != 0u && (image.srgbDecodeCompatible || image.depthCompare) && !storage && !image.packed) {
|
||||
if (image.srgbDecodeFormats != 0u && image.srgbDecodeCompatible && !image.depthCompare && !storage && !image.packed) {
|
||||
const auto count = modes.size();
|
||||
for (std::size_t index = 0; index < count; ++index) {
|
||||
const auto& base = modes[index];
|
||||
|
|
|
|||
Loading…
Reference in New Issue