Handbook
Glossary
assert-feedback-attribute ( size gl-type name vertex-attribute -- )
Vocabulary
gpu
.
shaders
.
private
Inputs
size
an
object
gl-type
an
object
name
an
object
vertex-attribute
an
object
Outputs
None
Definition
USING:
accessors
combinators.short-circuit
gpu.shaders
kernel
;
IN:
gpu.shaders.private
::
assert-feedback-attribute
( size gl-type name vertex-attribute -- )
{
[
vertex-attribute
name>>
name
=
]
[
size 1
=
]
[
gl-type vertex-attribute
[
component-type>>
]
[
dim>>
]
bi
feedback-type=
]
}
0&&
[
vertex-attribute
inaccurate-feedback-attribute-error
]
unless
;