assert-feedback-attribute ( size gl-type name vertex-attribute -- )


Vocabulary
gpu.shaders.private

Inputs
sizean object
gl-typean object
namean object
vertex-attributean object


Outputs
None

Definition


:: 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 ;