diff options
author | Jason Ekstrand <[email protected]> | 2019-11-08 09:42:30 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-11-18 18:35:14 +0000 |
commit | aecde235198f6c8dccb0d26b6397f1efb5e22bfe (patch) | |
tree | 73b21bce0fcd669a58af96290d759d1b148add39 /src/gallium/drivers/iris/iris_screen.c | |
parent | 4b392ced2d744fccffe95490ff57e6b41033c266 (diff) |
anv: Pre-compute push ranges for graphics pipelines
It turns off that emitting push constants is one of the hottest paths in
the driver and ANY work we do there costs us. By pre-computing things a
bit ahead of time, we shave 5% off the runtime of a CPU-limited example
running with the Dawn WebGPU implementation.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris/iris_screen.c')
0 files changed, 0 insertions, 0 deletions