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
  • tests
  • gl_tests
  • CopyTexture3DTest.cpp
Find file
BlameHistoryPermalink
  • Kimmo Kinnunen's avatar
    D3D: Fix heap corruption when copying texture arrays · 4a757416
    Kimmo Kinnunen authored Jun 03, 2019
    Do not use depth dimension when copying normal 2D textures of a 2d texture
    array. It copies past the end of the buffer obtained via
    ID3D11DeviceContext::Map().
    
    Fixes a case which can be reproed with the payload disabled:
    
    gn args out\debug --args="is_debug=true"
    ninja -C out\debug angle_end2end_tests
    out\debug\angle_end2end_tests ^
     --gtest_filter=Texture2DArrayCopy.SnormFormats* --gtest_catch_exceptions=0 ^
     --gtest_repeat=-1
    
    Bug: angleproject:2865
    Change-Id: Id9bc5489fa41749d1b1d2e87992166b1a0af76fc
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1641247Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    4a757416
CopyTexture3DTest.cpp 86.3 KB
EditWeb IDE
×

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