mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 05:10:17 +01:00
r600g: fix depth texture tests
This commit is contained in:
parent
f32d3df8ab
commit
e8ff0f63b6
1 changed files with 2 additions and 2 deletions
|
|
@ -455,6 +455,8 @@ uint32_t r600_translate_texformat(enum pipe_format format,
|
|||
};
|
||||
desc = util_format_description(format);
|
||||
|
||||
word4 |= r600_get_swizzle_combined(desc->swizzle, swizzle_view);
|
||||
|
||||
/* Colorspace (return non-RGB formats directly). */
|
||||
switch (desc->colorspace) {
|
||||
/* Depth stencil formats */
|
||||
|
|
@ -493,8 +495,6 @@ uint32_t r600_translate_texformat(enum pipe_format format,
|
|||
break;
|
||||
}
|
||||
|
||||
word4 |= r600_get_swizzle_combined(desc->swizzle, swizzle_view);
|
||||
|
||||
/* S3TC formats. TODO */
|
||||
if (desc->layout == UTIL_FORMAT_LAYOUT_S3TC) {
|
||||
goto out_unknown;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue