diff options
author | Ben Skeggs <[email protected]> | 2011-12-23 14:03:49 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2012-04-14 02:56:12 +1000 |
commit | 2e47d01c9e5325906cf3bb979279599991c6328e (patch) | |
tree | 03f161f671bf350d5455669679c98c46192f9be6 /src/mesa/drivers/dri/nouveau/nouveau_util.h | |
parent | 7308b6e75fe64f4e3f318bc7b5d276585e4f6957 (diff) |
nouveau/vieux: switch to libdrm_nouveau-2.0
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_util.h')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_util.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_util.h b/src/mesa/drivers/dri/nouveau/nouveau_util.h index 63566a63abc..d4cc5c4fb9c 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_util.h +++ b/src/mesa/drivers/dri/nouveau/nouveau_util.h @@ -171,22 +171,6 @@ get_viewport_translate(struct gl_context *ctx, float a[4]) a[2] = fb->_DepthMaxF * (vp->Far + vp->Near) / 2; } -static inline void -OUT_RINGb(struct nouveau_channel *chan, GLboolean x) -{ - OUT_RING(chan, x ? 1 : 0); -} - -static inline void -OUT_RINGm(struct nouveau_channel *chan, float m[16]) -{ - int i, j; - - for (i = 0; i < 4; i++) - for (j = 0; j < 4; j++) - OUT_RINGf(chan, m[4*j + i]); -} - static inline GLboolean is_color_operand(int op) { |