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.clipdistance-5.vert
Find file
BlameHistoryPermalink
  • LoopDawg's avatar
    WIP: HLSL: handle clip/cull distance array semantic matching · c44b95fd
    LoopDawg authored Jun 22, 2017
    In HLSL, there are three (TODO: ??) dimensions of clip and cull
    distance values:
    
      * The semantic's value N, ala SV_ClipDistanceN.
      * The array demension, if the value is an array.
      * The vector element, if the value is a vector or array of vectors.
    
    In SPIR-V, clip and cull distance are arrays of scalar floats, always.
    
    This PR currently ignores the semantic N axis, and handles the other
    two axes by sequentially copying each vector element of each array member
    into sequential floats in the output array.
    
    Fixes: #946
    c44b95fd
hlsl.clipdistance-5.vert 478 Bytes
EditWeb IDE
×

Replace hlsl.clipdistance-5.vert

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.