xgl: Add IMAGE_LAYOUT to Cmd*Image* calls
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 25 Mar 2015 17:25:10 +0000 (11:25 -0600)
committerChia-I Wu <olv@lunarg.com>
Thu, 16 Apr 2015 09:33:26 +0000 (17:33 +0800)
commita9d2c82b15fd61d1c7d5f66daf9e86430ca47e59
tree515bbda8bf8419bb3827d0dce05d66dcf0c187ec
parent3b61a59fa5b661372d22046d207f19a7e11ade95
xgl: Add IMAGE_LAYOUT to Cmd*Image* calls

This is part 2 of bug #12904.
(2) Blit operations need to know what layout images are in. How do they figure that out?

- Added new parameter(s) specifying the image layout(s) to the following functions:
    xglCmdCopyImage
    xglCmdCopyBufferToImage
    xglCmdCopyImageToBuffer
    xglCmdClearColorImage
    xglCmdClearColorImageRaw
    xglCmdClearDepthStencilImage
    xglCmdResolveImage
layers/glave_snapshot.c