summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_vbo.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-03-09 14:56:46 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-03-10 16:30:02 +1000
commit9b233ce7de7923feb4b8ef4e1994baa4f13daeef (patch)
treeec43b3ec30667a4479fa5969fd647cb3bcda0f2c /src/gallium/drivers/nv50/nv50_vbo.c
parent3f93fa601097ded6993deecb90225242b20307e0 (diff)
nv50: remove unnecessary macro
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_vbo.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_vbo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c
index 2b06b81056..6b9c1ee231 100644
--- a/src/gallium/drivers/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nv50/nv50_vbo.c
@@ -28,8 +28,6 @@
#include "nouveau/nouveau_util.h"
#include "nv50_context.h"
-#define NV50_USING_LOATHED_EDGEFLAG(ctx) ((ctx)->vertprog->cfg.edgeflag_in < 16)
-
static INLINE uint32_t
nv50_vbo_type_to_hw(enum pipe_format format)
{
@@ -551,7 +549,8 @@ nv50_vbo_validate(struct nv50_context *nv50)
if (nv50->vtxbuf_nr == 0)
return NULL;
- if (nv50->screen->force_push || NV50_USING_LOATHED_EDGEFLAG(nv50))
+ if (nv50->screen->force_push ||
+ nv50->vertprog->cfg.edgeflag_in < 16)
nv50->vbo_fifo = 0xffff;
for (i = 0; i < nv50->vtxbuf_nr; i++) {