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
  • Shader
  • ShaderCore.hpp
Find file
BlameHistoryPermalink
  • Antonio Maiorano's avatar
    Fix rr::Print and add unit tests · 415d1815
    Antonio Maiorano authored Feb 11, 2020
    * CMake: add REACTOR_ENABLE_PRINT to enable rr::Print macros (default 0).
      When enabled, defines ENABLE_RR_PRINT. Formerly, ENABLE_RR_PRINT was
      only defined in NDEBUG builds.
    * CMake: REACTOR_EMIT_PRINT_LOCATION enables REACTOR_ENABLE_PRINT.
    * Add missing includes of Print.hpp.
    * Fix rr::Print compilation of non-const pointers.
    * Fix rr::Print compilation of Int2 and UInt2.
    * Fix rr::Print of Float outputting in square brackets.
    * Fix rr::Print of Bool to output a '1' or '0' for 'true' and 'false'.
    * Add unit tests for rr::Print of all primitive and Reactor types.
    * Includes changes bclayton@ made to output "true"/"false" for Bool,
      and to correctly compare against implementation-specific printf of
      pointers.
    
    Bug: b/149328074
    Change-Id: Ibb17985201f1c2b432539cd1153293d1e1cbb5bb
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/41108Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
    Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    415d1815
ShaderCore.hpp 16.4 KB
EditWeb IDE
×

Replace ShaderCore.hpp

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.