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
  • spv.bufferhandle17_Errors.frag
Find file
BlameHistoryPermalink
  • Jeff Bolz's avatar
    Handle buffer references vs 'const' · be63facd
    Jeff Bolz authored Feb 18, 2019
    Allow constructors to and from references to be constant folded. Section 4.3.3
    says constructors whose arguments are all constant expressions must fold.
    
    Disallow 'const' on buffer reference types. It is not a 'non-void transparent
    basic data type' (it is not considered 'basic').
    
    Handle buffer reference constants (which can be assigned to a non-const reference,
    or can be further folded to another type of constant) by converting to
    'constructor(uint64_t constant)' in addConversion.
    
    Disallow == and != operators on reference types.
    be63facd
spv.bufferhandle17_Errors.frag 349 Bytes
EditWeb IDE
×

Replace spv.bufferhandle17_Errors.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.