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
  • Texture.h
Find file
BlameHistoryPermalink
  • Chris Forbes's avatar
    Fix eglCreateImageKHR error logic for level=0 · 4bbb9841
    Chris Forbes authored Oct 01, 2019
    Two issues here:
    - Logic was inverted
    - getTopLevel() isn't quite right. The condition in the spec is
      whether there are any nonzero levels defined; it does not require them to
      be contiguous with the base level.
    
    Test: dEQP-EGL.functional.image.api.create_image_gles2_tex2d_rgba_level0_only
    Bug: b/141916742
    Change-Id: I336d628c9508bfe61d1471431cc6170454a24d1b
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/36888Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarChris Forbes <chrisforbes@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    4bbb9841
Texture.h 15.3 KB
EditWeb IDE
×

Replace Texture.h

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.