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
  • RobustResourceInitTest.cpp
Find file
BlameHistoryPermalink
  • Le Hoang Quyen's avatar
    Metal: Fix 2D array texture's robust resource init · 6422d3b4
    Le Hoang Quyen authored Oct 25, 2020
    2D array texture's robust resource init didn't work due to
    mtl::InitializeTextureContents() expects one slice at a time, however
    TextureMtl::initializeContents() created entire layers index via
    GetZeroLevelIndex() before passing to mtl::InitializeTextureContents().
    Fixed by changing to GetLayerMipIndex() instead.
    
    Bug: angleproject:2634
    Change-Id: Ie8d80d927a987c2b393d913fda8288b6e06e97d0
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2494527Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Le Hoang Quyen <le.hoang.q@gmail.com>
    6422d3b4
RobustResourceInitTest.cpp 83.6 KB
EditWeb IDE
×

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