[Mlir-commits] [mlir] [mlir][spirv] Add definition for OpEmitVertex and OpEndPrimitive (PR #123759)

Jakub Kuderski llvmlistbot at llvm.org
Tue Jan 21 07:36:09 PST 2025


================
@@ -0,0 +1,14 @@
+// RUN: mlir-translate -no-implicit-module -test-spirv-roundtrip %s | FileCheck %s
+
+spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader], []> {
+  spirv.func @emit_vertex() "None" {
+    // CHECK: spirv.EmitVertex
+    spirv.EmitVertex
----------------
kuhar wrote:

Don't these require the Geometry execution model and capability?

https://github.com/llvm/llvm-project/pull/123759


More information about the Mlir-commits mailing list