st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more places

This commit is contained in:
Ben Skeggs
2010-03-31 15:44:25 +10:00
parent 325d55303d
commit b46750d601
2 changed files with 4 additions and 4 deletions

View File

@@ -209,7 +209,7 @@ static void update_raster_state( struct st_context *st )
*/
if (vertProg) {
if (vertProg->Base.Id == 0) {
if (vertProg->Base.OutputsWritten & (1 << VERT_RESULT_PSIZ)) {
if (vertProg->Base.OutputsWritten & BITFIELD64_BIT(VERT_RESULT_PSIZ)) {
/* generated program which emits point size */
raster->point_size_per_vertex = TRUE;
}