projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7d3a5d
)
vk/image: Don't set anv_surface_view::offset twice
author
Chad Versace
<chad.versace@intel.com>
Tue, 18 Aug 2015 18:30:38 +0000
(11:30 -0700)
committer
Chad Versace
<chad.versace@intel.com>
Tue, 18 Aug 2015 18:48:50 +0000
(11:48 -0700)
It was set twice a few lines apart, and the second setting always
overrode the first.
src/vulkan/anv_image.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_image.c
b/src/vulkan/anv_image.c
index 0152fef9ffb57725ff0e907b199cae86925cf870..f24acdb0facd26e87e2c375e9b12b72d3f6239b1 100644
(file)
--- a/
src/vulkan/anv_image.c
+++ b/
src/vulkan/anv_image.c
@@
-354,7
+354,6
@@
anv_image_view_init(struct anv_image_view *iview,
break;
case VK_IMAGE_ASPECT_DEPTH:
case VK_IMAGE_ASPECT_COLOR:
- view->offset = image->offset;
surface = &image->primary_surface;
break;
default: