diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2019-11-08 09:42:30 -0600 |
---|---|---|
committer | Jason Ekstrand <jason@jlekstrand.net> | 2019-11-18 18:35:14 +0000 |
commit | aecde235198f6c8dccb0d26b6397f1efb5e22bfe (patch) | |
tree | 73b21bce0fcd669a58af96290d759d1b148add39 /src/intel/Makefile.sources | |
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 <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'src/intel/Makefile.sources')
-rw-r--r-- | src/intel/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources index f50b7c991d5..b3861af32f5 100644 --- a/src/intel/Makefile.sources +++ b/src/intel/Makefile.sources @@ -258,6 +258,7 @@ VULKAN_FILES := \ vulkan/anv_nir.h \ vulkan/anv_nir_add_base_work_group_id.c \ vulkan/anv_nir_apply_pipeline_layout.c \ + vulkan/anv_nir_compute_push_layout.c \ vulkan/anv_nir_lower_multiview.c \ vulkan/anv_nir_lower_push_constants.c \ vulkan/anv_nir_lower_ycbcr_textures.c \ |