Module: Mesa
Branch: master
Commit: 9a0465b3a3a1a6e8beda7a59506c2e1a1aae776f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a0465b3a3a1a6e8beda7a59506c2e1a1aae776f

Author: Kenneth Graunke <[email protected]>
Date:   Fri Nov 10 15:36:22 2017 -0800

intel/tools: Fix detection of enabled shader stages.

We renamed "Function Enable" to "Enable", which broke our detection
of whether shaders are enabled or not.  So, we'd see a bunch of HS/DS
packets with program offsets of 0, and think that was a valid TCS/TES.

Fixes: c032cae9ff77e (genxml: Rename "Function Enable" to "Enable".)

Reviewed-by: Lionel Landwerlin <[email protected]>

---

 src/intel/tools/aubinator_error_decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/tools/aubinator_error_decode.c 
b/src/intel/tools/aubinator_error_decode.c
index 4035723b87..2322bac839 100644
--- a/src/intel/tools/aubinator_error_decode.c
+++ b/src/intel/tools/aubinator_error_decode.c
@@ -367,7 +367,7 @@ static void decode(struct gen_spec *spec,
                is_simd8 = strcmp(iter.value, "true") == 0;
             } else if (strcmp(iter.name, "Dispatch Enable") == 0) {
                is_simd8 = strcmp(iter.value, "SIMD8") == 0;
-            } else if (strcmp(iter.name, "Function Enable") == 0) {
+            } else if (strcmp(iter.name, "Enable") == 0) {
                is_enabled = strcmp(iter.value, "true") == 0;
             }
          }

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to