diff options
author | Jason Ekstrand <[email protected]> | 2017-02-28 19:00:45 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-03-01 16:14:02 -0800 |
commit | 7ac47b1af767d873b4e463ab479ac0effb49211c (patch) | |
tree | 889d878b6291f3a069a1c624bf8ea75f8dda2caf /src/mesa/drivers/dri/i965/brw_vs.h | |
parent | 1c318af743db922a161388e9d1b02c7915886bb3 (diff) |
i965: Add a header for brw_vec4_vs_visitor
brw_vs.h is not a compiler file but brw_vec4_visitor is definitely a
compiler thing.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h index 0e015511d95..98b0bf18d90 100644 --- a/src/mesa/drivers/dri/i965/brw_vs.h +++ b/src/mesa/drivers/dri/i965/brw_vs.h @@ -53,48 +53,6 @@ brw_vs_populate_key(struct brw_context *brw, #ifdef __cplusplus } /* extern "C" */ - - -namespace brw { - -class vec4_vs_visitor : public vec4_visitor -{ -public: - vec4_vs_visitor(const struct brw_compiler *compiler, - void *log_data, - const struct brw_vs_prog_key *key, - struct brw_vs_prog_data *vs_prog_data, - const nir_shader *shader, - gl_clip_plane *clip_planes, - void *mem_ctx, - int shader_time_index, - bool use_legacy_snorm_formula); - -protected: - virtual dst_reg *make_reg_for_system_value(int location); - virtual void setup_payload(); - virtual void emit_prolog(); - virtual void emit_thread_end(); - virtual void emit_urb_write_header(int mrf); - virtual void emit_urb_slot(dst_reg reg, int varying); - virtual vec4_instruction *emit_urb_write_opcode(bool complete); - -private: - int setup_attributes(int payload_reg); - void setup_uniform_clipplane_values(); - void emit_clip_distances(dst_reg reg, int offset); - - const struct brw_vs_prog_key *const key; - struct brw_vs_prog_data * const vs_prog_data; - - gl_clip_plane *clip_planes; - - bool use_legacy_snorm_formula; -}; - -} /* namespace brw */ - - #endif #endif |