Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
GLuint translate_tex_format(struct intel_context *intel,
gl_format mesa_format,
- GLenum internal_format,
GLenum depth_mode,
GLenum srgb_decode);
GLuint
translate_tex_format(struct intel_context *intel,
gl_format mesa_format,
- GLenum internal_format,
GLenum depth_mode,
GLenum srgb_decode)
{
BRW_SURFACE_CUBEFACE_ENABLES |
(translate_tex_format(intel,
mt->format,
- firstImage->InternalFormat,
tObj->DepthMode,
sampler->sRGBDecode) <<
BRW_SURFACE_FORMAT_SHIFT));
uint32_t tex_format = translate_tex_format(intel,
mt->format,
- firstImage->InternalFormat,
tObj->DepthMode,
sampler->sRGBDecode);