nouveau: Convert to use GLbitfield64 directly.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmare.com>
This commit is contained in:
Mathias Fröhlich 2011-12-22 20:12:20 +01:00
parent b49b1e4642
commit 19c46d3d7b
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ swtnl_choose_attrs(struct gl_context *ctx)
if (!sa->fields)
continue; /* Unsupported attribute. */
if (RENDERINPUTS_TEST(tnl->render_inputs_bitset, i)) {
if (tnl->render_inputs_bitset & BITFIELD64_BIT(i)) {
if (sa->fields > 0)
fields = sa->fields;
else

View file

@ -55,7 +55,7 @@ swtnl_emit_attr(struct gl_context *ctx, struct tnl_attr_map *m, int attr, int em
{
TNLcontext *tnl = TNL_CONTEXT(ctx);
if (RENDERINPUTS_TEST(tnl->render_inputs_bitset, attr))
if (tnl->render_inputs_bitset & BITFIELD64_BIT(attr))
*m = (struct tnl_attr_map) {
.attrib = attr,
.format = emit,