diff options
author | Nanley Chery <nanley.g.chery@intel.com> | 2016-03-22 10:53:37 -0700 |
---|---|---|
committer | Nanley Chery <nanley.g.chery@intel.com> | 2016-03-24 16:15:00 -0700 |
commit | a5dc3c0f02aa523d1d3d123b62b9a187821079fe (patch) | |
tree | 36c486b5d659ebdbbaa96694ecabecf21770ff8c /src/gallium/auxiliary/draw/draw_pipe_aaline.c | |
parent | 20417b2cb05ff0f710eb6b6fbd9299ba915f8fc1 (diff) | |
download | external_mesa3d-a5dc3c0f02aa523d1d3d123b62b9a187821079fe.zip external_mesa3d-a5dc3c0f02aa523d1d3d123b62b9a187821079fe.tar.gz external_mesa3d-a5dc3c0f02aa523d1d3d123b62b9a187821079fe.tar.bz2 |
anv: Sanitize Image extents and offsets
Prepare Image extents and offsets for internal consumption by assigning
the default values implicitly defned by the spec. Fixes textures on
several Vulkan demos in which the VkImageCopy depth is set to zero when
copying a 2D image.
v2 (Jason Ekstrand):
Replace "prep" with "sanitize"
Make function static inline
Pass structs instead of pointers
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_aaline.c')
0 files changed, 0 insertions, 0 deletions