i965/gs: Create brw_context::gs structure to track GS program state.
authorPaul Berry <stereotype441@gmail.com>
Fri, 22 Mar 2013 19:34:19 +0000 (12:34 -0700)
committerPaul Berry <stereotype441@gmail.com>
Sun, 1 Sep 2013 00:11:15 +0000 (17:11 -0700)
v2: Change name from "vec4_gs" to simply "gs".

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_context.h

index bd33fd2560669cdb110701b3676fac9d08533df4..0171b5baca56ce87ca7a094947cd5a5d1fe88d09 100644 (file)
@@ -1171,6 +1171,11 @@ struct brw_context
       struct brw_vs_prog_data *prog_data;
    } vs;
 
+   struct {
+      struct brw_stage_state base;
+      struct brw_gs_prog_data *prog_data;
+   } gs;
+
    struct {
       struct brw_ff_gs_prog_data *prog_data;