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
  • renderer
  • d3d
  • ProgramD3D.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    D3D11: Clean up InputLayoutCache. · 8047c0d2
    Jamie Madill authored Mar 07, 2016
    This change does a couple things. First, it uses the 'active attribs'
    mask in the gl::Program to sort the translated attributes, instead of
    checking the translated attribute themselves. This means we don't have
    to consult the 'active' field of the translated attributes, which in
    turns means we don't have to update the active field in the attributes,
    which breaks the dependency of the attributes on the gl::Program.
    
    Second, use a dynamically sized array for storing the cached vertex
    attributes in the InputLayoutCache. This is nice because it means
    we don't have to store the size of the array separately.
    
    Also some other refactoring cleanups. Refactoring change only.
    
    BUG=angleproject:1327
    
    Change-Id: Iab22de92840b30674b92eca72e450673ed9f6d6d
    Reviewed-on: https://chromium-review.googlesource.com/330172Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    8047c0d2
ProgramD3D.h 15.2 KB
EditWeb IDE
×

Replace ProgramD3D.h

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.