From: Kenneth Graunke Date: Thu, 1 Feb 2018 17:43:20 +0000 (-0800) Subject: intel/decoder: Fix control / evaluation label mixup. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85ec7abc3faf67450e829df25cf2ec81addff075;p=mesa.git intel/decoder: Fix control / evaluation label mixup. Trivial. DS is TES, HS is TCS. --- diff --git a/src/intel/tools/gen_batch_decoder.c b/src/intel/tools/gen_batch_decoder.c index f09b8331f84..78db83b9820 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;