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

Author: Faith Ekstrand <[email protected]>
Date:   Wed Dec  6 09:22:02 2023 -0600

microsoft: Stop claiming dot_4x8_sat support

Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26533>

---

 src/microsoft/compiler/dxil_nir_algebraic.py | 4 ----
 src/microsoft/compiler/nir_to_dxil.c         | 2 --
 2 files changed, 6 deletions(-)

diff --git a/src/microsoft/compiler/dxil_nir_algebraic.py 
b/src/microsoft/compiler/dxil_nir_algebraic.py
index 868f799a0f7..9f9043d7d89 100644
--- a/src/microsoft/compiler/dxil_nir_algebraic.py
+++ b/src/microsoft/compiler/dxil_nir_algebraic.py
@@ -96,10 +96,6 @@ remove_unsupported_casts(no_16bit_conv, 16, 0xffff, 65535.0, 
-32768.0, 32767.0)
 algebraic_ops = [
   (('b2b32', 'a'), ('b2i32', 'a')),
   (('b2b1', 'a'), ('ine', ('b2i32', a), 0)),
-
-  # We don't support the saturating versions of these
-  (('sdot_4x8_iadd_sat', a, b, c), ('iadd_sat', ('sdot_4x8_iadd', a, b, 0), 
c)),
-  (('udot_4x8_uadd_sat', a, b, c), ('uadd_sat', ('udot_4x8_uadd', a, b, 0), 
c)),
 ]
 
 no_16bit_conv += [
diff --git a/src/microsoft/compiler/nir_to_dxil.c 
b/src/microsoft/compiler/nir_to_dxil.c
index 17b04336a02..49554168788 100644
--- a/src/microsoft/compiler/nir_to_dxil.c
+++ b/src/microsoft/compiler/nir_to_dxil.c
@@ -184,8 +184,6 @@ dxil_get_nir_compiler_options(nir_shader_compiler_options 
*options,
    if (shader_model_max >= SHADER_MODEL_6_4) {
       options->has_sdot_4x8 = true;
       options->has_udot_4x8 = true;
-      options->has_sdot_4x8_sat = true;
-      options->has_udot_4x8_sat = true;
    }
 }
 

Reply via email to