Commit bedac4f0 by Shahbaz Youssefi Committed by Commit Bot

Move EXT_external_objects validation to validationESEXT.cpp

Bug: angleproject:4912 Bug: fuchsia:52759 Change-Id: I8883d65ecac763cf46d792cc69bce98dc53121d4 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2340174Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent e8789a53
......@@ -223,9 +223,9 @@ Samplers)
storage of the texture based on <createFlags> and <usageFlags> as the
corresonding VK_IMAGE_CREATE_* and VK_IMAGE_USAGE_* flags would have on
a Vulkan image respectively. See tables 8.17 and 8.18 for the mapping
between the GL and Vulkan flags. It is undefined behavior if the
application provides create and usage flags that are not identical to
those used to create the Vulkan image."
between the GL and Vulkan flags. It is undefined behavior if the
application provides create and usage flags that are not identical to
those used to create the Vulkan image."
Table 8.17: Create flags and corresponding Vulkan Image Create Flags
......@@ -298,7 +298,7 @@ Issues
RESOLVED: No. The application has already created an image with these
flags in Vulkan, so the GL implementation can assume they are valid.
Validating this is expensive and unnecessary in almost all applications.
Validating this is expensive and unnecessary in almost all applications.
Revision History
......
......@@ -174,6 +174,14 @@ bool ValidateES2TexImageParametersBase(const Context *context,
GLsizei imageSize,
const void *pixels);
// Validation of TexStorage*2DEXT
bool ValidateES2TexStorageParametersBase(const Context *context,
TextureType target,
GLsizei levels,
GLenum internalformat,
GLsizei width,
GLsizei height);
} // namespace gl
#endif // LIBANGLE_VALIDATION_ES2_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment