summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-03-15 09:48:08 -0600
committerBrian Paul <[email protected]>2011-03-15 18:21:35 -0600
commitaa878f94ab77fe3be352d820aaa950b32836c814 (patch)
tree1fc4070b8e7397115fcbe0221f3e7270026ffa32 /src/mesa/state_tracker/st_program.c
parentd350ef1682ad6432b8a10e0f6aabdfe77ccb4370 (diff)
st/mesa: use BITFIELD64_BIT() macro in a few more places
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r--src/mesa/state_tracker/st_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index fc1dfb3ef9e..0b1ad63afeb 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -798,7 +798,7 @@ st_translate_geometry_program(struct st_context *st,
* mapping and the semantic information for each output.
*/
for (attr = 0; attr < GEOM_RESULT_MAX; attr++) {
- if (stgp->Base.Base.OutputsWritten & (1 << attr)) {
+ if (stgp->Base.Base.OutputsWritten & BITFIELD64_BIT(attr)) {
GLuint slot;
slot = gs_num_outputs;