Mesa (main): i915g: Ignore the new SEPARABLE_PROGRAM property.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 2 23:46:06 UTC 2022


Module: Mesa
Branch: main
Commit: 0af1bdfaa0c1a3fa269d3501673d99dc6e19ed84
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0af1bdfaa0c1a3fa269d3501673d99dc6e19ed84

Author: Emma Anholt <emma at anholt.net>
Date:   Thu Jun  2 15:59:43 2022 -0700

i915g: Ignore the new SEPARABLE_PROGRAM property.

We didn't need to know about it before, and we still don't.

Fixes: b63403054237 ("tgsi: Add SEPARABLE_PROGRAM property")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16845>

---

 src/gallium/drivers/i915/i915_fpc_translate.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/i915/i915_fpc_translate.c b/src/gallium/drivers/i915/i915_fpc_translate.c
index 33a65226af7..4066be8c0fd 100644
--- a/src/gallium/drivers/i915/i915_fpc_translate.c
+++ b/src/gallium/drivers/i915/i915_fpc_translate.c
@@ -850,7 +850,9 @@ i915_translate_token(struct i915_fp_compile *p,
              token->FullProperty.Property.PropertyName ==
                 TGSI_PROPERTY_FS_COORD_PIXEL_CENTER ||
              token->FullProperty.Property.PropertyName ==
-                TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS);
+                TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS ||
+             token->FullProperty.Property.PropertyName ==
+                TGSI_PROPERTY_SEPARABLE_PROGRAM);
       break;
 
    case TGSI_TOKEN_TYPE_DECLARATION:



More information about the mesa-commit mailing list