diff options
author | Józef Kucia <[email protected]> | 2017-10-02 19:58:51 +0200 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-10-03 00:43:06 +0100 |
commit | 14555d0b7a51bd3701764fd213c2459410143431 (patch) | |
tree | aea542599258c4f787fa93ecbf2d517cdbe1c5fc /src | |
parent | 15fdbf9c39105aaaae05c59a1a315b1775ac5d79 (diff) |
anv: Remove unreachable cases from isl_format_for_size()
The dstOffset and fillSize parameters must be multiple of 4.
Reviewed-by: Lionel Landwerlin <[email protected]
Reviewed-by: Jason Ekstrand <[email protected]>
Cc: "17.1 17.2" <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/anv_blorp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index a8ebdb384c3..8dead1d87a8 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -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; |