aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_gs.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-08-23 20:14:00 -0700
committerPaul Berry <[email protected]>2013-08-31 17:10:15 -0700
commit32e16e23377ecbba7783e33428ebb4575b874fe5 (patch)
tree952b260c6b7eef663e10b1352ff6a690d4cdfbe0 /src/mesa/drivers/dri/i965/brw_gs.h
parenta77ee8b548d83614b11bbfb654b031b7d464c3e3 (diff)
i965: rename legacy gs structs and functions to ff_gs.
"ff" is for "fixed function". This frees up the name "gs" to refer to user-defined geometry shaders. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_gs.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.h b/src/mesa/drivers/dri/i965/brw_gs.h
index 319f10521fe..695f435a52d 100644
--- a/src/mesa/drivers/dri/i965/brw_gs.h
+++ b/src/mesa/drivers/dri/i965/brw_gs.h
@@ -39,7 +39,7 @@
#define MAX_GS_VERTS (4)
-struct brw_gs_prog_key {
+struct brw_ff_gs_prog_key {
GLbitfield64 attrs;
/**
@@ -70,10 +70,10 @@ struct brw_gs_prog_key {
unsigned char transform_feedback_swizzles[BRW_MAX_SOL_BINDINGS];
};
-struct brw_gs_compile {
+struct brw_ff_gs_compile {
struct brw_compile func;
- struct brw_gs_prog_key key;
- struct brw_gs_prog_data prog_data;
+ struct brw_ff_gs_prog_key key;
+ struct brw_ff_gs_prog_data prog_data;
struct {
struct brw_reg R0;
@@ -102,10 +102,13 @@ struct brw_gs_compile {
struct brw_vue_map vue_map;
};
-void brw_gs_quads( struct brw_gs_compile *c, struct brw_gs_prog_key *key );
-void brw_gs_quad_strip( struct brw_gs_compile *c, struct brw_gs_prog_key *key );
-void brw_gs_lines( struct brw_gs_compile *c );
-void gen6_sol_program(struct brw_gs_compile *c, struct brw_gs_prog_key *key,
+void brw_ff_gs_quads(struct brw_ff_gs_compile *c,
+ struct brw_ff_gs_prog_key *key);
+void brw_ff_gs_quad_strip(struct brw_ff_gs_compile *c,
+ struct brw_ff_gs_prog_key *key);
+void brw_ff_gs_lines(struct brw_ff_gs_compile *c);
+void gen6_sol_program(struct brw_ff_gs_compile *c,
+ struct brw_ff_gs_prog_key *key,
unsigned num_verts, bool check_edge_flag);
#endif