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
  • tests
  • angle_tests
  • InstancingTest.cpp
Find file
BlameHistoryPermalink
  • Austin Kinross's avatar
    Fix instancing on D3D11 9_3, by ensuring slot zero contains non-instanced data · 324bcc46
    Austin Kinross authored Dec 22, 2014
    D3D11 Feature Level 9_3 supports instancing, but slot 0 in the input
    layout must not be instanced. D3D9 has a similar restriction, where
    stream 0 must not be instanced. This restriction can be worked around
    by remapping any non-instanced slot to slot 0. This works because
    HLSL uses shader semantics to match the vertex inputs to the elements
    in the input layout, rather than the slots.
    
    BUG=angle:858
    
    Change-Id: I67b2be9095afc206a4b9f107ed61356820551afe
    Reviewed-on: https://chromium-review.googlesource.com/237270Tested-by: 's avatarAustin Kinross <aukinros@microsoft.com>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    324bcc46
InstancingTest.cpp 6.79 KB
EditWeb IDE
×

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