summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_vs_aos.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-05-21 20:28:56 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-05-23 09:16:56 +0100
commit889473b3f5a216bd753c357974d6bae29fe3c41d (patch)
tree70c6ae6a102867228105cddee1e4a068e0871706 /src/gallium/auxiliary/draw/draw_vs_aos.h
parent030af06691bc5bc82ca141a576da7a2edffe9d1c (diff)
draw: add viewport to varient state
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs_aos.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_aos.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_aos.h b/src/gallium/auxiliary/draw/draw_vs_aos.h
index 1d8a055a90..16fef6451c 100644
--- a/src/gallium/auxiliary/draw/draw_vs_aos.h
+++ b/src/gallium/auxiliary/draw/draw_vs_aos.h
@@ -68,8 +68,13 @@ struct aos_machine {
float immediate[MAX_IMMEDIATES][4]; /* fixme -- should just be a pointer */
float internal [MAX_INTERNALS ][4];
- unsigned fpu_round_nearest;
- unsigned fpu_round_neg_inf;
+ float scale[4]; /* viewport */
+ float translate[4]; /* viewport */
+
+ ushort fpu_round_nearest;
+ ushort fpu_round_neg_inf;
+ ushort fpu_restore;
+ ushort fpucntl; /* one of FPU_* above */
struct {
const void *input_ptr;