diff options
author | Christoph Bumiller <[email protected]> | 2011-03-13 13:08:32 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-03-13 13:23:55 +0100 |
commit | 07f73577af29d68a245283be65b12aca244c0690 (patch) | |
tree | 7b56a0bf65dba2198d380b882a438040e47a91e6 /src/gallium/drivers/nvc0/nvc0_context.h | |
parent | c0f53fe8aa914636cd8ef9848d4fd34750060e83 (diff) |
nvc0: support edge flags
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.h')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.h b/src/gallium/drivers/nvc0/nvc0_context.h index aac358e142b..102997e4fcb 100644 --- a/src/gallium/drivers/nvc0/nvc0_context.h +++ b/src/gallium/drivers/nvc0/nvc0_context.h @@ -136,6 +136,9 @@ struct nvc0_context { struct draw_context *draw; }; +#define NVC0_USING_EDGEFLAG(ctx) \ + ((ctx)->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS) + static INLINE struct nvc0_context * nvc0_context(struct pipe_context *pipe) { |