diff options
author | Christoph Bumiller <[email protected]> | 2012-03-01 21:23:06 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-14 06:14:21 +0200 |
commit | 36158c199448ce038d9fe913d972f29a655aecab (patch) | |
tree | 0e5b9c0370e10dc928ee50109ce74209f5157f5a /src/gallium/drivers/nvc0/nvc0_program.c | |
parent | 2d06ee8bf784d98a822617db5366f56b9bb5d3a2 (diff) |
nvc0: only force early fragment tests if requested by shader
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_program.c')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_program.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_program.c b/src/gallium/drivers/nvc0/nvc0_program.c index b403e2ee9f2..e867461fb2e 100644 --- a/src/gallium/drivers/nvc0/nvc0_program.c +++ b/src/gallium/drivers/nvc0/nvc0_program.c @@ -479,10 +479,6 @@ nvc0_fp_gen_header(struct nvc0_program *fp, struct nv50_ir_prog_info *info) } fp->fp.early_z = info->prop.fp.earlyFragTests; - if (fp->fp.early_z == FALSE && fp->code_size >= 0x400) - fp->fp.early_z = !(info->prop.fp.writesDepth || - info->prop.fp.usesDiscard || - (info->io.globalAccess & 2)); return 0; } |