15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci ARM_mali_shader_binary 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_ARM_mali_shader_binary 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciContributors 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci Aske Simon Christensen, ARM 125bd8deadSopenharmony_ci Erik Faye-Lund, ARM 135bd8deadSopenharmony_ci Bruce Merry, ARM 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ciContact 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ci Jan-Harald Fredriksen (jan-harald.fredriksen 'at' arm.com) 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ciStatus 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ci Shipping 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ciVersion 245bd8deadSopenharmony_ci 255bd8deadSopenharmony_ci Last Modified Date: January 5, 2011 265bd8deadSopenharmony_ci 275bd8deadSopenharmony_ciNumber 285bd8deadSopenharmony_ci 295bd8deadSopenharmony_ci OpenGL ES Extension #81 305bd8deadSopenharmony_ci 315bd8deadSopenharmony_ciDependencies 325bd8deadSopenharmony_ci 335bd8deadSopenharmony_ci OpenGL ES 2.0 is required. 345bd8deadSopenharmony_ci 355bd8deadSopenharmony_ci Written based on the wording of the OpenGL ES 2.0 specification. 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ciOverview 385bd8deadSopenharmony_ci 395bd8deadSopenharmony_ci This extension enables OpenGL ES 2.0 applications running on ARM 405bd8deadSopenharmony_ci Mali graphics cores to use shaders precompiled with the Mali ESSL 415bd8deadSopenharmony_ci shader compiler. 425bd8deadSopenharmony_ci 435bd8deadSopenharmony_ci The shader objects loaded with this extension are equivalent to 445bd8deadSopenharmony_ci shaders created from source, i.e. there are no additional 455bd8deadSopenharmony_ci restrictions on which other shader objects they can be linked to, 465bd8deadSopenharmony_ci nor on which OpenGL ES states they can be used with. 475bd8deadSopenharmony_ci 485bd8deadSopenharmony_ciIssues 495bd8deadSopenharmony_ci 505bd8deadSopenharmony_ci None 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ciNew Procedures and Functions 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ci None 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ciNew Tokens 575bd8deadSopenharmony_ci 585bd8deadSopenharmony_ci Accepted by the <binaryFormat> parameter of ShaderBinary: 595bd8deadSopenharmony_ci 605bd8deadSopenharmony_ci MALI_SHADER_BINARY_ARM 0x8F60 615bd8deadSopenharmony_ci 625bd8deadSopenharmony_ciAdditions to Chapter 2 of the OpenGL ES 2.0 Specification 635bd8deadSopenharmony_ci 645bd8deadSopenharmony_ci At the end of section 2.10.2 (Loading Shader Binaries), add: 655bd8deadSopenharmony_ci 665bd8deadSopenharmony_ci "Any shader object passed to the ShaderBinary function with 675bd8deadSopenharmony_ci a <binaryFormat> of MALI_SHADER_BINARY_ARM will have its information 685bd8deadSopenharmony_ci log overwritten with information about the loading process." 695bd8deadSopenharmony_ci 705bd8deadSopenharmony_ciErrors 715bd8deadSopenharmony_ci 725bd8deadSopenharmony_ci An INVALID_VALUE error is generated if the <binary> parameter points 735bd8deadSopenharmony_ci to an invalid binary stream that is either not appropriate for the 745bd8deadSopenharmony_ci core version (or core revision) or produced by an incompatible or 755bd8deadSopenharmony_ci outdated version of the Mali ESSL compiler or with inappropriate 765bd8deadSopenharmony_ci compiler options. 775bd8deadSopenharmony_ci 785bd8deadSopenharmony_ciNew State 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ci None 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ciNew Implementation Dependent State 835bd8deadSopenharmony_ci 845bd8deadSopenharmony_ci None 855bd8deadSopenharmony_ci 865bd8deadSopenharmony_ci 875bd8deadSopenharmony_ciRevision History 885bd8deadSopenharmony_ci 895bd8deadSopenharmony_ci #1 08/27/2008 Erik Faye-Lund First draft. 905bd8deadSopenharmony_ci #2 09/04/2008 Aske Simon Christensen Actual enum value. 915bd8deadSopenharmony_ci Some adjustments. 925bd8deadSopenharmony_ci Mention shader info log. 935bd8deadSopenharmony_ci #3 09/05/2008 Aske Simon Christensen Error and log behavior. 945bd8deadSopenharmony_ci #4 15/07/2010 Bruce Merry Change status. 955bd8deadSopenharmony_ci Change contact. 965bd8deadSopenharmony_ci Clarify that shader log is 975bd8deadSopenharmony_ci only overwritten when using 985bd8deadSopenharmony_ci MALI_SHADER_BINARY_FORMAT_ARM. 995bd8deadSopenharmony_ci #5 05/01/2011 Jan-Harald Fredriksen Fixed typos. 100