diff options
author | Kenneth Graunke <[email protected]> | 2018-08-14 15:50:42 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:08 -0800 |
commit | bce7398646dc0c2332d14809a229334d86d9be12 (patch) | |
tree | 4ab33737245e5987237ec4b61d5507789cd51132 /src/gallium/drivers/iris | |
parent | ea19d359ccfff6db0aef0a234e90d6855e094ab8 (diff) |
iris: disallow RGB32 formats too
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r-- | src/gallium/drivers/iris/iris_formats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_formats.c b/src/gallium/drivers/iris/iris_formats.c index 06c48a5583b..8b1c9650d35 100644 --- a/src/gallium/drivers/iris/iris_formats.c +++ b/src/gallium/drivers/iris/iris_formats.c @@ -479,12 +479,12 @@ iris_is_format_supported(struct pipe_screen *pscreen, if (!is_integer) supported &= isl_format_supports_filtering(devinfo, format); - /* Don't advertise 8 and 16-bit RGB formats. This ensures that they + /* Don't advertise 3-component RGB formats. This ensures that they * are renderable from an API perspective since the state tracker will * fall back to RGBA or RGBX, which are renderable. We want to render * internally for copies and blits, even if the application doesn't. */ - supported &= fmtl->bpb != 8 * 3 && fmtl->bpb != 8 * 6; + supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; } if (usage & PIPE_BIND_VERTEX_BUFFER) |