amber
amber copied to clipboard
Dump UBO and SSBO in declared format
When I dump an SSBO containing floats to a file, it gets dumped in hex. This is not very meaningful. Here is an example of the output:
$ ./amber CubeFaceCoord.new.amber -b out.txt -B 1
CubeFaceCoord.new.amber: Line 102: Verifier failed: 0.125000 == 0.625000, at index 0
Summary of Failures:
CubeFaceCoord.new.amber
Summary: 0 pass, 1 fail
$ cat out.txt
1
00 00 00 3e 00 00 80 be
$
The contents of out.txt are not easy to use.