Files
godot-angle-static/extensions/ANGLE_shader_binary.txt
Mohan Maiya 1d9b8d802e Reland "Add support for glShaderBinary"
This is a reland of commit 228973e731
with the following fixes -

1. Apply patch from Yuly to fix chromium build errors
2. Fix ShaderBinaryTest instantiation call
3. Add ShaderBinaryTest to expectations file for IOS

Original change's description:
> Add support for glShaderBinary
>
> This patch adds the following -
> 1. ANGLE_shader_binary extension and GL_SHADER_BINARY_ANGLE token.
> 2. Compiler support to generate shader binaries.
> 3. Update compiler to use SH_SPIRV_VULKAN_OUTPUT as output type for
> Vulkan translator.
> 4. Support to load GL_SHADER_BINARY_ANGLE binaries.
> 5. end2end tests for glShaderBinary.
>
> Tests: ShaderBinaryTest*
> Bug: angleproject:7833
> Change-Id: I191d5ba7c4d5304696f5e743c851dc945fa57858
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4137306
> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
> Commit-Queue: mohan maiya <m.maiya@samsung.com>
> Reviewed-by: Charlie Lao <cclao@google.com>

Bug: angleproject:7833
Change-Id: I21135c52e2bae955342a99aff5631ba0e687eff1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4195852
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2023-01-27 00:27:14 +00:00

75 lines
1.1 KiB
Plaintext

Name
ANGLE_shader_binary
Name Strings
GL_ANGLE_shader_binary
Contributors
Jonah Taylor, Samsung
Mahmoud Kharsa, Samsung
Contacts
Mahmoud Kharsa, Samsung (m.kharsa 'at' samsung 'dot' com)
Notice
Copyright (c) 2023 The Khronos Group Inc. Copyright terms at
http://www.khronos.org/registry/speccopyright.html
Status
Draft.
Version
Version 1, January 03, 2023
Number
OpenGL ES Extension ###
Dependencies
OpenGL ES 2.0 is required.
Overview
This extension makes available a shader binary format, SHADER_BINARY_ANGLE.
It enables the loading of shader binaries pre-compiled with ANGLE.
New Types
None.
New Procedures and Functions
None.
New Tokens
Accepted by the <binaryFormat> parameter of ShaderBinary:
GL_SHADER_BINARY_ANGLE 0x96BB
Errors
An INVALID_VALUE is generated if the binary points to an incompatible
shader binary that was generated using a different version of ANGLE.
New State
None.
Issues
None.
Revision History
#1 - (January 03, 2023) Mahmoud Kharsa
Original draft