diff semiconginev2/rendering.nim @ 1252:01e9f41d35b1

add:support for push constants
author sam <sam@basx.dev>
date Fri, 26 Jul 2024 23:04:01 +0700
parents e8b3dc80e48e
children c4f98eb4bb05
line wrap: on
line diff
--- a/semiconginev2/rendering.nim	Fri Jul 26 20:34:02 2024 +0700
+++ b/semiconginev2/rendering.nim	Fri Jul 26 23:04:01 2024 +0700
@@ -18,6 +18,7 @@
 # custom pragmas to classify shader attributes
 template VertexAttribute* {.pragma.}
 template InstanceAttribute* {.pragma.}
+template PushConstantAttribute* {.pragma.}
 template Pass* {.pragma.}
 template PassFlat* {.pragma.}
 template ShaderOutput* {.pragma.}