Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
G
glslang
  • 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
  • glslang
  • Repository

Switch branch/tag
  • glslang
  • Test
  • hlsl.structbuffer.fn.frag
Find file
BlameHistoryPermalink
  • steve-lunarg's avatar
    WIP: HLSL: Fix ordering defect if global SB decl after fn param · 40efe5ce
    steve-lunarg authored Mar 06, 2017
    This change propagates the storage qualifier from the buffer object to its contained
    array type so that isStructBufferType() realizes it is one.  That propagation was
    happening before only for global variable declarations, so compilation defects would
    result if the use of a function parameter happened before a global declaration.
    
    This fixes that case, whether or not there ever is a global declaration, and
    regardless of the relative order.
    
    This changes the hlsl.structbuffer.fn.frag test to exercise the alternate order.
    
    There are no differences to generated SPIR-V for the cases which successfully compiled before.
    40efe5ce
hlsl.structbuffer.fn.frag 469 Bytes
EditWeb IDE
×

Replace hlsl.structbuffer.fn.frag

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.