1Name 2 3 NV_platform_binary 4 5Name Strings 6 7 GL_NV_platform_binary 8 9Contact 10 11 Acorn Pooley, NVIDIA Corporation (apooley 'at' nvidia.com) 12 13Contributors 14 15 Antoine Chauveau 16 17Status 18 19 Complete. 20 21Version 22 23 Last Modified Date: April 27, 2010 24 Revision: #1 25 26Number 27 28 OpenGL ES Extension #131 29 30Dependencies 31 32 OpenGL ES 2.0 is required. 33 34 Written based on the wording of the OpenGL ES 2.0 specification. 35 36Overview 37 38 NVIDIA's SDK contains an offline shader compiler. This extension provides 39 a binary format to allow loading the resulting shader binaries into 40 OpenGL ES. 41 42New Procedures and Functions 43 44 None. 45 46New Tokens 47 48 Accepted by the <binaryFormat> parameter of ShaderBinary: 49 50 NVIDIA_PLATFORM_BINARY_NV 0x890B 51 52Additions to Chapter 2 of the OpenGL ES 2.0 Specification (OpenGL Operation) 53 54 Add the following paragraph to the end of section 2.10.2: 55 56 "NVIDIA_PLATFORM_BINARY_NV is returned when querying the list of 57 SHADER_BINARY_FORMATS. 58 59 Pre-compiled shader binaries in this format may be loaded via ShaderBinary. 60 A binary in NVIDIA_PLATFORM_BINARY_NV format encodes a single vertex or 61 fragment shader. 62 63 When a binary fails to load, an INVALID_VALUE error is generated and a 64 more detailed error message is appended to the shader's info log." 65 66Errors 67 68 INVALID_VALUE is generated if the <n> parameter to ShaderBinary is not 1. 69 70 INVALID_VALUE is generated if the <binary> parameter to ShaderBinary was 71 produced with an incompatible version of the NVIDIA shader compiler. 72 73 74New State 75 76 None. 77 78Revision History 79 80 #01 04/27/2010 Antoine Chauveau First draft. 81 82