Expand description
Variable shapes (untyped memory layouts vs abstract resources).
Structs
- Untyped memory shape with constant alignment but potentially-dynamic size, roughly corresponding to a Rust
(FixedBase, [DynUnit])
type’s layout. - Untyped memory shape with constant alignment and size.
Enums
GlobalVar
s are currently used for both chunks of plain data (i.e. memory), and the “shader interface” (inherited byShader
SPIR-V from GLSL, whereasKernel
SPIR-V ended up withOpenCL
’s “resources are passed to entry-points as regular function arguments”, withBuiltIn
+Input
as a sole exception).- “Abstract resource” handle, that can be found in non-memory
GlobalVar
s.