~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/mapi/glapi/tests/check_table.cpp

  • 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:
28
28
 
29
29
struct name_offset {
30
30
   const char *name;
31
 
   unsigned int offset;
 
31
   size_t offset;
32
32
};
33
33
 
34
34
extern const struct name_offset linux_gl_abi[];
108
108
    * table.  This is the size of the static table with some extra entries for
109
109
    * drivers to use for extensions that the core does not know about.
110
110
    */
111
 
   EXPECT_LT(table_entries, _glapi_get_dispatch_table_size());
 
111
   EXPECT_EQ(table_entries, _glapi_get_dispatch_table_size());
112
112
}
113
113
 
114
114
TEST(GetProcAddress, KnownDispatchOffsetsAreConsistent)
1130
1130
   { "glGetAttribLocation", _O(GetAttribLocation) },
1131
1131
   { "glDrawBuffers", _O(DrawBuffers) },
1132
1132
   { "glClampColor", _O(ClampColor) },
1133
 
   { "glDrawArraysInstancedARB", _O(DrawArraysInstancedARB) },
1134
 
   { "glDrawElementsInstancedARB", _O(DrawElementsInstancedARB) },
 
1133
   { "glDrawArraysInstanced", _O(DrawArraysInstanced) },
 
1134
   { "glDrawElementsInstanced", _O(DrawElementsInstanced) },
1135
1135
   { "glRenderbufferStorageMultisample", _O(RenderbufferStorageMultisample) },
1136
1136
   { "glFramebufferTexture", _O(FramebufferTexture) },
1137
1137
   { "glProgramParameteri", _O(ProgramParameteri) },