mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-15 22:40:50 +00:00
Compressed GL texture formats are always implicitly filterable
* So never fail texture completeness because of that rule.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user