diff options
author | Luca Barbieri <[email protected]> | 2010-09-04 20:16:54 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-09-04 22:45:21 +0200 |
commit | 25ecc9521dcab781a8a3688ab331fdaee34a4fff (patch) | |
tree | 8529545d8a5c97ce75e3d162d3fff6d4b12e1eb1 /src/gallium/drivers/nvfx/nv04_2d.h | |
parent | 5bd0e0adb1790cbc36e66c1c37a6a4338a851750 (diff) |
nvfx: move 2D format selection logic to 2D code
Diffstat (limited to 'src/gallium/drivers/nvfx/nv04_2d.h')
-rw-r--r-- | src/gallium/drivers/nvfx/nv04_2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nv04_2d.h b/src/gallium/drivers/nvfx/nv04_2d.h index e7d872a2be6..00ee5bc0b23 100644 --- a/src/gallium/drivers/nvfx/nv04_2d.h +++ b/src/gallium/drivers/nvfx/nv04_2d.h @@ -43,6 +43,7 @@ struct nv04_region { int offset; unsigned pitch; // 0 -> swizzled unsigned bpps; // bpp shift (0, 1, 2; 3, 4 for fp/compressed) + unsigned one_bits; // number of high bits read and written as ones (for "no-alpha" optimization) unsigned x, y, z; unsigned w, h, d; }; @@ -95,7 +96,6 @@ int nv04_region_copy_2d(struct nv04_2d_context *ctx, struct nv04_region* dst, struct nv04_region* src, int w, int h, - int cs2d_format, int sifm_format, int dst_to_gpu, int src_on_gpu); int |