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
  • tests
  • gl_tests
  • GLSLTest.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: SPIR-V Gen: Support == and != on complex types · afdf378f
    Shahbaz Youssefi authored Jul 01, 2021
    In GLSL, == and != produce a bool.  In SPIR-V, there are only
    component-wise comparison operations.  For ==, OpAll should be used to
    reduce it to a single bool, and for !=, OpAny.  For matrices, the
    comparison is done column by column with a similar reduction for each
    column, and one for the final result.  For structs and arrays, the
    comparison is similarly done field by field or element by element
    respectively.
    
    Bug: angleproject:4889
    Change-Id: I8157c1931b7d1dedd74a3825967f5e212d346900
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3001905
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    afdf378f
GLSLTest.cpp 364 KB
EditWeb IDE
×

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