Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • 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
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • formatutils.cpp
Find file
BlameHistoryPermalink
  • shrekshao's avatar
    EXT_texture_norm16 readpixels fix · fb1c2fe8
    shrekshao authored Nov 13, 2019
    Adding validation logic for RGBA16 readpixels.
    Change readPixels format from UNSIGNED_BYTE to UNSIGNED_SHORT in the
    test.
    
    FYI:
    According to https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_norm16.txt
    ReadPixels format and type used during CopyTex* are limited to RGBA
    
    Bug: 1024387, 1000354, angleproject:1365, angleproject:4089
    Change-Id: I70517f255fe335f60e55bdf15f7ebf82e3de0800
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1914127Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Shrek Shao <shrekshao@google.com>
    fb1c2fe8
formatutils.cpp 142 KB
EditWeb IDE
×

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