blob: a99df5f7eaaa71ffac0e9d6ec445ca114650bc92 [file] [log] [blame]
; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
;; Ensure the required Capabilities are listed.
; CHECK-DAG: OpCapability Shader
; CHECK-DAG: OpCapability Linkage
;; Ensure one, and only one, OpMemoryModel is defined.
; CHECK: OpMemoryModel Logical GLSL450
; CHECK-NOT: OpMemoryModel