summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2018-06-22 15:59:09 +0200
committerGert Wollny <[email protected]>2018-07-02 09:33:41 +0200
commit71867a0a61cea20bf3f6115692e70b0d60f0b70d (patch)
treebf46ad8881e8fef298f54e19c76e08ed19d818b1 /autogen.sh
parente5604ef78bd56fc136f00ee39003e3996bf23c80 (diff)
st/mesa: Fall back to R8G8B8A8_SRGB for ETC2
If the driver doesn't support PIPE_FORMAT_B8G8R8A8_SRGB, fall back to PIPE_FORMAT_R8G8B8A8_SRGB. Drivers such as Virgl will have a hard time supporting PIPE_FORMAT_B8G8R8A8_SRGB when the host runs GLES, as GL_BGRA isn't as well suported there. So go with PIPE_FORMAT_R8G8B8A8_SRGB so these drivers can avoid a conversion copy. v2: Fix typo in commit message Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions