Skip to content

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

Switch branch/tag
  • swiftshader
  • src
  • Pipeline
  • SpirvShaderGLSLstd450.cpp
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Reuse Store logic for Modf and Frexp output parameters · 20220a0b
    Nicolas Capens authored Apr 09, 2020
    The Modf and Frexp instructions from the GLSL.std.450 extended SPIR-V
    instruction set take a pointer argument to write one of their results
    to. This makes them the only arithmetic instructions which need to know
    how to explicitly access memory.
    
    This change replaces the partial duplication of store logic with a call
    to the underlying implementation of OpStore. To support storing
    intermediate values not associated with SPIR-V objects, the Operand
    class can now also wrap an independent Intermediate instance.
    
    Bug: b/153641251
    Change-Id: Iebab43640b45ed6c27a77576168481d1a27158b6
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43728
    Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
    Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
    20220a0b
SpirvShaderGLSLstd450.cpp 27.1 KB
EditWeb IDE
×

Replace SpirvShaderGLSLstd450.cpp

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.