Mesa (master): i965/gs: Create brw_context:: gs structure to track GS program state.

Paul Berry stereotype441 at kemper.freedesktop.org
Sun Sep 1 00:27:04 UTC 2013


Module: Mesa
Branch: master
Commit: a702f6325cefa7b82af9ea318551fe8e7ea3121d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a702f6325cefa7b82af9ea318551fe8e7ea3121d

Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Mar 22 12:34:19 2013 -0700

i965/gs: Create brw_context::gs structure to track GS program state.

v2: Change name from "vec4_gs" to simply "gs".

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

---

 src/mesa/drivers/dri/i965/brw_context.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index bd33fd2..0171b5b 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -1172,6 +1172,11 @@ struct brw_context
    } vs;
 
    struct {
+      struct brw_stage_state base;
+      struct brw_gs_prog_data *prog_data;
+   } gs;
+
+   struct {
       struct brw_ff_gs_prog_data *prog_data;
 
       bool prog_active;




More information about the mesa-commit mailing list