Mesa (master): intel/decoder: Fix control / evaluation label mixup.

Kenneth Graunke kwg at kemper.freedesktop.org
Thu Feb 1 17:44:21 UTC 2018


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Feb  1 09:43:20 2018 -0800

intel/decoder: Fix control / evaluation label mixup.

Trivial.  DS is TES, HS is TCS.

---

 src/intel/tools/gen_batch_decoder.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/intel/tools/gen_batch_decoder.c b/src/intel/tools/gen_batch_decoder.c
index f09b8331f8..78db83b982 100644
--- a/src/intel/tools/gen_batch_decoder.c
+++ b/src/intel/tools/gen_batch_decoder.c
@@ -452,8 +452,8 @@ decode_single_ksp(struct gen_batch_decode_ctx *ctx, const uint32_t *p)
       strcmp(inst->name,   "GS_STATE") == 0 ? "geometry shader" :
       strcmp(inst->name,   "SF_STATE") == 0 ? "strips and fans shader" :
       strcmp(inst->name, "CLIP_STATE") == 0 ? "clip shader" :
-      strcmp(inst->name, "3DSTATE_DS") == 0 ? "tessellation control shader" :
-      strcmp(inst->name, "3DSTATE_HS") == 0 ? "tessellation evaluation shader" :
+      strcmp(inst->name, "3DSTATE_DS") == 0 ? "tessellation evaluation shader" :
+      strcmp(inst->name, "3DSTATE_HS") == 0 ? "tessellation control shader" :
       strcmp(inst->name, "3DSTATE_VS") == 0 ? (is_simd8 ? "SIMD8 vertex shader" : "vec4 vertex shader") :
       strcmp(inst->name, "3DSTATE_GS") == 0 ? (is_simd8 ? "SIMD8 geometry shader" : "vec4 geometry shader") :
       NULL;




More information about the mesa-commit mailing list