Compressed GL texture formats are always implicitly filterable

* So never fail texture completeness because of that rule.
This commit is contained in:
baldurk
2020-01-06 13:29:13 +00:00
parent a9a2c3e359
commit 77b6b627da
+4
View File
@@ -987,6 +987,10 @@ rdcstr GetTextureCompleteStatus(GLenum target, GLuint tex, GLuint sampler)
// if we have a linear filter, check for non-filterable formats
if(!ret.isEmpty())
{
// all compressed formats are filterable
if(IsCompressedFormat(levelBaseFormat))
return rdcstr();
// [RULE_13]
if(IsUIntFormat(levelBaseFormat) || IsSIntFormat(levelBaseFormat))
{