mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 15:50:32 +01:00
radv: remove extra instructions after UNREACHABLE
Minor cleanups. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39237>
This commit is contained in:
parent
e1e2517664
commit
db02077c8a
1 changed files with 0 additions and 4 deletions
|
|
@ -33,9 +33,7 @@ radv_tex_wrap(VkSamplerAddressMode address_mode)
|
|||
return V_008F30_SQ_TEX_MIRROR_ONCE_LAST_TEXEL;
|
||||
default:
|
||||
UNREACHABLE("illegal tex wrap mode");
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static unsigned
|
||||
|
|
@ -60,9 +58,7 @@ radv_tex_compare(VkCompareOp op)
|
|||
return V_008F30_SQ_TEX_DEPTH_COMPARE_ALWAYS;
|
||||
default:
|
||||
UNREACHABLE("illegal compare mode");
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static unsigned
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue