[Mesa-dev] [PATCH 23/30] i965/gs: Create brw_context::vec4_gs structure to track GS program state.
Paul Berry
stereotype441 at gmail.com
Tue Aug 20 11:30:38 PDT 2013
---
src/mesa/drivers/dri/i965/brw_context.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 55d1174..4f6c767 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -1162,7 +1162,18 @@ struct brw_context
} vs;
struct {
+ struct brw_vec4_gs_prog_data *prog_data;
+
+ drm_intel_bo *scratch_bo;
+ /** Offset in the program cache to the GS program */
+ uint32_t prog_offset;
+
+ uint32_t bind_bo_offset;
+ } vec4_gs;
+
+ struct {
struct brw_gs_prog_data *prog_data;
+ drm_intel_bo *const_bo;
bool prog_active;
/** Offset in the program cache to the CLIP program pre-gen6 */
--
1.8.3.4
More information about the mesa-dev
mailing list