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
  • UniformBufferTest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    D3D11: Fix Buffer11::copyFromStorage and UBOs. · c4431804
    Jamie Madill authored Oct 03, 2016
    The change to initialize a constant buffer immediately after
    calling BufferData in D3D11 led to a bug where we would map
    the UBO for writing with the wrong map bits. Fix this by
    using the same map method as the rest of the code.
    
    The D3D11 runtime seems to allow arbitrarily large constant buffers
    on Windows 10, but not Windows 7. Thus this CL also fixes a bug in
    our constant buffer size clamping to not copy more than the available
    buffer size for uniform buffers.
    
    BUG=chromium:651493
    
    Change-Id: I876767691d02db90ecb08a8fa78199f03339a35e
    Reviewed-on: https://chromium-review.googlesource.com/391167Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    c4431804
UniformBufferTest.cpp 12.8 KB
EditWeb IDE
×

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