1Name 2 QCOM_YUV_texture_gather 3 4Name Strings 5 6 GL_QCOM_YUV_texture_gather 7 8Contact 9 10 Jeff Leger ( jleger 'at' qti.qualcomm.com) 11 12Contributors 13 14 Jeff Leger, Qualcomm 15 16 17Status 18 19 Complete 20 21Version 22 23 Last Modified Date: May 13,2019 24 Revision: 2 25 26Number 27 28 OpenGL ES Extension #307 29 30 31Dependencies 32 33 Requires OpenGL ES 3.0 34 Requires EXT_YUV_target 35 Requires EXT_gpu_shader5 36 37 38Overview 39 40 Extension EXT_gpu_shader5 introduced the texture gather built-in functions. 41 Extension EXT_YUV_target adds the ability to sample from YUV textures, but 42 does not include gather functions. This extension allows gather function 43 to be used in combination with the YUV textures exposed in EXT_YUV_target. 44 45IP Status 46 47 No known IP claims. 48 49New Procedures and Functions 50 51 None 52 53New Tokens 54 55 None 56 57Modifications to The OpenGL ES Shading Language Specification, Version 3.00, 58dated 29 January 2016. 59 60 Including the following line in a shader can be used to control the 61 language features described in this extension: 62 63 #extension GL_QCOM_YUV_texture_gather : <behavior> 64 65 where <behavior> is as specified in section 3.4. 66 67 A new preprocessor #define is added to the OpenGL ES Shading Language: 68 69 #define GL_QCOM_YUV_texture_gather 1 70 71 72 Add to the list of texture gather functions as introduced with EXT_gpu_shader5 73 and core functionality in ESSL 3.1 the following additional function: 74 75 vec4 textureGather(__samplerExternal2DY2YEXT sampler, vec2 P [, int comp] ) 76 77Errors 78 79 None. 80 81New State 82 83 None. 84 85New Implementation Dependent State 86 87 None 88 89Issues 90 91 None. 92 93Revision History 94 95 Rev. Date Author Changes 96 ---- ---------- -------- ----------------------------------------- 97 1 2018-10-18 jleger initial version 98 2 2019-05-13 jleger prepend "GL_" to QCOM_YUV_texture_gather 99