diff options
author | Dave Airlie <[email protected]> | 2017-11-03 11:35:03 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-12-06 23:20:20 +0000 |
commit | 7b8e1c089db22f14973de17085ab0a95bef64f16 (patch) | |
tree | 770a6075f7a2207ce874efbccea6ce432b77da52 /src/gallium/drivers/r600 | |
parent | 0398b31d1d49a4f9f369052b4ce3c0cf8fce176b (diff) |
r600/texture: drop lowering 1d/2d images to linear.
This appears to cause hangs with compute images. Unless
we can find more specifics, just don't do this for now.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_texture.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 4042b70a9bf..3895d53912c 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -1053,14 +1053,6 @@ r600_choose_tiling(struct r600_common_screen *rscreen, if (templ->bind & PIPE_BIND_LINEAR) return RADEON_SURF_MODE_LINEAR_ALIGNED; - /* Textures with a very small height are recommended to be linear. */ - if (templ->target == PIPE_TEXTURE_1D || - templ->target == PIPE_TEXTURE_1D_ARRAY || - /* Only very thin and long 2D textures should benefit from - * linear_aligned. */ - (templ->width0 > 8 && templ->height0 <= 2)) - return RADEON_SURF_MODE_LINEAR_ALIGNED; - /* Textures likely to be mapped often. */ if (templ->usage == PIPE_USAGE_STAGING || templ->usage == PIPE_USAGE_STREAM) |