diff options
author | Marcin Ślusarz <marcin.slusarz@intel.com> | 2020-06-26 19:54:29 +0200 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-09-04 17:38:25 +0000 |
commit | 0dda2094066efd035bf852e6bdbc349c009c95d2 (patch) | |
tree | 8fa5f74a747a3aa90e8eedaaf56774131ee0b6ca /src/intel | |
parent | a7ece63de99aeaf4d0dcc808854522f536a0ead9 (diff) |
intel/compiler: match brw_compile_* declarations with their definitions
Current state confuses Eclipse CDT's code analysis.
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6602>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_compiler.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h index 01fd0d034e5..c5c861f7dbc 100644 --- a/src/intel/compiler/brw_compiler.h +++ b/src/intel/compiler/brw_compiler.h @@ -38,6 +38,8 @@ struct ra_regs; struct nir_shader; struct brw_program; +typedef struct nir_shader nir_shader; + struct brw_compiler { const struct gen_device_info *devinfo; @@ -1399,7 +1401,7 @@ brw_compile_vs(const struct brw_compiler *compiler, void *log_data, void *mem_ctx, const struct brw_vs_prog_key *key, struct brw_vs_prog_data *prog_data, - struct nir_shader *shader, + nir_shader *shader, int shader_time_index, struct brw_compile_stats *stats, char **error_str); @@ -1415,7 +1417,7 @@ brw_compile_tcs(const struct brw_compiler *compiler, void *mem_ctx, const struct brw_tcs_prog_key *key, struct brw_tcs_prog_data *prog_data, - struct nir_shader *nir, + nir_shader *nir, int shader_time_index, struct brw_compile_stats *stats, char **error_str); @@ -1431,7 +1433,7 @@ brw_compile_tes(const struct brw_compiler *compiler, void *log_data, const struct brw_tes_prog_key *key, const struct brw_vue_map *input_vue_map, struct brw_tes_prog_data *prog_data, - struct nir_shader *shader, + nir_shader *shader, int shader_time_index, struct brw_compile_stats *stats, char **error_str); @@ -1446,7 +1448,7 @@ brw_compile_gs(const struct brw_compiler *compiler, void *log_data, void *mem_ctx, const struct brw_gs_prog_key *key, struct brw_gs_prog_data *prog_data, - struct nir_shader *shader, + nir_shader *shader, struct gl_program *prog, int shader_time_index, struct brw_compile_stats *stats, @@ -1494,7 +1496,7 @@ brw_compile_fs(const struct brw_compiler *compiler, void *log_data, void *mem_ctx, const struct brw_wm_prog_key *key, struct brw_wm_prog_data *prog_data, - struct nir_shader *shader, + nir_shader *shader, int shader_time_index8, int shader_time_index16, int shader_time_index32, @@ -1513,7 +1515,7 @@ brw_compile_cs(const struct brw_compiler *compiler, void *log_data, void *mem_ctx, const struct brw_cs_prog_key *key, struct brw_cs_prog_data *prog_data, - const struct nir_shader *shader, + const nir_shader *shader, int shader_time_index, struct brw_compile_stats *stats, char **error_str); |