google / amber

Amber is a multi-API shader test framework
Apache License 2.0
188 stars 63 forks source link

buffer_array #991

Closed normrubin closed 2 years ago

normrubin commented 2 years ago

I'm having trouble understanding how to use BUFFER_ARRAY I was expecting something like buffer a dim_2d buffer b dim_2d bind buffer_array a, b descriptor set 0 binding 0

would generate a 2darray object with 2 levels

is there an example or some more doc on how this is supposed to be used?

dj2 commented 2 years ago

There are a couple example files showing BUFFER_ARRAY usage:

Do those help?

normrubin commented 2 years ago

thanks just what i needed buffer_array is supposed to be for things like an array of 2d buffers not a single object of type 2darray

I'm trying to run some shaders that use cube and cubearray textures - I'll see if I can figure out where i need to make changes in the amber code- But I expect I'll have some questions

Norm

dj2 commented 2 years ago

K, I'm going to close this as resolved. Let us know if you have further questions.