diff options
author | Dave Airlie <[email protected]> | 2010-12-10 15:40:48 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-12-13 11:29:21 +1000 |
commit | d19b5cbd317620f3977e68fffb7a74793436b7e2 (patch) | |
tree | 0ba61bd31d6fac857519f475748465d62eaf9a73 /src/gallium/drivers/r300/r300_texture_desc.h | |
parent | d6b1478ff0499059661df145efe469e7b28ff7bf (diff) |
r300g: fixup rs690 tiling stride alignment calculations.
The RS690 memory controller prefers things to be on a different
boundary than the discrete GPUs, we had an attempt to fix this,
but it still failed, this consolidates the stride calculation
into one place and removes the really special case check.
This fixes gnome-shell and 16 piglit tests on my rs690 system.
NOTE: This is a candidate for both the 7.9 and 7.10 branches.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture_desc.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_texture_desc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_texture_desc.h b/src/gallium/drivers/r300/r300_texture_desc.h index 44d88794a12..121d215b4cb 100644 --- a/src/gallium/drivers/r300/r300_texture_desc.h +++ b/src/gallium/drivers/r300/r300_texture_desc.h @@ -41,7 +41,7 @@ unsigned r300_get_pixel_alignment(enum pipe_format format, unsigned num_samples, enum r300_buffer_tiling microtile, enum r300_buffer_tiling macrotile, - enum r300_dim dim); + enum r300_dim dim, boolean is_rs690); boolean r300_texture_desc_init(struct r300_screen *rscreen, struct r300_texture_desc *desc, |