From: Tomeu Vizoso Date: Fri, 1 May 2020 06:29:21 +0000 (+0200) Subject: panfrost: mali_attr_meta.unknown1 is zero on Bifrost X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3baf2514877f80c3d79c783caf4ab6a1d59479c0;p=mesa.git panfrost: mali_attr_meta.unknown1 is zero on Bifrost For unknown1 reasons :) Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/gallium/drivers/panfrost/pan_assemble.c b/src/gallium/drivers/panfrost/pan_assemble.c index 25d8ec4f7ae..efd3bf35df7 100644 --- a/src/gallium/drivers/panfrost/pan_assemble.c +++ b/src/gallium/drivers/panfrost/pan_assemble.c @@ -266,7 +266,7 @@ panfrost_shader_compile(struct panfrost_context *ctx, struct mali_attr_meta v = { .format = p_varying_type[i], .swizzle = default_vec4_swizzle, - .unknown1 = 0x2, + .unknown1 = dev->quirks & IS_BIFROST ? 0x0 : 0x2, }; /* Check for special cases, otherwise assume general varying */