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 <robdclark@gmail.com>
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 *