google / google/amber

Dump UBO and SSBO in declared format

Open
#633 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
228
Forks
77
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.