15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci QCOM_YUV_texture_gather 35bd8deadSopenharmony_ci 45bd8deadSopenharmony_ciName Strings 55bd8deadSopenharmony_ci 65bd8deadSopenharmony_ci GL_QCOM_YUV_texture_gather 75bd8deadSopenharmony_ci 85bd8deadSopenharmony_ciContact 95bd8deadSopenharmony_ci 105bd8deadSopenharmony_ci Jeff Leger ( jleger 'at' qti.qualcomm.com) 115bd8deadSopenharmony_ci 125bd8deadSopenharmony_ciContributors 135bd8deadSopenharmony_ci 145bd8deadSopenharmony_ci Jeff Leger, Qualcomm 155bd8deadSopenharmony_ci 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ciStatus 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ci Complete 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ciVersion 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ci Last Modified Date: May 13,2019 245bd8deadSopenharmony_ci Revision: 2 255bd8deadSopenharmony_ci 265bd8deadSopenharmony_ciNumber 275bd8deadSopenharmony_ci 285bd8deadSopenharmony_ci OpenGL ES Extension #307 295bd8deadSopenharmony_ci 305bd8deadSopenharmony_ci 315bd8deadSopenharmony_ciDependencies 325bd8deadSopenharmony_ci 335bd8deadSopenharmony_ci Requires OpenGL ES 3.0 345bd8deadSopenharmony_ci Requires EXT_YUV_target 355bd8deadSopenharmony_ci Requires EXT_gpu_shader5 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ci 385bd8deadSopenharmony_ciOverview 395bd8deadSopenharmony_ci 405bd8deadSopenharmony_ci Extension EXT_gpu_shader5 introduced the texture gather built-in functions. 415bd8deadSopenharmony_ci Extension EXT_YUV_target adds the ability to sample from YUV textures, but 425bd8deadSopenharmony_ci does not include gather functions. This extension allows gather function 435bd8deadSopenharmony_ci to be used in combination with the YUV textures exposed in EXT_YUV_target. 445bd8deadSopenharmony_ci 455bd8deadSopenharmony_ciIP Status 465bd8deadSopenharmony_ci 475bd8deadSopenharmony_ci No known IP claims. 485bd8deadSopenharmony_ci 495bd8deadSopenharmony_ciNew Procedures and Functions 505bd8deadSopenharmony_ci 515bd8deadSopenharmony_ci None 525bd8deadSopenharmony_ci 535bd8deadSopenharmony_ciNew Tokens 545bd8deadSopenharmony_ci 555bd8deadSopenharmony_ci None 565bd8deadSopenharmony_ci 575bd8deadSopenharmony_ciModifications to The OpenGL ES Shading Language Specification, Version 3.00, 585bd8deadSopenharmony_cidated 29 January 2016. 595bd8deadSopenharmony_ci 605bd8deadSopenharmony_ci Including the following line in a shader can be used to control the 615bd8deadSopenharmony_ci language features described in this extension: 625bd8deadSopenharmony_ci 635bd8deadSopenharmony_ci #extension GL_QCOM_YUV_texture_gather : <behavior> 645bd8deadSopenharmony_ci 655bd8deadSopenharmony_ci where <behavior> is as specified in section 3.4. 665bd8deadSopenharmony_ci 675bd8deadSopenharmony_ci A new preprocessor #define is added to the OpenGL ES Shading Language: 685bd8deadSopenharmony_ci 695bd8deadSopenharmony_ci #define GL_QCOM_YUV_texture_gather 1 705bd8deadSopenharmony_ci 715bd8deadSopenharmony_ci 725bd8deadSopenharmony_ci Add to the list of texture gather functions as introduced with EXT_gpu_shader5 735bd8deadSopenharmony_ci and core functionality in ESSL 3.1 the following additional function: 745bd8deadSopenharmony_ci 755bd8deadSopenharmony_ci vec4 textureGather(__samplerExternal2DY2YEXT sampler, vec2 P [, int comp] ) 765bd8deadSopenharmony_ci 775bd8deadSopenharmony_ciErrors 785bd8deadSopenharmony_ci 795bd8deadSopenharmony_ci None. 805bd8deadSopenharmony_ci 815bd8deadSopenharmony_ciNew State 825bd8deadSopenharmony_ci 835bd8deadSopenharmony_ci None. 845bd8deadSopenharmony_ci 855bd8deadSopenharmony_ciNew Implementation Dependent State 865bd8deadSopenharmony_ci 875bd8deadSopenharmony_ci None 885bd8deadSopenharmony_ci 895bd8deadSopenharmony_ciIssues 905bd8deadSopenharmony_ci 915bd8deadSopenharmony_ci None. 925bd8deadSopenharmony_ci 935bd8deadSopenharmony_ciRevision History 945bd8deadSopenharmony_ci 955bd8deadSopenharmony_ci Rev. Date Author Changes 965bd8deadSopenharmony_ci ---- ---------- -------- ----------------------------------------- 975bd8deadSopenharmony_ci 1 2018-10-18 jleger initial version 985bd8deadSopenharmony_ci 2 2019-05-13 jleger prepend "GL_" to QCOM_YUV_texture_gather 99