~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/auxiliary/tgsi/tgsi_strings.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 **************************************************************************/
28
28
 
29
29
 
30
 
#include "pipe/p_compiler.h"
 
30
#include "util/compiler.h"
31
31
#include "util/u_memory.h"
32
32
#include "tgsi_strings.h"
33
33
 
34
34
 
35
 
const char *tgsi_processor_type_names[6] =
 
35
const char *tgsi_processor_type_names[8] =
36
36
{
37
37
   "VERT",
38
38
   "TESS_CTRL",
39
39
   "TESS_EVAL",
40
40
   "GEOM",
41
41
   "FRAG",
42
 
   "COMP"
 
42
   "COMP",
 
43
   "TASK",
 
44
   "MESH"
43
45
};
44
46
 
45
47
static const char *tgsi_file_names[] =
194
196
 
195
197
const char *tgsi_invariant_name = "INVARIANT";
196
198
 
197
 
const char *tgsi_primitive_names[PIPE_PRIM_MAX] =
 
199
const char *tgsi_primitive_names[MESA_PRIM_COUNT] =
198
200
{
199
201
   "POINTS",
200
202
   "LINES",
250
252
   STATIC_ASSERT(ARRAY_SIZE(tgsi_semantic_names) == TGSI_SEMANTIC_COUNT);
251
253
   STATIC_ASSERT(ARRAY_SIZE(tgsi_texture_names) == TGSI_TEXTURE_COUNT);
252
254
   STATIC_ASSERT(ARRAY_SIZE(tgsi_property_names) == TGSI_PROPERTY_COUNT);
253
 
   STATIC_ASSERT(ARRAY_SIZE(tgsi_primitive_names) == PIPE_PRIM_MAX);
 
255
   STATIC_ASSERT(ARRAY_SIZE(tgsi_primitive_names) == MESA_PRIM_COUNT);
254
256
   STATIC_ASSERT(ARRAY_SIZE(tgsi_interpolate_names) == TGSI_INTERPOLATE_COUNT);
255
257
   STATIC_ASSERT(ARRAY_SIZE(tgsi_return_type_names) == TGSI_RETURN_TYPE_COUNT);
256
258
   (void) tgsi_processor_type_names;