projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46bcf9d
)
anv/image: Drop unused halign, valign lookup tables
author
Chad Versace
<chad.versace@intel.com>
Tue, 8 Dec 2015 23:22:47 +0000
(15:22 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Wed, 9 Dec 2015 23:36:39 +0000
(15:36 -0800)
src/vulkan/anv_image.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_image.c
b/src/vulkan/anv_image.c
index 1205babef071a839d72d6f92b2c4ca6e9cba7252..6aa6b5a32b55d71480b66627e445442ba32209f3 100644
(file)
--- a/
src/vulkan/anv_image.c
+++ b/
src/vulkan/anv_image.c
@@
-40,18
+40,6
@@
struct anv_image_view_info {
bool is_cube:1; /**< RENDER_SURFACE_STATE.CubeFaceEnable* */
};
-static const uint8_t anv_halign[] = {
- [4] = HALIGN4,
- [8] = HALIGN8,
- [16] = HALIGN16,
-};
-
-static const uint8_t anv_valign[] = {
- [4] = VALIGN4,
- [8] = VALIGN8,
- [16] = VALIGN16,
-};
-
static const uint8_t anv_surf_type_from_image_type[] = {
[VK_IMAGE_TYPE_1D] = SURFTYPE_1D,
[VK_IMAGE_TYPE_2D] = SURFTYPE_2D,