diff options
author | Rob Clark <[email protected]> | 2017-05-20 09:54:08 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-05-23 12:26:35 -0400 |
commit | 4531e67c47b44514a931e44a58a00284222fd305 (patch) | |
tree | 69c5067d4e00cf9c526e342a031cacfbd7fcf0bd /src/gallium/drivers/freedreno | |
parent | 0c2e0f15b8378b79e2706898a61efd54faac5378 (diff) |
freedreno/a5xx: remove copapasta from a4xx
Won't ever hit this w/ a420 gpu, so this is dead code. Need to get astc
working to know whether to rip this out entirely or not.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a5xx/fd5_texture.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_texture.c b/src/gallium/drivers/freedreno/a5xx/fd5_texture.c index 127cf33ba00..1adfd3fa02a 100644 --- a/src/gallium/drivers/freedreno/a5xx/fd5_texture.c +++ b/src/gallium/drivers/freedreno/a5xx/fd5_texture.c @@ -212,8 +212,7 @@ tex_type(unsigned target) static bool use_astc_srgb_workaround(struct pipe_context *pctx, enum pipe_format format) { - return (fd_screen(pctx->screen)->gpu_id == 420) && - (util_format_description(format)->layout == UTIL_FORMAT_LAYOUT_ASTC); + return false; // TODO check if this is still needed on a5xx } static struct pipe_sampler_view * |