diff options
author | Marek Olšák <[email protected]> | 2018-03-06 18:30:06 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-03-08 14:58:16 -0500 |
commit | 9b7db1281521b95acb04db624bf93193fd3d4f56 (patch) | |
tree | 93aa39c9f14414cb59deae35856366af538daccd /src/gallium/drivers/radeonsi/si_shader.h | |
parent | 78ef16e2f921355280c6ec92fc28753e6dd4d541 (diff) |
radeonsi: remove chip_class parameter from si_lower_nir
We can get it from si_screen.
Reviewed-by: Timothy Arceri <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index 23f9d20e193..f58978989d4 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -307,8 +307,6 @@ struct si_shader; /* State of the context creating the shader object. */ struct si_compiler_ctx_state { - enum chip_class chip_class; - /* Should only be used by si_init_shader_selector_async and * si_build_shader_variant if thread_index == -1 (non-threaded). */ LLVMTargetMachineRef tm; @@ -674,7 +672,7 @@ void si_nir_scan_shader(const struct nir_shader *nir, void si_nir_scan_tess_ctrl(const struct nir_shader *nir, const struct tgsi_shader_info *info, struct tgsi_tessctrl_info *out); -void si_lower_nir(struct si_shader_selector *sel, enum chip_class chip_class); +void si_lower_nir(struct si_shader_selector *sel); /* Inline helpers. */ |