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
  • validationES2.cpp
Find file
BlameHistoryPermalink
  • Austin Kinross's avatar
    glTexSubImage2D should always allow non-power-of-two inputs · 08528e17
    Austin Kinross authored Oct 07, 2015
    If GL_OES_texture_npot isn't active then ANGLE currently prevents
    calls to glTexSubImage2D with:
    - level > 0
    - width/height NPOT
    
    This isn't correct. It is legitimate to supply data to a NPOT subregion of a
    POT texture via glTexSubImage2D.
    
    Fixes these dEQP tests on 9_3:
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.a8_2d
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.a8_cube
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.l8_2d
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.l8_cube
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.la88_2d
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.la88_cube
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.rgb565_2d
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.rgb565_cube
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.rgb888_2d
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.rgb888_cube
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.rgba4444_2d
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.rgba4444_cube
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.rgba5551_2d
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.rgba5551_cube
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.rgba8888_2d
    dEQP-GLES2.functional.texture.specification.basic_texsubimage2d.rgba8888_cube
    
    Change-Id: I5889a27edbfa807995fa20b16f36456f676b80fc
    Reviewed-on: https://chromium-review.googlesource.com/304612Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarAustin Kinross <aukinros@microsoft.com>
    Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
    08528e17
validationES2.cpp 30.9 KB
EditWeb IDE
×

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