1Name 2 3 ARM_mali_shader_binary 4 5Name Strings 6 7 GL_ARM_mali_shader_binary 8 9Contributors 10 11 Aske Simon Christensen, ARM 12 Erik Faye-Lund, ARM 13 Bruce Merry, ARM 14 15Contact 16 17 Jan-Harald Fredriksen (jan-harald.fredriksen 'at' arm.com) 18 19Status 20 21 Shipping 22 23Version 24 25 Last Modified Date: January 5, 2011 26 27Number 28 29 OpenGL ES Extension #81 30 31Dependencies 32 33 OpenGL ES 2.0 is required. 34 35 Written based on the wording of the OpenGL ES 2.0 specification. 36 37Overview 38 39 This extension enables OpenGL ES 2.0 applications running on ARM 40 Mali graphics cores to use shaders precompiled with the Mali ESSL 41 shader compiler. 42 43 The shader objects loaded with this extension are equivalent to 44 shaders created from source, i.e. there are no additional 45 restrictions on which other shader objects they can be linked to, 46 nor on which OpenGL ES states they can be used with. 47 48Issues 49 50 None 51 52New Procedures and Functions 53 54 None 55 56New Tokens 57 58 Accepted by the <binaryFormat> parameter of ShaderBinary: 59 60 MALI_SHADER_BINARY_ARM 0x8F60 61 62Additions to Chapter 2 of the OpenGL ES 2.0 Specification 63 64 At the end of section 2.10.2 (Loading Shader Binaries), add: 65 66 "Any shader object passed to the ShaderBinary function with 67 a <binaryFormat> of MALI_SHADER_BINARY_ARM will have its information 68 log overwritten with information about the loading process." 69 70Errors 71 72 An INVALID_VALUE error is generated if the <binary> parameter points 73 to an invalid binary stream that is either not appropriate for the 74 core version (or core revision) or produced by an incompatible or 75 outdated version of the Mali ESSL compiler or with inappropriate 76 compiler options. 77 78New State 79 80 None 81 82New Implementation Dependent State 83 84 None 85 86 87Revision History 88 89 #1 08/27/2008 Erik Faye-Lund First draft. 90 #2 09/04/2008 Aske Simon Christensen Actual enum value. 91 Some adjustments. 92 Mention shader info log. 93 #3 09/05/2008 Aske Simon Christensen Error and log behavior. 94 #4 15/07/2010 Bruce Merry Change status. 95 Change contact. 96 Clarify that shader log is 97 only overwritten when using 98 MALI_SHADER_BINARY_FORMAT_ARM. 99 #5 05/01/2011 Jan-Harald Fredriksen Fixed typos. 100