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
  • libGLESv2
  • Device.hpp
Find file
BlameHistoryPermalink
  • Sean Risser's avatar
    Make ClipDstRect/ClipSrcRect cease on non-finite · 303ddb5c
    Sean Risser authored Aug 16, 2019
    Now that the GLES unit tests can cause the float calculations in
    these functions to result in inf and NaN, some platforms are throwing
    errors when those floats are converted to integers. The Clip*Rect
    functions no longer continue processing if any operation results in a
    non-finite value, and tell their callers that they have failed to clip
    properly.
    
    Make Context.cpp set the error state to GL_INVALID_OPERATION when it
    fails to blit.
    
    Bug chromium:979986
    
    Change-Id: I8e11e77b1e25eab37dee97aa616a908737b16036
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/35269
    Presubmit-Ready: Sean Risser <srisser@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarSean Risser <srisser@google.com>
    303ddb5c
Device.hpp 3.74 KB
EditWeb IDE
×

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