OSDN Git Service

anv: Suffix anv-private 'VK' tokens with 'ANV'
authorChad Versace <chadversary@chromium.org>
Thu, 2 Nov 2017 23:05:45 +0000 (16:05 -0700)
committerChad Versace <chadversary@chromium.org>
Tue, 7 Nov 2017 17:06:41 +0000 (09:06 -0800)
commit3ea37d0a2aa33a37b292b82e83526361f71ffd7e
tree00e9039b0b844a372afcfb20898e928874fb7727
parent012b54c6b108542787ac6ca0790c78744311f576
anv: Suffix anv-private 'VK' tokens with 'ANV'

I saw VK_IMAGE_ASPECT_ANY_COLOR_BIT while hacking anv_formats.c and got
confused. "Huh? What extension added that?". No extension defines it;
anv_private.h defines it.

To remove confusion, rename the anv-private VK tokens as if they were
extension tokens with the ANV vendor suffix.

I found only two such tokens:

    VK_IMAGE_ASPECT_ANY_COLOR_BIT
    VK_IMAGE_ASPECT_PLANES_BITS

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/anv_formats.c
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c