projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15fdbf9
)
anv: Remove unreachable cases from isl_format_for_size()
author
Józef Kucia
<joseph.kucia@gmail.com>
Mon, 2 Oct 2017 17:58:51 +0000
(19:58 +0200)
committer
Lionel Landwerlin
<lionel.g.landwerlin@intel.com>
Mon, 2 Oct 2017 23:43:06 +0000
(
00:43
+0100)
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>
src/intel/vulkan/anv_blorp.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_blorp.c
b/src/intel/vulkan/anv_blorp.c
index a8ebdb384c3cba6bfbccf189a8028f515c6bec9a..8dead1d87a847e25ba04f9d63d89169e050874f8 100644
(file)
--- 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;