Commit c1ff7250 authored by Connor Abbott's avatar Connor Abbott

add a shader-runner tool

This is a small standalone program that submits a compute shader and
prints the results. Currently it is hardcoded to only 1 invocation.
Also, it only works with bifrost. This has proven very useful for
figuring out parts of the Bifrost ISA that cannot be figured out using
the compiler alone.
parent a296fda0
......@@ -76,3 +76,4 @@ inc = include_directories('include')
subdir('include')
subdir('panwrap')
subdir('tools')
executable(
'shader-runner',
['shader-runner.c'],
include_directories: inc,
install: true,
link_args: common_exec_largs
)
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment