// RUN: mlir-translate -test-spirv-roundtrip %s | FileCheck %s spv.module Logical GLSL450 requires #spv.vce { // CHECK: !spv.ptr [0])>, Input> spv.globalVariable @var0 bind(0, 1) : !spv.ptr [0])>, Input> // CHECK: !spv.ptr [4])> [4])>, Input> spv.globalVariable @var1 bind(0, 2) : !spv.ptr [4])> [4])>, Input> // CHECK: !spv.ptr, StorageBuffer> spv.globalVariable @var2 : !spv.ptr, StorageBuffer> // CHECK: !spv.ptr [0])>, stride=512> [0])>, StorageBuffer> spv.globalVariable @var3 : !spv.ptr [0])>, stride=512> [0])>, StorageBuffer> // CHECK: !spv.ptr, StorageBuffer> spv.globalVariable @var4 : !spv.ptr, StorageBuffer> // CHECK: !spv.ptr, StorageBuffer> spv.globalVariable @var5 : !spv.ptr, StorageBuffer> // CHECK: !spv.ptr, StorageBuffer> spv.globalVariable @var6 : !spv.ptr, StorageBuffer> // CHECK: !spv.ptr> [0, ColMajor, MatrixStride=16])>, StorageBuffer> spv.globalVariable @var7 : !spv.ptr> [0, ColMajor, MatrixStride=16])>, StorageBuffer> // CHECK: !spv.ptr, StorageBuffer> spv.globalVariable @empty : !spv.ptr, StorageBuffer> // CHECK: !spv.ptr, StorageBuffer> spv.globalVariable @id_empty : !spv.ptr, StorageBuffer> // CHECK: !spv.ptr [0])>, Input> spv.globalVariable @id_var0 : !spv.ptr [0])>, Input> // CHECK: !spv.ptr, StorageBuffer>)>, StorageBuffer> spv.globalVariable @recursive_simple : !spv.ptr, StorageBuffer>)>, StorageBuffer> // CHECK: !spv.ptr, Uniform>)>, Uniform>)>, Uniform> spv.globalVariable @recursive_2 : !spv.ptr, Uniform>)>, Uniform>)>, Uniform> // CHECK: !spv.ptr, Uniform>, !spv.ptr, Uniform>)>, Uniform>)>, Uniform> spv.globalVariable @recursive_3 : !spv.ptr, Uniform>, !spv.ptr, Uniform>)>, Uniform>)>, Uniform> // CHECK: !spv.ptr [0])>, Input>, // CHECK-SAME: !spv.ptr [0])>, Output> spv.func @kernel(%arg0: !spv.ptr [0])>, Input>, %arg1: !spv.ptr [0])>, Output>) -> () "None" { spv.Return } }