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
  • compiler
  • translator
  • TranslatorHLSL.cpp
Find file
BlameHistoryPermalink
  • Xinghua Cao's avatar
    Restrict to translate uniform block to StructuredBuffer · dc1c1cb5
    Xinghua Cao authored Aug 12, 2020
    We had translated an uniform block only containing a large array member
    into StructuredBuffer instead of cbuffer on D3D backend for slow fxc
    compile performance issue with dynamic uniform indexing.
    Now we add more conditions to restrict the translation. Only indexing
    operator is allowed to operate on this uniform block variable. And we
    also restrict the types of uniform block's member.
    
    Bug: angleproject:3682
    Change-Id: I992b7890d84fcaa6169722af6d7e14785526d48a
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2351728
    Commit-Queue: Xinghua Cao <xinghua.cao@intel.com>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarJiajia Qin <jiajia.qin@intel.com>
    dc1c1cb5
TranslatorHLSL.cpp 10.4 KB
EditWeb IDE
×

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