intel/compiler: Make brw_nir_lower_intrinsics compute-specific
It's already only ever called from brw_compile_cs and only handles compute intrinsics. Let's just make it CS-specific. We can always make it handle other stages again later if we want. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -95,8 +95,8 @@ void brw_nir_analyze_boolean_resolves(nir_shader *nir);
|
||||
nir_shader *brw_preprocess_nir(const struct brw_compiler *compiler,
|
||||
nir_shader *nir);
|
||||
|
||||
bool brw_nir_lower_intrinsics(nir_shader *nir,
|
||||
struct brw_stage_prog_data *prog_data);
|
||||
bool brw_nir_lower_cs_intrinsics(nir_shader *nir,
|
||||
struct brw_cs_prog_data *prog_data);
|
||||
void brw_nir_lower_vs_inputs(nir_shader *nir,
|
||||
bool use_legacy_snorm_formula,
|
||||
const uint8_t *vs_attrib_wa_flags);
|
||||
|
Reference in New Issue
Block a user