summaryrefslogtreecommitdiffstats
path: root/docs/autoconf.html
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2015-11-24 16:15:20 +0100
committerNeil Roberts <[email protected]>2015-12-10 11:03:49 +0000
commite1a16b901b401efd94b452a9c4c641259e669a47 (patch)
treee4849f90b86a2ac16a59a34b7849deb25e8a8747 /docs/autoconf.html
parent83e8e07a2b1d15285b35adab6634eeba64371103 (diff)
i965/gen9/fast-clear: Handle linear→SRGB conversion
If GL_FRAMEBUFFER_SRGB is enabled when writing to an SRGB-capable framebuffer then the color will be converted from linear to SRGB before being written. There is no chance for the hardware to do this itself because it can't modify the clear color that is programmed in the surface state so it seems pretty clear that the driver should be handling this itself. Note that this wasn't a problem before Gen9 because previously we were only able to do fast clears to 0 or 1 and those values are the same in linear and SRGB space. Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'docs/autoconf.html')
0 files changed, 0 insertions, 0 deletions