summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-02-01 09:43:20 -0800
committerKenneth Graunke <[email protected]>2018-02-01 09:44:15 -0800
commit85ec7abc3faf67450e829df25cf2ec81addff075 (patch)
treeaceb476c125cfaffce08f1b24993b93d548d6eea /src
parentc3cd2aac279908a2de755d9454f293761d7b8d5a (diff)
intel/decoder: Fix control / evaluation label mixup.
Trivial. DS is TES, HS is TCS.
Diffstat (limited to 'src')
-rw-r--r--src/intel/tools/gen_batch_decoder.c4
1 files changed, 2 insertions, 2 deletions
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;