The GL spec says the 24-bit component is in the high bits, and
format_unpack.c looks at the high 24 bits in the S8Z24 case, not
Z24SS8.
Avoids a regression in the next commit.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
break;
case GL_UNSIGNED_INT_24_8:
if (format == GL_DEPTH_STENCIL)
- return MESA_FORMAT_Z24_UNORM_S8_UINT;
+ return MESA_FORMAT_S8_UINT_Z24_UNORM;
break;
case GL_FLOAT_32_UNSIGNED_INT_24_8_REV:
if (format == GL_DEPTH_STENCIL)