diff options
author | Roland Scheidegger <sroland@vmware.com> | 2010-02-09 21:26:35 +0100 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2010-02-09 21:26:35 +0100 |
commit | c59446a4930ec93e55f7cd3d1fffe46585cbe506 (patch) | |
tree | 269209ac2b0e4858a0e03eb1d286b940e0b65cf9 /src/gallium/include | |
parent | 1a859ecf4a4728cb321b1f68d51491cd285a3c03 (diff) |
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).
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 80e02ae70e..23748acbdc 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -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; }; |