Mesa (main): pan/va: Implement sample positions FAU packing
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jun 21 22:55:23 UTC 2022
Module: Mesa
Branch: main
Commit: 0da28ee2c71c0a3fcb36c6bf11b1ed7d50529400
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0da28ee2c71c0a3fcb36c6bf11b1ed7d50529400
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Fri Jun 17 10:47:23 2022 -0400
pan/va: Implement sample positions FAU packing
This will fix:
dEQP-GLES31.functional.shaders.multisample_interpolation.interpolate_at_offset.at_sample_position.default_framebuffer
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17101>
---
src/panfrost/bifrost/valhall/va_pack.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/panfrost/bifrost/valhall/va_pack.c b/src/panfrost/bifrost/valhall/va_pack.c
index 159e28f71ed..437ec28205d 100644
--- a/src/panfrost/bifrost/valhall/va_pack.c
+++ b/src/panfrost/bifrost/valhall/va_pack.c
@@ -71,6 +71,7 @@ va_pack_fau_special(enum bir_fau fau)
case BIR_FAU_WLS_PTR: return VA_FAU_SPECIAL_PAGE_1_WORKGROUP_LOCAL_POINTER;
case BIR_FAU_LANE_ID: return VA_FAU_SPECIAL_PAGE_3_LANE_ID;
case BIR_FAU_PROGRAM_COUNTER: return VA_FAU_SPECIAL_PAGE_3_PROGRAM_COUNTER;
+ case BIR_FAU_SAMPLE_POS_ARRAY:return VA_FAU_SPECIAL_PAGE_0_SAMPLE;
case BIR_FAU_BLEND_0...(BIR_FAU_BLEND_0 + 7):
return VA_FAU_SPECIAL_PAGE_0_BLEND_DESCRIPTOR_0 + (fau - BIR_FAU_BLEND_0);
More information about the mesa-commit
mailing list