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.promote.vec1.frag
Find file
BlameHistoryPermalink
  • steve-lunarg's avatar
    HLSL: allow promotion from 1-vector types to scalars, e.g, float<-float1 · d9cb832f
    steve-lunarg authored Nov 11, 2016
    Previously, an error was thrown when assigning a float1 to a scalar float,
    or similar for other basic types.  This allows that.
    
    Also, this allows calling functions accepting scalars with float1 params,
    so for example sin(float1) will work.  This is a minor change in
    HlslParseContext::findFunction().
    d9cb832f
hlsl.promote.vec1.frag 260 Bytes
EditWeb IDE
×

Replace hlsl.promote.vec1.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.