summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_structs.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-12-17 09:38:50 -0800
committerEric Anholt <[email protected]>2010-02-25 10:53:07 -0800
commit1ae0cb5f286bbba10e99c8e3bc1c55d2aeb38b59 (patch)
treeff4c94725a9ade5ca0e803932ff1c8557314fdd3 /src/mesa/drivers/dri/i965/brw_structs.h
parentc9065cd61fd43a507ae3100d7c0ab957672cab70 (diff)
i965: Add Sandybridge viewport setup.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_structs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_structs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h
index 87d5c06cdc3..3c2adfc87d4 100644
--- a/src/mesa/drivers/dri/i965/brw_structs.h
+++ b/src/mesa/drivers/dri/i965/brw_structs.h
@@ -1144,6 +1144,15 @@ struct brw_sf_viewport
} scissor;
};
+struct gen6_sf_viewport {
+ GLfloat m00;
+ GLfloat m11;
+ GLfloat m22;
+ GLfloat m30;
+ GLfloat m31;
+ GLfloat m32;
+};
+
/* Documented in the subsystem/shared-functions/sampler chapter...
*/
struct brw_surface_state