summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0/nvc0_program.h
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-01-13 21:03:18 +0100
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-01-15 12:17:57 +0100
commitb50d02e2e0729de101fd0acddeac21cca038786e (patch)
treef284e7f05c82ef6979abd0f498903e39aa26edd2 /src/gallium/drivers/nvc0/nvc0_program.h
parent5ec66c6e709d8ca95094dc217f51cf0220caa248 (diff)
nvc0: enable early fragment tests where possible
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_program.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_program.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_program.h b/src/gallium/drivers/nvc0/nvc0_program.h
index 1271303144..2e84caecc9 100644
--- a/src/gallium/drivers/nvc0/nvc0_program.h
+++ b/src/gallium/drivers/nvc0/nvc0_program.h
@@ -23,12 +23,15 @@ struct nvc0_program {
uint32_t hdr[20];
- uint32_t flags[2]; /* FP_ZORDER */
+ uint32_t flags[2];
struct {
uint8_t edgeflag;
uint8_t num_ucps;
} vp;
+ struct {
+ uint8_t early_z;
+ } fp;
void *relocs;
unsigned num_relocs;
@@ -66,6 +69,7 @@ struct nvc0_translation_info {
boolean indirect_inputs;
boolean indirect_outputs;
boolean require_stores;
+ boolean global_stores;
uint32_t *immd32;
ubyte *immd32_ty;
unsigned immd32_nr;