mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
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:
parent
b49b1e4642
commit
19c46d3d7b
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue