From c7be9dcb5395048d95e724d612eac68b72a5a677 Mon Sep 17 00:00:00 2001 From: Matt Stevens Date: Wed, 27 Mar 2024 06:23:13 +0000 Subject: [PATCH] Don't set output_vertices from other execution modes (#256) --- spirv_reflect.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/spirv_reflect.c b/spirv_reflect.c index 5a741268..285a8618 100644 --- a/spirv_reflect.c +++ b/spirv_reflect.c @@ -3770,13 +3770,6 @@ static SpvReflectResult ParseExecutionModes(SpvReflectPrvParser* p_parser, SpvRe } } break; - case SpvExecutionModeInputPoints: - case SpvExecutionModeInputLines: - case SpvExecutionModeInputLinesAdjacency: - case SpvExecutionModeTriangles: - case SpvExecutionModeInputTrianglesAdjacency: - case SpvExecutionModeQuads: - case SpvExecutionModeIsolines: case SpvExecutionModeOutputVertices: { CHECKED_READU32(p_parser, p_node->word_offset + 3, p_entry_point->output_vertices); } break;