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
  • OpenGL
  • compiler
  • util.cpp
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    Unsigned int GLSL parsing fixed · 40f48ab8
    Alexis Hetu authored Jan 24, 2018
    Unsigned integers in GLSL were being parsed using the regular
    integer parser, so it was limited to INT_MAX. All values from
    INT_MAX + 1 to UINT_MAX could not be parsed properly.
    
    Also, added constant folding for the 4 bit conversion glsl
    functions.
    
    Fixes shader compilation issue in the Epic Zen Garden example:
    https://s3.amazonaws.com/mozilla-games/ZenGarden/EpicZenGarden.html
    (unfortunately, the screen is still black, so there are other
     issues left)
    
    Fixes WebGL 2 test: conformance2/glsl3/float-parsing.html
    
    Change-Id: Iae52b2c8e083f0e1a22599e5a583297b9850444d
    Reviewed-on: https://swiftshader-review.googlesource.com/16648Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    40f48ab8
util.cpp 1.21 KB
EditWeb IDE
×

Replace util.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.