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
  • glslang.l
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Drop the float literal suffix · dc552fce
    Nicolas Capens authored Sep 11, 2020
    In GLSL ES 3.00, float literals are allowed to have an 'f' or 'F'
    suffix, but they don't change the parsing process since they're always
    interpreted as single-precision IEEE-754 floating-point values.
    
    The std::istringstream used for parsing the literal's string can have
    implementation dependent behavior depending on the presence of the
    suffix, so this change removes it. This matches what ANGLE does.
    
    Fixes: b/168250854
    Change-Id: I203833a2e817ca698894db5669941fb435b97868
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/48388
    Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
    Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com>
    Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    dc552fce
glslang.l 18.8 KB
EditWeb IDE
×

Replace glslang.l

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.