diff options
author | Tomeu Vizoso <[email protected]> | 2018-06-22 15:59:09 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2018-07-02 09:33:41 +0200 |
commit | 71867a0a61cea20bf3f6115692e70b0d60f0b70d (patch) | |
tree | bf46ad8881e8fef298f54e19c76e08ed19d818b1 /scripts | |
parent | e5604ef78bd56fc136f00ee39003e3996bf23c80 (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 'scripts')
0 files changed, 0 insertions, 0 deletions