mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
anv: Remove unreachable cases from isl_format_for_size()
The dstOffset and fillSize parameters must be multiple of 4. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Cc: "17.1 17.2" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
15fdbf9c39
commit
14555d0b7a
1 changed files with 0 additions and 2 deletions
|
|
@ -531,8 +531,6 @@ static enum isl_format
|
|||
isl_format_for_size(unsigned size_B)
|
||||
{
|
||||
switch (size_B) {
|
||||
case 1: return ISL_FORMAT_R8_UINT;
|
||||
case 2: return ISL_FORMAT_R8G8_UINT;
|
||||
case 4: return ISL_FORMAT_R32_UINT;
|
||||
case 8: return ISL_FORMAT_R32G32_UINT;
|
||||
case 16: return ISL_FORMAT_R32G32B32A32_UINT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue