projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
091f1da
)
anv/image: Create a linear image when requested
author
Nanley Chery
<nanley.g.chery@intel.com>
Wed, 2 Mar 2016 17:44:48 +0000
(09:44 -0800)
committer
Nanley Chery
<nanley.g.chery@intel.com>
Thu, 3 Mar 2016 19:24:17 +0000
(11:24 -0800)
If a linear image is requested, the only possible result should be a
linearly-tiled surface.
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/intel/vulkan/anv_image.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_image.c
b/src/intel/vulkan/anv_image.c
index 46cf24134689424cd2bee4683cb650e7b51fb223..dc1ea9c80ccee3b4e35c0ef8f1532e1e1e981cdc 100644
(file)
--- a/
src/intel/vulkan/anv_image.c
+++ b/
src/intel/vulkan/anv_image.c
@@
-120,7
+120,7
@@
make_surface(const struct anv_device *dev,
isl_tiling_flags_t tiling_flags = anv_info->isl_tiling_flags;
if (vk_info->tiling == VK_IMAGE_TILING_LINEAR)
- tiling_flags
&
= ISL_TILING_LINEAR_BIT;
+ tiling_flags = ISL_TILING_LINEAR_BIT;
struct anv_surface *anv_surf = get_surface(image, aspect);