Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • compiler
  • translator
  • TranslatorGLSL.cpp
Find file
BlameHistoryPermalink
  • Kimmo Kinnunen's avatar
    Expose GL built-in output variables in ShGetOutputVariables · 0932df61
    Kimmo Kinnunen authored Jul 21, 2015
    Expose GL built-in output variables in ShGetOutputVariables.
    Currently gl_FragColor, gl_FragData and gl_FragDepthEXT are exposed.
    
    The output variable names in the returned array are the input shader names,
    not the output shader names.
    
    This is needed in future features in which the emulation layer (command
    buffer/libANGLE) needs to know which output variables caller used.
    
    Example of such a feature is EXT_blend_func_extended, where
    gl_SecondaryFragColorEXT and gl_SecondaryFragDataEXT cause the need
    to bind the emulated output variables to their respective color
    indices.
    
    BUG=angleproject:1085
    TEST=angle_unittests
    
    Change-Id: I7ca3e0fe6bdd3e3c66113518aa771cbb013fc014
    Reviewed-on: https://chromium-review.googlesource.com/287230Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    Tested-by: 's avatarKimmo Kinnunen <kkinnunen@nvidia.com>
    0932df61
TranslatorGLSL.cpp 4.51 KB
EditWeb IDE
×

Replace TranslatorGLSL.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.