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
  • baseResults
  • hlsl.cbuffer-identifier.vert.out
Find file
BlameHistoryPermalink
  • Arseny Kapoulkine's avatar
    SPIRV: Simplify matrix->matrix constructor · 112e2858
    Arseny Kapoulkine authored Jul 05, 2018
    When constructing a matrix from another matrix with smaller dimensions,
    there's no need to extract the scalars out of columns and rebuild the
    resulting matrix from scalars - instead, we can just construct shorter
    vectors with OpShuffle and combine them to the final result.
    
    This keeps the common casts such as mat3(mat4) in vector registers,
    which may improve performance for some GPUs, and cleans up output of
    translation tools like SPIRV-Cross.
    
    Fixes #1412.
    112e2858
hlsl.cbuffer-identifier.vert.out 24.8 KB
EditWeb IDE
×

Replace hlsl.cbuffer-identifier.vert.out

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.