intel/compiler: Remove unused functions and declarations
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23539>
This commit is contained in:
@@ -39,7 +39,6 @@ extern "C" {
|
||||
|
||||
struct ra_regs;
|
||||
struct nir_shader;
|
||||
struct brw_program;
|
||||
struct shader_info;
|
||||
|
||||
struct nir_shader_compiler_options;
|
||||
@@ -1755,9 +1754,6 @@ brw_prog_data_size(gl_shader_stage stage);
|
||||
unsigned
|
||||
brw_prog_key_size(gl_shader_stage stage);
|
||||
|
||||
void
|
||||
brw_prog_key_set_id(union brw_any_prog_key *key, gl_shader_stage, unsigned id);
|
||||
|
||||
/**
|
||||
* Parameters for compiling a vertex shader.
|
||||
*
|
||||
|
@@ -782,10 +782,6 @@ void brw_compute_urb_setup_index(struct brw_wm_prog_data *wm_prog_data);
|
||||
|
||||
bool brw_nir_lower_simd(nir_shader *nir, unsigned dispatch_width);
|
||||
|
||||
namespace brw {
|
||||
class fs_builder;
|
||||
}
|
||||
|
||||
fs_reg brw_sample_mask_reg(const brw::fs_builder &bld);
|
||||
void brw_emit_predicate_on_sample_mask(const brw::fs_builder &bld, fs_inst *inst);
|
||||
|
||||
|
@@ -829,12 +829,6 @@ namespace brw {
|
||||
return inst;
|
||||
}
|
||||
|
||||
bblock_t *
|
||||
get_block() const
|
||||
{
|
||||
return block;
|
||||
}
|
||||
|
||||
backend_shader *shader;
|
||||
|
||||
private:
|
||||
|
@@ -81,25 +81,6 @@ brw_type_for_base_type(const struct glsl_type *type)
|
||||
return BRW_REGISTER_TYPE_F;
|
||||
}
|
||||
|
||||
enum brw_conditional_mod
|
||||
brw_conditional_for_comparison(unsigned int op)
|
||||
{
|
||||
switch (op) {
|
||||
case ir_binop_less:
|
||||
return BRW_CONDITIONAL_L;
|
||||
case ir_binop_gequal:
|
||||
return BRW_CONDITIONAL_GE;
|
||||
case ir_binop_equal:
|
||||
case ir_binop_all_equal: /* same as equal for scalars */
|
||||
return BRW_CONDITIONAL_Z;
|
||||
case ir_binop_nequal:
|
||||
case ir_binop_any_nequal: /* same as nequal for scalars */
|
||||
return BRW_CONDITIONAL_NZ;
|
||||
default:
|
||||
unreachable("not reached: bad operation for comparison");
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t
|
||||
brw_math_function(enum opcode op)
|
||||
{
|
||||
|
@@ -101,7 +101,6 @@ struct backend_shader;
|
||||
#endif /* __cplusplus */
|
||||
|
||||
enum brw_reg_type brw_type_for_base_type(const struct glsl_type *type);
|
||||
enum brw_conditional_mod brw_conditional_for_comparison(unsigned int op);
|
||||
uint32_t brw_math_function(enum opcode op);
|
||||
const char *brw_instruction_name(const struct brw_isa_info *isa,
|
||||
enum opcode op);
|
||||
|
@@ -25,11 +25,6 @@
|
||||
|
||||
namespace brw {
|
||||
|
||||
void
|
||||
vec4_gs_visitor::nir_setup_inputs()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
vec4_gs_visitor::nir_emit_intrinsic(nir_intrinsic_instr *instr)
|
||||
{
|
||||
|
@@ -49,8 +49,6 @@ public:
|
||||
bool no_spills,
|
||||
bool debug_enabled);
|
||||
|
||||
virtual void nir_setup_inputs();
|
||||
|
||||
protected:
|
||||
virtual void setup_payload();
|
||||
virtual void emit_prolog();
|
||||
|
Reference in New Issue
Block a user