intel/compiler: Remove redundant argument from brw_nir_create_passthrough_tcs
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19831>
This commit is contained in:
@@ -1698,9 +1698,10 @@ brw_type_for_nir_type(const struct intel_device_info *devinfo,
|
||||
|
||||
nir_shader *
|
||||
brw_nir_create_passthrough_tcs(void *mem_ctx, const struct brw_compiler *compiler,
|
||||
const nir_shader_compiler_options *options,
|
||||
const struct brw_tcs_prog_key *key)
|
||||
{
|
||||
const nir_shader_compiler_options *options =
|
||||
compiler->nir_options[MESA_SHADER_TESS_CTRL];
|
||||
nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_TESS_CTRL,
|
||||
options, "passthrough TCS");
|
||||
ralloc_steal(mem_ctx, b.shader);
|
||||
|
||||
@@ -185,7 +185,6 @@ void brw_nir_optimize(nir_shader *nir,
|
||||
|
||||
nir_shader *brw_nir_create_passthrough_tcs(void *mem_ctx,
|
||||
const struct brw_compiler *compiler,
|
||||
const nir_shader_compiler_options *options,
|
||||
const struct brw_tcs_prog_key *key);
|
||||
|
||||
#define BRW_NIR_FRAG_OUTPUT_INDEX_SHIFT 0
|
||||
|
||||
Reference in New Issue
Block a user