Is there any way Varjo can output an SSBO which contains an array of Sampler-2d?
layout(binding = 0,std430) buffer ssbo {
sampler2D tx[];
};
My current attempt:
(define-vari-struct ssbo ()
(tx (:sampler-2d 100) :accessor tx))
;; note: in glsl I don't need to specify the size of the array, I'm unsure what to do about (:sampler-2d 100).
(make-stage :fragment
nil
'((-ssbo ssbo :ssbo :std-430))
'(:450)
'((values (vec4 1.0 1.0 1.0 1.0))))
Calling translate on the :fragment stage will result in this error message:
Varjo: The argument -SSBO has type SSBO which contains opaque data.
This is invalid in this context
I'm assuming the error message is correct and I'm misunderstanding how to use Varjo...
Any help is appreciated! :)
Is there any way Varjo can output an SSBO which contains an array of Sampler-2d?
My current attempt:
Calling translate on the :fragment stage will result in this error message:
I'm assuming the error message is correct and I'm misunderstanding how to use Varjo...
Any help is appreciated! :)