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
  • TranslatorVulkan.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: No line raster emulation code if extension · 0721cc8b
    Shahbaz Youssefi authored Jan 03, 2020
    A flag is added to the translator to disable generation of Bresenham
    line raster emulation code when the Bresenham line raster Vulkan
    extension is present.  This is primarily for the sake of conversion of
    line raster emulation condition to specialization constant:
    
    - Avoid dead SPIR-V code in every shader
    - Avoid ANGLEUniforms being active in every shader stage even if it's
      not used anywhere but in line raster emulation.
    - Optimize SPIR-V transformations by both having fewer instructions to
      iterate through, and to avoid generating line raster patches.
    - Reduce the severity of anglebug.com/4251 where the location assignment
      of ANGLEPosition can incorrectly overlap a varying array or struct, by
      making only platforms without Bresenham extension afflicted by the
      bug.
    
    Bug: angleproject:3394
    Change-Id: Ic0ae6ce0392b4eae0cc79cb94bbcd0805b276a31
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1986379Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    0721cc8b
TranslatorVulkan.cpp 42.9 KB
EditWeb IDE
×

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