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
  • BuildSPIRV.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: SPIR-V Gen: Support mediump/lowp · 18ddd131
    Shahbaz Youssefi authored Jun 07, 2021
    The mediump and lowp precisions translate to a RelaxedPrecision
    decoration in SPIR-V.  This change implements this decoration and
    enables SPIR-V generation when emulating Bresenham lines.  Prior to this
    change, Bresenham line emulation resulted in a validation error due to
    the vertex shader output being without RelaxedPrecision but the fragment
    shader input (translated by glslang) with it.
    
    The function that produces a new id is given a list of decorations to
    apply, which itself is automatically deriven from the TType where
    applicable, to minimize the risk of any id missing this decoration.
    
    Bug: angleproject:4889
    Change-Id: I30cc5a278634c5d83d63cd65b057336f9f573baa
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2946113
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    18ddd131
BuildSPIRV.cpp 50.2 KB
EditWeb IDE
×

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