gallium: make valuemask/writemask in pipe_stencil_state bitfield members

More consistent with other state data, might allow some compilers to pack
the struct better (doesn't matter for gcc).
This commit is contained in:
Roland Scheidegger
2010-02-09 21:26:35 +01:00
parent 1a859ecf4a
commit c59446a493
+2 -2
View File
@@ -199,8 +199,8 @@ struct pipe_stencil_state
unsigned fail_op:3; /**< PIPE_STENCIL_OP_x */
unsigned zpass_op:3; /**< PIPE_STENCIL_OP_x */
unsigned zfail_op:3; /**< PIPE_STENCIL_OP_x */
ubyte valuemask;
ubyte writemask;
unsigned valuemask:8;
unsigned writemask:8;
};