ext_external_objects: add mutable flag bit to external images

Graphics / Mesa 3D Graphics Library / Piglit - Eleni Maria Stea [gmail.com] - 5 February 2021 18:32 UTC

Added VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT at image creation. According to issue 17 of EXT_external_objects:

Vulkan applications will be required to set the mutable format bit when creating an image that will alias with an OpenGL texture on an OpenGL implementation that supports ARB_texture_view, OES_texture_view, EXT_texture_view, or OpenGL 4.3 and above.

6566714d2 ext_external_objects: add mutable flag bit to external images
tests/spec/ext_external_objects/vk.c | 6 ++++++
1 file changed, 6 insertions(+)

Upstream: cgit.freedesktop.org


  • Share