mirror of
https://github.com/xenia-project/reference-gpu-traces.git
synced 2026-01-31 01:25:20 +01:00
Instructions and repo config.
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.xenia_gpu_trace filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Thumbs.db
|
||||
34
README.md
34
README.md
@@ -1,3 +1,37 @@
|
||||
# reference-gpu-traces
|
||||
|
||||
Captured GPU traces and reference imagery for automated regression testing.
|
||||
|
||||
## Running Tests
|
||||
|
||||
To run tests check out the main xenia repo, ensure you have
|
||||
[Git LFS](https://git-lfs.github.com/) installed, and run:
|
||||
|
||||
```
|
||||
$ xb gputest
|
||||
```
|
||||
|
||||
You can find a results file at `build/gputest/results.html` containing diffs.
|
||||
|
||||
## Adding Traces
|
||||
|
||||
Pass `--trace_gpu_prefix=testdata/reference-gpu-traces/traces/` to xenia to
|
||||
have captured traces be automatically placed in the right folder, or copy your
|
||||
new trace files to `traces/` and `git add`.
|
||||
|
||||
Run the reference update only for your new files:
|
||||
|
||||
```
|
||||
$ xb gputest --generate_missing_reference_files
|
||||
```
|
||||
|
||||
Commit the new traces and reference files.
|
||||
|
||||
## Updating Golden Reference Imagery
|
||||
|
||||
```
|
||||
$ xb gputest --update_reference_files
|
||||
```
|
||||
|
||||
Commit any diffs (ensuring LFS is setup) and then bump the main xenia submodule
|
||||
revision.
|
||||
|
||||
Reference in New Issue
Block a user