mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
st/mesa: add missing MESA_FORMAT_S8 case in st_mesa_format_to_pipe_format()
NOTE: this is a candidate for the 7.9 branch.
This commit is contained in:
parent
9f7c8053e0
commit
10dcc989ab
1 changed files with 2 additions and 0 deletions
|
|
@ -166,6 +166,8 @@ st_mesa_format_to_pipe_format(gl_format mesaFormat)
|
|||
return PIPE_FORMAT_X8Z24_UNORM;
|
||||
case MESA_FORMAT_X8_Z24:
|
||||
return PIPE_FORMAT_Z24X8_UNORM;
|
||||
case MESA_FORMAT_S8:
|
||||
return PIPE_FORMAT_S8_USCALED;
|
||||
case MESA_FORMAT_YCBCR:
|
||||
return PIPE_FORMAT_UYVY;
|
||||
#if FEATURE_texture_s3tc
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue