mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 16:30:10 +01:00
nvfx: fix format support code for compressed texture
A source line was put in the wrong place.
This commit is contained in:
parent
e6ff995d14
commit
95acfd0c8a
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,6 @@ nvfx_screen_surface_format_supported(struct pipe_screen *pscreen,
|
|||
break;
|
||||
}
|
||||
} else {
|
||||
switch (format) {
|
||||
if (tex_usage & PIPE_BIND_SAMPLER_VIEW) {
|
||||
switch (format) {
|
||||
case PIPE_FORMAT_DXT1_RGB:
|
||||
|
|
@ -210,6 +209,7 @@ nvfx_screen_surface_format_supported(struct pipe_screen *pscreen,
|
|||
break;
|
||||
}
|
||||
}
|
||||
switch (format) {
|
||||
case PIPE_FORMAT_B8G8R8A8_UNORM:
|
||||
case PIPE_FORMAT_B8G8R8X8_UNORM:
|
||||
case PIPE_FORMAT_B5G5R5A1_UNORM:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue