mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
iris: reenable R32G32B32 texture buffers
This dropped us from GL 4.2 to GL 3.3 by mistake. Thanks to Dave for catching this!
This commit is contained in:
parent
367f6bbd01
commit
d1cb4b330a
1 changed files with 4 additions and 1 deletions
|
|
@ -482,8 +482,11 @@ iris_is_format_supported(struct pipe_screen *pscreen,
|
|||
* 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.
|
||||
*
|
||||
* We do need to advertise 32-bit RGB for texture buffers though.
|
||||
*/
|
||||
supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96;
|
||||
supported &= fmtl->bpb != 24 && fmtl->bpb != 48 &&
|
||||
(fmtl->bpb != 96 || target == PIPE_BUFFER);
|
||||
}
|
||||
|
||||
if (usage & PIPE_BIND_VERTEX_BUFFER)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue