-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
Description
Describe the bug
When enabling any of the BGFX_RESET_MSAA_* flags, the colours appear brighter than they should be. This only seems to affect the OpenGL backend, I can run Vulkan with MSAA just fine.
Captured frames in RenderDoc show the backbuffer colours are correct if the "gamma display of linear data" override is enabled. Maybe it's an issue with framebuffer sRGB?
To Reproduce
- Run
example-09-hdr --gl - Press F8 to turn on MSAA
Expected behavior
Colours don't change when MSAA is enabled.
Screenshots
MSAA off:

MSAA on:

Additional context
OS: Ubuntu 22.04
Output of glxinfo -B:
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) Graphics (RPL-P) (0xa7a0)
Version: 23.2.1
Accelerated: yes
Video memory: 31780MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (RPL-P)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.3
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.1-1ubuntu3.1~22.04.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20