projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f93fa6
)
nv50: remove unnecessary macro
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 9 Mar 2010 04:56:46 +0000
(14:56 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 10 Mar 2010 06:30:02 +0000
(16:30 +1000)
src/gallium/drivers/nv50/nv50_vbo.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_vbo.c
b/src/gallium/drivers/nv50/nv50_vbo.c
index 2b06b8105625be1cc92088dbf236fef42981beb5..6b9c1ee231e40e47d8ee94866f24d21a7f25d40f 100644
(file)
--- 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++) {