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
  • tests
  • compiler_tests
  • DebugShaderPrecision_test.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Clean up HLSL constructor output · bd3cd506
    Olli Etuaho authored Nov 03, 2017
    Split generating HLSL struct constructors from generating built-in
    type constructors, as these didn't have much in common. Struct
    constructors are now only generated when they are needed, as opposed
    to before, when they were generated on any use of a struct.
    
    This changes built-in constructor naming to include "_ctor" and gets
    rid of having special built-in type names just for constructors.
    
    This will make it easier to do changes to constructor output, for
    example to add constructors for structs in std140 layout. This might
    be needed to implement SSBOs efficiently.
    
    This includes one bug fix for writing out struct declarations for
    varyings.
    
    Also improves const-correctness of accessing structs through TType
    in general.
    
    BUG=angleproject:2218
    TEST=angle_unittests, angle_end2end_tests
    
    Change-Id: If865fb56f86486b9c4a2c31e016ea16427f4a5fa
    Reviewed-on: https://chromium-review.googlesource.com/753883Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    bd3cd506
DebugShaderPrecision_test.cpp 45 KB
EditWeb IDE
×

Replace DebugShaderPrecision_test.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.