i965/vec4: Remove more dead visitor/vertex program code.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
cd7fa1034a
commit
4caa10193f
|
@ -223,9 +223,6 @@ public:
|
|||
|
||||
int implied_mrf_writes(vec4_instruction *inst);
|
||||
|
||||
void emit_vp_sop(enum brw_conditional_mod condmod, dst_reg dst,
|
||||
src_reg src0, src_reg src1, src_reg one);
|
||||
|
||||
vec4_instruction *emit_minmax(enum brw_conditional_mod conditionalmod, dst_reg dst,
|
||||
src_reg src0, src_reg src1);
|
||||
|
||||
|
@ -238,11 +235,6 @@ public:
|
|||
*/
|
||||
src_reg emit_uniformize(const src_reg &src);
|
||||
|
||||
/**
|
||||
* Emit the correct dot-product instruction for the type of arguments
|
||||
*/
|
||||
void emit_dp(dst_reg dst, src_reg src0, src_reg src1, unsigned elements);
|
||||
|
||||
src_reg fix_3src_operand(const src_reg &src);
|
||||
src_reg resolve_source_modifiers(const src_reg &src);
|
||||
|
||||
|
|
|
@ -278,16 +278,6 @@ vec4_visitor::SCRATCH_WRITE(const dst_reg &dst, const src_reg &src,
|
|||
return inst;
|
||||
}
|
||||
|
||||
void
|
||||
vec4_visitor::emit_dp(dst_reg dst, src_reg src0, src_reg src1, unsigned elements)
|
||||
{
|
||||
static enum opcode dot_opcodes[] = {
|
||||
BRW_OPCODE_DP2, BRW_OPCODE_DP3, BRW_OPCODE_DP4
|
||||
};
|
||||
|
||||
emit(dot_opcodes[elements - 2], dst, src0, src1);
|
||||
}
|
||||
|
||||
src_reg
|
||||
vec4_visitor::fix_3src_operand(const src_reg &src)
|
||||
{
|
||||
|
|
|
@ -105,16 +105,11 @@ protected:
|
|||
|
||||
private:
|
||||
int setup_attributes(int payload_reg);
|
||||
void setup_vp_regs();
|
||||
void setup_uniform_clipplane_values();
|
||||
void emit_clip_distances(dst_reg reg, int offset);
|
||||
dst_reg get_vp_dst_reg(const prog_dst_register &dst);
|
||||
src_reg get_vp_src_reg(const prog_src_register &src);
|
||||
|
||||
const struct brw_vs_prog_key *const key;
|
||||
struct brw_vs_prog_data * const vs_prog_data;
|
||||
src_reg *vp_temp_regs;
|
||||
src_reg vp_addr_reg;
|
||||
|
||||
gl_clip_plane *clip_planes;
|
||||
|
||||
|
|
Loading…
Reference in New Issue