diff options
author | Mathias Fröhlich <[email protected]> | 2011-12-22 20:12:20 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2011-12-28 07:35:24 +0100 |
commit | ccbf192f597186f6a4a04ed14391dba82ffee18b (patch) | |
tree | 544ce5562a6bdec22324ae89be8354c348f3cebf /src/mesa/tnl/t_context.h | |
parent | 45cd15bfae2f6c66c9e4356fb8dd7cad1829f659 (diff) |
mesa: Convert to use GLbitfield64 directly.
Signed-off-by: Mathias Froehlich <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r-- | src/mesa/tnl/t_context.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index 3b7d4468055..c5a902082b8 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -483,18 +483,6 @@ struct tnl_device_driver }; -#define DECLARE_RENDERINPUTS(name) GLbitfield64 name -#define RENDERINPUTS_COPY(x, y) do { (x) = (y); } while (0) -#define RENDERINPUTS_EQUAL(x, y) ((x) == (y)) -#define RENDERINPUTS_ZERO(x) do { (x) = 0; } while (0) -#define RENDERINPUTS_ONES(x) do { (x) = ~(GLbitfield64)0; } while (0) -#define RENDERINPUTS_TEST(x, b) (((x) & BITFIELD64_BIT(b)) != 0) -#define RENDERINPUTS_SET(x, b) ((x) |= BITFIELD64_BIT(b)) -#define RENDERINPUTS_CLEAR(x, b) ((x) &= ~BITFIELD64_BIT(b)) -#define RENDERINPUTS_TEST_RANGE(x, b, e) \ - (((x) & BITFIELD64_RANGE((b), (e) - (b) + 1)) != 0) - - /** * Context state for T&L context. */ @@ -520,7 +508,7 @@ typedef struct GLboolean AllowPixelFog; GLboolean _DoVertexFog; /* eval fog function at each vertex? */ - DECLARE_RENDERINPUTS(render_inputs_bitset); + GLbitfield64 render_inputs_bitset; GLvector4f tmp_inputs[VERT_ATTRIB_MAX]; |