diff options
author | Kenneth Graunke <[email protected]> | 2019-02-22 01:16:41 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-25 00:57:42 -0800 |
commit | 6921588d549af2408bb621a7569d832bb4639a56 (patch) | |
tree | 4a1a203b80ac539d5cf678209b0ffefd16556110 /src/mesa/.gitignore | |
parent | da9c0307637b630a8178a8169ee5ede108a77a81 (diff) |
mesa: Fix RGBBuffers for renderbuffers with sized internal formats
For texture attachments, 'f' is texImg->_BaseFormat, but for
renderbuffer attachments, 'f' is att->Renderbuffer->InternalFormat.
InternalFormat may be something like GL_RGB8, which causes our
(f == GL_RGB) check to fail. Switch to using a proper _BaseFormat,
which drops the size.
Fixes dEQP-GLES31.functional.draw_buffers_indexed.random.
max_required_draw_buffers.15 on iris when combined with a driver fix.
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Diffstat (limited to 'src/mesa/.gitignore')
0 files changed, 0 insertions, 0 deletions