diff options
author | Kenneth Graunke <[email protected]> | 2016-11-15 11:43:07 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-11-19 11:40:01 -0800 |
commit | 9ef2b9277d3bead6dbfa47e95794ca61e8be4e84 (patch) | |
tree | 4882c85a4cd35d4fad1c4b58423d3a80a7714c0b /src/intel/common/gen_l3_config.h | |
parent | 6d416bcd846a49414f210cd761789156c37a7b3e (diff) |
intel: Share URB configuration code between GL and Vulkan.
This code is far too complicated to cut and paste.
v2: Update the newly added genX_gpu_memcpy.c; const a few things.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/common/gen_l3_config.h')
-rw-r--r-- | src/intel/common/gen_l3_config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/common/gen_l3_config.h b/src/intel/common/gen_l3_config.h index 25a9675f462..8dc7dda0fcc 100644 --- a/src/intel/common/gen_l3_config.h +++ b/src/intel/common/gen_l3_config.h @@ -92,4 +92,10 @@ gen_get_l3_config_urb_size(const struct gen_device_info *devinfo, void gen_dump_l3_config(const struct gen_l3_config *cfg, FILE *fp); +void gen_get_urb_config(const struct gen_device_info *devinfo, + unsigned push_constant_bytes, unsigned urb_size_bytes, + bool tess_present, bool gs_present, + const unsigned entry_size[4], + unsigned entries[4], unsigned start[4]); + #endif /* GEN_L3_CONFIG_H */ |