tools/perfmon: Hook up external shader corpus
Allow perfmon to benchmark shaders that are defined outside of the repo Change-Id: Iee53b64cf357facdaa9941602d8d571611680097 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/128040 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
d795f7958e
commit
5faf59d81d
|
@ -144,6 +144,7 @@ type Config struct {
|
|||
BenchmarkRepetitions int
|
||||
BenchmarkMaxTemp float32 // celsius
|
||||
CPUTempSensorName string // Name of the sensor to use for CPU temp
|
||||
ExternalBenchmarkCorpus string
|
||||
}
|
||||
|
||||
// GitConfig holds the configuration options for accessing a git repo
|
||||
|
@ -725,6 +726,7 @@ func (e env) buildTint() error {
|
|||
"-DCMAKE_BUILD_TYPE=Release",
|
||||
"-DCMAKE_BUILD_TESTS=0",
|
||||
"-DCMAKE_BUILD_SAMPLES=0",
|
||||
"-DTINT_EXTERNAL_BENCHMARK_CORPUS_DIR="+e.cfg.ExternalBenchmarkCorpus,
|
||||
"-DTINT_BUILD_DOCS=0",
|
||||
"-DTINT_BUILD_SAMPLES=0",
|
||||
"-DTINT_BUILD_TESTS=0",
|
||||
|
|
Loading…
Reference in New Issue