Lines Matching refs:error
136 virtual inline void ExpectError(GLenum expected, long& error) in ExpectError() argument
138 if (error != NO_ERROR) in ExpectError()
145 error = NO_ERROR; // Error is expected in ExpectError()
149 error = ERROR; in ExpectError()
156 long& error) in VerifyGetProgramInterfaceiv() argument
164 error = ERROR; in VerifyGetProgramInterfaceiv()
169 GLuint expected, long& error) in VerifyGetProgramResourceIndex() argument
176 error = ERROR; in VerifyGetProgramResourceIndex()
182 long& error) in VerifyGetProgramResourceIndex() argument
189 error = ERROR; in VerifyGetProgramResourceIndex()
199 error = ERROR; in VerifyGetProgramResourceIndex()
208 const std::string& expected, long& error) in VerifyGetProgramResourceName() argument
219 error = ERROR; in VerifyGetProgramResourceName()
225 error = ERROR; in VerifyGetProgramResourceName()
230 const std::string& name, GLint expected, long& error) in VerifyGetProgramResourceLocation() argument
237 error = ERROR; in VerifyGetProgramResourceLocation()
243 const std::string& name, long& error) in VerifyGetProgramResourceLocation() argument
250 error = ERROR; in VerifyGetProgramResourceLocation()
260 error = ERROR; in VerifyGetProgramResourceLocation()
270 const GLint expected[], long& error) in VerifyGetProgramResourceiv() argument
278 error = ERROR; in VerifyGetProgramResourceiv()
289 error = ERROR; in VerifyGetProgramResourceiv()
334 long error = NO_ERROR; in Run() local
339 VerifyGetProgramInterfaceiv(program, PIQBase::interfaces[i], GL_ACTIVE_RESOURCES, 0, error); in Run()
342 VerifyGetProgramInterfaceiv(program, PIQBase::interfaces[i], GL_MAX_NAME_LENGTH, 0, error); in Run()
344 …ifyGetProgramInterfaceiv(program, GL_ATOMIC_COUNTER_BUFFER, GL_MAX_NUM_ACTIVE_VARIABLES, 0, error); in Run()
345 …rifyGetProgramInterfaceiv(program, GL_SHADER_STORAGE_BLOCK, GL_MAX_NUM_ACTIVE_VARIABLES, 0, error); in Run()
346 VerifyGetProgramInterfaceiv(program, GL_UNIFORM_BLOCK, GL_MAX_NUM_ACTIVE_VARIABLES, 0, error); in Run()
352 VerifyGetProgramResourceIndex(program, PIQBase::interfaces[i], "", GL_INVALID_INDEX, error); in Run()
359 return error; in Run()
402 long error = NO_ERROR; in Run() local
404 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_ACTIVE_RESOURCES, 1, error); in Run()
405 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_MAX_NAME_LENGTH, 9, error); in Run()
406 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_OUTPUT, GL_ACTIVE_RESOURCES, 1, error); in Run()
407 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_OUTPUT, GL_MAX_NAME_LENGTH, 6, error); in Run()
409 VerifyGetProgramResourceIndex(program, GL_PROGRAM_OUTPUT, "color", 0, error); in Run()
410 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, "position", 0, error); in Run()
412 VerifyGetProgramResourceName(program, GL_PROGRAM_OUTPUT, 0, "color", error); in Run()
413 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, 0, "position", error); in Run()
415 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "position", 0, error); in Run()
416 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, "color", 0, error); in Run()
426 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, 0, 7, props, 7, expected, error); in Run()
436 VerifyGetProgramResourceiv(program, GL_PROGRAM_OUTPUT, 0, 7, props2, 7, expected2, error); in Run()
439 return error; in Run()
587 virtual void inline VerifyCompute(GLuint program, long& error) in VerifyCompute() argument
589 VerifyGetProgramInterfaceiv(program, GL_BUFFER_VARIABLE, GL_MAX_NAME_LENGTH, 15, error); in VerifyCompute()
590 VerifyGetProgramInterfaceiv(program, GL_BUFFER_VARIABLE, GL_ACTIVE_RESOURCES, 1, error); in VerifyCompute()
591 VerifyGetProgramInterfaceiv(program, GL_SHADER_STORAGE_BLOCK, GL_ACTIVE_RESOURCES, 1, error); in VerifyCompute()
592 VerifyGetProgramInterfaceiv(program, GL_SHADER_STORAGE_BLOCK, GL_MAX_NAME_LENGTH, 7, error); in VerifyCompute()
593 …rifyGetProgramInterfaceiv(program, GL_SHADER_STORAGE_BLOCK, GL_MAX_NUM_ACTIVE_VARIABLES, 1, error); in VerifyCompute()
597 VerifyGetProgramResourceIndex(program, GL_SHADER_STORAGE_BLOCK, indicesSSB, "Output", error); in VerifyCompute()
598 VerifyGetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "Output.data", error); in VerifyCompute()
600 …ifyGetProgramResourceName(program, GL_SHADER_STORAGE_BLOCK, indicesSSB["Output"], "Output", error); in VerifyCompute()
601 …ogramResourceName(program, GL_BUFFER_VARIABLE, indicesBV["Outputa.data"], "Output.data[0]", error); in VerifyCompute()
612 error); in VerifyCompute()
625 error); in VerifyCompute()
639 long error = NO_ERROR; in Run() local
641 VerifyCompute(program, error); in Run()
644 return error; in Run()
695 long error = NO_ERROR; in Run() local
697 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_ACTIVE_RESOURCES, 8, error); in Run()
698 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_MAX_NAME_LENGTH, 2, error); in Run()
701 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "a", error); in Run()
702 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "b", error); in Run()
703 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "c", error); in Run()
704 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "d", error); in Run()
705 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "e", error); in Run()
706 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "f", error); in Run()
707 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "g", error); in Run()
708 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "h", error); in Run()
710 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["a"], "a", error); in Run()
711 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["b"], "b", error); in Run()
712 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["c"], "c", error); in Run()
713 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["d"], "d", error); in Run()
714 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["e"], "e", error); in Run()
715 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["f"], "f", error); in Run()
716 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["g"], "g", error); in Run()
717 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["h"], "h", error); in Run()
719 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "a", 0, error); in Run()
720 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "b", 4, error); in Run()
721 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "c", 5, error); in Run()
722 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "d", 7, error); in Run()
723 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "e", 11, error); in Run()
724 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "f", 12, error); in Run()
725 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "g", 13, error); in Run()
726 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "h", 15, error); in Run()
738 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["a"], 7, props, 7, expected, error); in Run()
740 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["b"], 7, props, 7, expected2, error); in Run()
742 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["c"], 7, props, 7, expected3, error); in Run()
744 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["d"], 7, props, 7, expected4, error); in Run()
746 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["e"], 7, props, 7, expected5, error); in Run()
748 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["f"], 7, props, 7, expected6, error); in Run()
750 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["g"], 7, props, 7, expected7, error); in Run()
752 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["h"], 7, props, 7, expected8, error); in Run()
755 return error; in Run()
791 long error = NO_ERROR; in Run() local
793 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_ACTIVE_RESOURCES, 2, error); in Run()
794 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_MAX_NAME_LENGTH, 14, error); in Run()
797 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "gl_VertexID", error); in Run()
798 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "gl_InstanceID", error); in Run()
800 …ifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["gl_VertexID"], "gl_VertexID", error); in Run()
801 …etProgramResourceName(program, GL_PROGRAM_INPUT, indices["gl_InstanceID"], "gl_InstanceID", error); in Run()
803 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "gl_VertexID", -1, error); in Run()
804 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "gl_InstanceID", -1, error); in Run()
814 …ProgramResourceiv(program, GL_PROGRAM_INPUT, indices["gl_VertexID"], 7, props, 7, expected, error); in Run()
816 …gramResourceiv(program, GL_PROGRAM_INPUT, indices["gl_InstanceID"], 7, props, 7, expected2, error); in Run()
819 return error; in Run()
863 long error = NO_ERROR; in Run() local
865 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_ACTIVE_RESOURCES, 8, error); in Run()
866 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_MAX_NAME_LENGTH, 2, error); in Run()
869 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "a", error); in Run()
870 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "b", error); in Run()
871 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "c", error); in Run()
872 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "d", error); in Run()
873 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "e", error); in Run()
874 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "f", error); in Run()
875 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "g", error); in Run()
876 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "h", error); in Run()
878 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["a"], "a", error); in Run()
879 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["b"], "b", error); in Run()
880 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["c"], "c", error); in Run()
881 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["d"], "d", error); in Run()
882 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["e"], "e", error); in Run()
883 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["f"], "f", error); in Run()
884 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["g"], "g", error); in Run()
885 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indices["h"], "h", error); in Run()
887 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "a", 0, error); in Run()
888 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "b", 4, error); in Run()
889 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "c", 5, error); in Run()
890 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "d", 7, error); in Run()
891 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "e", 11, error); in Run()
892 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "f", 12, error); in Run()
893 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "g", 13, error); in Run()
894 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "h", 15, error); in Run()
904 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["a"], 7, props, 7, expected, error); in Run()
906 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["b"], 7, props, 7, expected2, error); in Run()
908 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["c"], 7, props, 7, expected3, error); in Run()
910 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["d"], 7, props, 7, expected4, error); in Run()
912 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["e"], 7, props, 7, expected5, error); in Run()
914 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["f"], 7, props, 7, expected6, error); in Run()
916 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["g"], 7, props, 7, expected7, error); in Run()
918 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["h"], 7, props, 7, expected8, error); in Run()
921 return error; in Run()
958 long error = NO_ERROR; in Run() local
960 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_OUTPUT, GL_ACTIVE_RESOURCES, 3, error); in Run()
961 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_OUTPUT, GL_MAX_NAME_LENGTH, 5, error); in Run()
964 VerifyGetProgramResourceIndex(program, GL_PROGRAM_OUTPUT, indices, "a", error); in Run()
965 VerifyGetProgramResourceIndex(program, GL_PROGRAM_OUTPUT, indices, "b", error); in Run()
966 VerifyGetProgramResourceIndex(program, GL_PROGRAM_OUTPUT, indices, "e", error); in Run()
968 VerifyGetProgramResourceName(program, GL_PROGRAM_OUTPUT, indices["a"], "a[0]", error); in Run()
969 VerifyGetProgramResourceName(program, GL_PROGRAM_OUTPUT, indices["b"], "b", error); in Run()
970 VerifyGetProgramResourceName(program, GL_PROGRAM_OUTPUT, indices["e"], "e", error); in Run()
972 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, "a[0]", 0, error); in Run()
973 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, "a", 0, error); in Run()
974 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, "a[1]", 1, error); in Run()
975 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, "b", 2, error); in Run()
976 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, "e", 3, error); in Run()
986 …rifyGetProgramResourceiv(program, GL_PROGRAM_OUTPUT, indices["a"], 7, props, 7, expected_a, error); in Run()
988 …rifyGetProgramResourceiv(program, GL_PROGRAM_OUTPUT, indices["b"], 7, props, 7, expected_b, error); in Run()
990 …rifyGetProgramResourceiv(program, GL_PROGRAM_OUTPUT, indices["e"], 7, props, 7, expected_e, error); in Run()
993 return error; in Run()
1041 long error = NO_ERROR; in Run() local
1044 GetProgramivRetValue(program, GL_ACTIVE_UNIFORMS), error); in Run()
1045 VerifyGetProgramInterfaceiv(program, GL_UNIFORM, GL_MAX_NAME_LENGTH, 8, error); in Run()
1048 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "repos", error); in Run()
1049 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "recolor", error); in Run()
1051 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["repos"], "repos", error); in Run()
1052 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["recolor"], "recolor", error); in Run()
1054 …ogramResourceLocation(program, GL_UNIFORM, "repos", glGetUniformLocation(program, "repos"), error); in Run()
1056 error); in Run()
1072 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["repos"], 13, props, 13, expected, error); in Run()
1075 …rifyGetProgramResourceiv(program, GL_UNIFORM, indices["recolor"], 13, props, 13, expected2, error); in Run()
1078 return error; in Run()
1159 long error = NO_ERROR; in Run() local
1163 GetProgramivRetValue(program, GL_ACTIVE_UNIFORMS), error); in Run()
1165 VerifyGetProgramInterfaceiv(program, GL_UNIFORM, GL_MAX_NAME_LENGTH, 15, error); in Run()
1168 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "a", error); in Run()
1169 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "b", error); in Run()
1170 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "c", error); in Run()
1171 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "d", error); in Run()
1172 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "e", error); in Run()
1173 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "f", error); in Run()
1174 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "g", error); in Run()
1175 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "h", error); in Run()
1176 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "i", error); in Run()
1177 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "j.b", error); in Run()
1178 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "k.b[0].c", error); in Run()
1179 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "l[0].c", error); in Run()
1180 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "l[2].b[1].d[0]", error); in Run()
1181 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "l[2].a.c", error); in Run()
1183 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["a"], "a", error); in Run()
1184 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["b"], "b", error); in Run()
1185 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["c"], "c[0]", error); in Run()
1186 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["d"], "d", error); in Run()
1187 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["e"], "e", error); in Run()
1188 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["f"], "f", error); in Run()
1189 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["g"], "g[0]", error); in Run()
1190 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["h"], "h", error); in Run()
1191 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["i"], "i", error); in Run()
1192 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["j.b"], "j.b", error); in Run()
1193 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["k.b[0].c"], "k.b[0].c", error); in Run()
1194 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["l[0].c"], "l[0].c", error); in Run()
1195 …ifyGetProgramResourceName(program, GL_UNIFORM, indices["l[2].b[1].d[0]"], "l[2].b[1].d[0]", error); in Run()
1196 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["l[2].a.c"], "l[2].a.c", error); in Run()
1198 …ifyGetProgramResourceLocation(program, GL_UNIFORM, "a", glGetUniformLocation(program, "a"), error); in Run()
1199 …ifyGetProgramResourceLocation(program, GL_UNIFORM, "b", glGetUniformLocation(program, "b"), error); in Run()
1200 …ifyGetProgramResourceLocation(program, GL_UNIFORM, "c", glGetUniformLocation(program, "c"), error); in Run()
1201 …ifyGetProgramResourceLocation(program, GL_UNIFORM, "d", glGetUniformLocation(program, "d"), error); in Run()
1202 …ifyGetProgramResourceLocation(program, GL_UNIFORM, "e", glGetUniformLocation(program, "e"), error); in Run()
1203 …ifyGetProgramResourceLocation(program, GL_UNIFORM, "f", glGetUniformLocation(program, "f"), error); in Run()
1204 …ifyGetProgramResourceLocation(program, GL_UNIFORM, "g", glGetUniformLocation(program, "g"), error); in Run()
1205 …ifyGetProgramResourceLocation(program, GL_UNIFORM, "h", glGetUniformLocation(program, "h"), error); in Run()
1206 …ifyGetProgramResourceLocation(program, GL_UNIFORM, "i", glGetUniformLocation(program, "i"), error); in Run()
1207 …etProgramResourceLocation(program, GL_UNIFORM, "j.b", glGetUniformLocation(program, "j.b"), error); in Run()
1209 error); in Run()
1210 …ramResourceLocation(program, GL_UNIFORM, "l[0].c", glGetUniformLocation(program, "l[0].c"), error); in Run()
1212 glGetUniformLocation(program, "l[2].b[1].d[0]"), error); in Run()
1214 error); in Run()
1230 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["a"], 13, props, 13, expected, error); in Run()
1232 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["b"], 13, props, 13, expected2, error); in Run()
1234 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["c"], 13, props, 13, expected3, error); in Run()
1236 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["d"], 13, props, 13, expected4, error); in Run()
1238 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["e"], 13, props, 13, expected5, error); in Run()
1240 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["f"], 13, props, 13, expected6, error); in Run()
1242 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["g"], 13, props, 13, expected7, error); in Run()
1244 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["h"], 13, props, 13, expected8, error); in Run()
1246 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["i"], 13, props, 13, expected9, error); in Run()
1248 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["j.b"], 13, props, 13, expected10, error); in Run()
1250 …fyGetProgramResourceiv(program, GL_UNIFORM, indices["k.b[0].c"], 13, props, 13, expected11, error); in Run()
1252 …rifyGetProgramResourceiv(program, GL_UNIFORM, indices["l[0].c"], 13, props, 13, expected12, error); in Run()
1256 …rogramResourceiv(program, GL_UNIFORM, indices["l[2].b[1].d[0]"], 13, props, 13, expected13, error); in Run()
1258 …fyGetProgramResourceiv(program, GL_UNIFORM, indices["l[2].a.c"], 13, props, 13, expected14, error); in Run()
1261 return error; in Run()
1343 long error = NO_ERROR; in Run() local
1346 GetProgramivRetValue(program, GL_ACTIVE_UNIFORMS), error); in Run()
1347 VerifyGetProgramInterfaceiv(program, GL_UNIFORM_BLOCK, GL_ACTIVE_RESOURCES, 4, error); in Run()
1348 VerifyGetProgramInterfaceiv(program, GL_UNIFORM_BLOCK, GL_MAX_NAME_LENGTH, 18, error); in Run()
1352 VerifyGetProgramResourceIndex(program, GL_UNIFORM_BLOCK, indicesUB, "SimpleBlock", error); in Run()
1353 VerifyGetProgramResourceIndex(program, GL_UNIFORM_BLOCK, indicesUB, "NotSoSimpleBlockk", error); in Run()
1354 VerifyGetProgramResourceIndex(program, GL_UNIFORM_BLOCK, indicesUB, "TrickyBlock", error); in Run()
1355 VerifyGetProgramResourceIndex(program, GL_UNIFORM_BLOCK, indicesUB, "TrickyBlock[1]", error); in Run()
1356 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "a", error); in Run()
1357 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "b", error); in Run()
1358 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "c", error); in Run()
1359 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "NotSoSimpleBlockk.a[0]", error); in Run()
1360 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "NotSoSimpleBlockk.c", error); in Run()
1361 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "NotSoSimpleBlockk.b[0]", error); in Run()
1362 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "TrickyBlock.a[2].b[0].d", error); in Run()
1369 …yGetProgramResourceName(program, GL_UNIFORM_BLOCK, indicesUB["SimpleBlock"], "SimpleBlock", error); in Run()
1371 error); in Run()
1372 …tProgramResourceName(program, GL_UNIFORM_BLOCK, indicesUB["TrickyBlock"], "TrickyBlock[0]", error); in Run()
1373 …ogramResourceName(program, GL_UNIFORM_BLOCK, indicesUB["TrickyBlock[1]"], "TrickyBlock[1]", error); in Run()
1374 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["a"], "a", error); in Run()
1375 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["b"], "b", error); in Run()
1376 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["c"], "c", error); in Run()
1378 error); in Run()
1380 error); in Run()
1382 error); in Run()
1384 "TrickyBlock.a[2].b[0].d[0]", error); in Run()
1386 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a", -1, error); in Run()
1387 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "b", -1, error); in Run()
1388 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "c", -1, error); in Run()
1401 …ogramResourceiv(program, GL_UNIFORM_BLOCK, indicesUB["SimpleBlock"], 6, props, 6, expected, error); in Run()
1405 error); in Run()
1408 …gramResourceiv(program, GL_UNIFORM_BLOCK, indicesUB["TrickyBlock"], 6, props, 6, expected3, error); in Run()
1411 error); in Run()
1425 VerifyGetProgramResourceiv(program, GL_UNIFORM, indicesU["a"], 11, props2, 11, expected5, error); in Run()
1439 error); in Run()
1513 return error; in Run()
1561 long error = NO_ERROR; in Run() local
1564 VerifyGetProgramResourceIndex(program, GL_UNIFORM_BLOCK, indicesUB, "TestBlock", error); in Run()
1567 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "TestBlock.color", error); in Run()
1571 …tProgramResourceiv(program, GL_UNIFORM, indicesU["TestBlock.color"], 1, props, 1, expected, error); in Run()
1574 return error; in Run()
1630 long error = NO_ERROR; in Run() local
1632 …VerifyGetProgramInterfaceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, GL_ACTIVE_RESOURCES, 6, error); in Run()
1633 VerifyGetProgramInterfaceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, GL_MAX_NAME_LENGTH, 5, error); in Run()
1636 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "a", error); in Run()
1637 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "b[0]", error); in Run()
1638 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "b[1]", error); in Run()
1639 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "c", error); in Run()
1640 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "d", error); in Run()
1641 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "e", error); in Run()
1643 VerifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["a"], "a", error); in Run()
1644 …rifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["b[0]"], "b[0]", error); in Run()
1645 …rifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["b[1]"], "b[1]", error); in Run()
1646 VerifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["c"], "c", error); in Run()
1647 VerifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["d"], "d", error); in Run()
1648 VerifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["e"], "e", error); in Run()
1652 …gramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["a"], 3, props, 3, expected, error); in Run()
1655 error); in Run()
1658 error); in Run()
1660 …ramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["c"], 3, props, 3, expected4, error); in Run()
1662 …ramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["d"], 3, props, 3, expected5, error); in Run()
1664 …ramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["e"], 3, props, 3, expected6, error); in Run()
1667 return error; in Run()
1723 long error = NO_ERROR; in Run() local
1725 …VerifyGetProgramInterfaceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, GL_ACTIVE_RESOURCES, 5, error); in Run()
1726 VerifyGetProgramInterfaceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, GL_MAX_NAME_LENGTH, 2, error); in Run()
1729 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "a", error); in Run()
1730 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "b", error); in Run()
1731 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "c", error); in Run()
1732 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "d", error); in Run()
1733 VerifyGetProgramResourceIndex(program, GL_TRANSFORM_FEEDBACK_VARYING, indices, "e", error); in Run()
1735 VerifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["a"], "a", error); in Run()
1736 VerifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["b"], "b", error); in Run()
1737 VerifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["c"], "c", error); in Run()
1738 VerifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["d"], "d", error); in Run()
1739 VerifyGetProgramResourceName(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["e"], "e", error); in Run()
1743 …gramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["a"], 3, props, 3, expected, error); in Run()
1745 …ramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["b"], 3, props, 3, expected2, error); in Run()
1747 …ramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["c"], 3, props, 3, expected3, error); in Run()
1749 …ramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["d"], 3, props, 3, expected4, error); in Run()
1751 …ramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["e"], 3, props, 3, expected5, error); in Run()
1754 return error; in Run()
1815 long error = NO_ERROR; in Run() local
1817 VerifyGetProgramInterfaceiv(program, GL_ATOMIC_COUNTER_BUFFER, GL_ACTIVE_RESOURCES, 3, error); in Run()
1818 …ifyGetProgramInterfaceiv(program, GL_ATOMIC_COUNTER_BUFFER, GL_MAX_NUM_ACTIVE_VARIABLES, 2, error); in Run()
1821 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "a", error); in Run()
1822 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "b", error); in Run()
1823 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "c", error); in Run()
1824 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "d", error); in Run()
1825 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "e", error); in Run()
1827 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["a"], "a", error); in Run()
1828 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["b"], "b", error); in Run()
1829 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["c"], "c", error); in Run()
1830 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["d"], "d[0]", error); in Run()
1831 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["e"], "e", error); in Run()
1833 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a", -1, error); in Run()
1834 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "b", -1, error); in Run()
1835 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "c", -1, error); in Run()
1836 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "d", -1, error); in Run()
1837 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "e", -1, error); in Run()
1838 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "d[0]", -1, error); in Run()
1839 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "d[1]", -1, error); in Run()
1840 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "d[2]", -1, error); in Run()
1851 VerifyGetProgramResourceiv(program, GL_ATOMIC_COUNTER_BUFFER, res, 4, props, 4, expected, error); in Run()
1856 …VerifyGetProgramResourceiv(program, GL_ATOMIC_COUNTER_BUFFER, res, 3, props2, 3, expected2, error); in Run()
1858 …VerifyGetProgramResourceiv(program, GL_ATOMIC_COUNTER_BUFFER, res, 3, props2, 3, expected2, error); in Run()
1862 …VerifyGetProgramResourceiv(program, GL_ATOMIC_COUNTER_BUFFER, res, 3, props2, 3, expected3, error); in Run()
1864 …VerifyGetProgramResourceiv(program, GL_ATOMIC_COUNTER_BUFFER, res, 3, props2, 3, expected3, error); in Run()
1905 return error; in Run()
1964 long error = NO_ERROR; in Run() local
1966 VerifyGetProgramInterfaceiv(program, GL_ATOMIC_COUNTER_BUFFER, GL_ACTIVE_RESOURCES, 1, error); in Run()
1967 …ifyGetProgramInterfaceiv(program, GL_ATOMIC_COUNTER_BUFFER, GL_MAX_NUM_ACTIVE_VARIABLES, 3, error); in Run()
1970 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "a", error); in Run()
1971 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "b", error); in Run()
1972 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "c", error); in Run()
1974 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["a"], "a", error); in Run()
1975 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["b"], "b[0]", error); in Run()
1976 VerifyGetProgramResourceName(program, GL_UNIFORM, indicesU["c"], "c", error); in Run()
1978 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a", -1, error); in Run()
1979 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "b", -1, error); in Run()
1980 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "c", -1, error); in Run()
1981 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "b[0]", -1, error); in Run()
1982 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "b[1]", -1, error); in Run()
1983 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "b[2]", -1, error); in Run()
2001 VerifyGetProgramResourceiv(program, GL_ATOMIC_COUNTER_BUFFER, res, 3, props, 3, expected, error); in Run()
2034 return error; in Run()
2062 long error = NO_ERROR; in Run() local
2073 ExpectError(GL_INVALID_VALUE, error); in Run()
2075 ExpectError(GL_INVALID_VALUE, error); in Run()
2077 ExpectError(GL_INVALID_VALUE, error); in Run()
2079 ExpectError(GL_INVALID_VALUE, error); in Run()
2081 ExpectError(GL_INVALID_VALUE, error); in Run()
2094 ExpectError(GL_INVALID_VALUE, error); in Run()
2101 ExpectError(GL_INVALID_VALUE, error); in Run()
2106 ExpectError(GL_INVALID_VALUE, error); in Run()
2109 ExpectError(GL_INVALID_VALUE, error); in Run()
2112 return error; in Run()
2165 long error = NO_ERROR; in Run() local
2177 ExpectError(GL_INVALID_ENUM, error); in Run()
2179 ExpectError(GL_INVALID_ENUM, error); in Run()
2187 ExpectError(GL_INVALID_ENUM, error); in Run()
2191 ExpectError(GL_INVALID_ENUM, error); in Run()
2194 return error; in Run()
2222 long error = NO_ERROR; in Run() local
2238 ExpectError(GL_INVALID_OPERATION, error); in Run()
2240 ExpectError(GL_INVALID_OPERATION, error); in Run()
2242 ExpectError(GL_INVALID_OPERATION, error); in Run()
2244 ExpectError(GL_INVALID_OPERATION, error); in Run()
2246 ExpectError(GL_INVALID_OPERATION, error); in Run()
2254 ExpectError(GL_INVALID_OPERATION, error); in Run()
2261 ExpectError(GL_INVALID_OPERATION, error); in Run()
2268 ExpectError(GL_INVALID_OPERATION, error); in Run()
2273 return error; in Run()
2353 long error = NO_ERROR; in Run() local
2356 VerifyGetProgramInterfaceiv(program, GL_BUFFER_VARIABLE, GL_MAX_NAME_LENGTH, 28, error); in Run()
2367 VerifyGetProgramInterfaceiv(program, GL_SHADER_STORAGE_BLOCK, GL_ACTIVE_RESOURCES, 5, error); in Run()
2368 VerifyGetProgramInterfaceiv(program, GL_SHADER_STORAGE_BLOCK, GL_MAX_NAME_LENGTH, 18, error); in Run()
2372 …VerifyGetProgramResourceIndex(program, GL_SHADER_STORAGE_BLOCK, indicesSSB, "SimpleBuffer", error); in Run()
2373 …yGetProgramResourceIndex(program, GL_SHADER_STORAGE_BLOCK, indicesSSB, "NotSoSimpleBuffer", error); in Run()
2374 …VerifyGetProgramResourceIndex(program, GL_SHADER_STORAGE_BLOCK, indicesSSB, "TrickyBuffer", error); in Run()
2375 …ifyGetProgramResourceIndex(program, GL_SHADER_STORAGE_BLOCK, indicesSSB, "TrickyBuffer[1]", error); in Run()
2376 VerifyGetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "a", error); in Run()
2377 VerifyGetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "b", error); in Run()
2378 VerifyGetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "c", error); in Run()
2379 …fyGetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "NotSoSimpleBuffer.a[0]", error); in Run()
2380 …erifyGetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "NotSoSimpleBuffer.c", error); in Run()
2381 …fyGetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "NotSoSimpleBuffer.b[0]", error); in Run()
2382 …GetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "TrickyBuffer.a[0].b[0].d", error); in Run()
2383 VerifyGetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "TrickyBuffer.b", error); in Run()
2384 VerifyGetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "TrickyBuffer.c", error); in Run()
2387 error); in Run()
2389 "NotSoSimpleBuffer", error); in Run()
2391 error); in Run()
2393 error); in Run()
2394 VerifyGetProgramResourceName(program, GL_BUFFER_VARIABLE, indicesBV["a"], "a", error); in Run()
2395 VerifyGetProgramResourceName(program, GL_BUFFER_VARIABLE, indicesBV["b"], "b", error); in Run()
2396 VerifyGetProgramResourceName(program, GL_BUFFER_VARIABLE, indicesBV["c"], "c", error); in Run()
2398 "NotSoSimpleBuffer.a[0]", error); in Run()
2400 "NotSoSimpleBuffer.c", error); in Run()
2402 "NotSoSimpleBuffer.b[0]", error); in Run()
2404 "TrickyBuffer.a[0].b[0].d[0]", error); in Run()
2405 …ramResourceName(program, GL_BUFFER_VARIABLE, indicesBV["TrickyBuffer.b"], "TrickyBuffer.b", error); in Run()
2406 …ramResourceName(program, GL_BUFFER_VARIABLE, indicesBV["TrickyBuffer.c"], "TrickyBuffer.c", error); in Run()
2416 error); in Run()
2421 expected2, error); in Run()
2424 expected3, error); in Run()
2427 expected4, error); in Run()
2441 …etProgramResourceiv(program, GL_BUFFER_VARIABLE, indicesBV["a"], 11, props3, 11, expected5, error); in Run()
2454 expected6, error); in Run()
2529 return error; in Run()
2644 long error = NO_ERROR; in Run() local
2646 VerifyGetProgramInterfaceiv(program, GL_UNIFORM, GL_MAX_NAME_LENGTH, 11, error); in Run()
2649 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indices, "a[2][1]", error); in Run()
2650 VerifyGetProgramResourceIndex(program, GL_UNIFORM, "a[2][1][0]", indices["a[2][1]"], error); in Run()
2652 VerifyGetProgramResourceName(program, GL_UNIFORM, indices["a[2][1]"], "a[2][1][0]", error); in Run()
2668 …erifyGetProgramResourceiv(program, GL_UNIFORM, indices["a[2][1]"], 13, props, 13, expected, error); in Run()
2671 return error; in Run()
2722 long error = NO_ERROR; in Run() local
2724 VerifyGetProgramInterfaceiv(program, GL_BUFFER_VARIABLE, GL_MAX_NAME_LENGTH, 11, error); in Run()
2725 VerifyGetProgramInterfaceiv(program, GL_SHADER_STORAGE_BLOCK, GL_MAX_NAME_LENGTH, 6, error); in Run()
2726 VerifyGetProgramInterfaceiv(program, GL_SHADER_STORAGE_BLOCK, GL_ACTIVE_RESOURCES, 2, error); in Run()
2730 VerifyGetProgramResourceIndex(program, GL_BUFFER_VARIABLE, indicesBV, "a[0][0]", error); in Run()
2731 VerifyGetProgramResourceIndex(program, GL_SHADER_STORAGE_BLOCK, indicesSSB, "Block", error); in Run()
2733 …rifyGetProgramResourceName(program, GL_BUFFER_VARIABLE, indicesBV["a[0][0]"], "a[0][0][0]", error); in Run()
2734 …erifyGetProgramResourceName(program, GL_SHADER_STORAGE_BLOCK, indicesSSB["Block"], "Block", error); in Run()
2746 …ogramResourceiv(program, GL_BUFFER_VARIABLE, indicesBV["a[0][0]"], 9, props3, 9, expected5, error); in Run()
2763 return error; in Run()
2807 long error = NO_ERROR; in Run() local
2828 VerifyGetProgramInterfaceiv(vs, GL_UNIFORM, GL_MAX_NAME_LENGTH, 2, error); in Run()
2829 VerifyGetProgramInterfaceiv(vs, GL_UNIFORM, GL_ACTIVE_RESOURCES, 2, error); in Run()
2830 VerifyGetProgramInterfaceiv(vs, GL_PROGRAM_INPUT, GL_MAX_NAME_LENGTH, 10, error); in Run()
2831 VerifyGetProgramInterfaceiv(vs, GL_PROGRAM_INPUT, GL_ACTIVE_RESOURCES, 1, error); in Run()
2832 VerifyGetProgramInterfaceiv(vs, GL_PROGRAM_OUTPUT, GL_MAX_NAME_LENGTH, 12, error); in Run()
2833 VerifyGetProgramInterfaceiv(vs, GL_PROGRAM_OUTPUT, GL_ACTIVE_RESOURCES, 5, error); in Run()
2838 VerifyGetProgramResourceIndex(vs, GL_UNIFORM, indicesU, "u", error); in Run()
2839 VerifyGetProgramResourceIndex(vs, GL_UNIFORM, indicesU, "v", error); in Run()
2840 VerifyGetProgramResourceIndex(vs, GL_PROGRAM_INPUT, indicesI, "in_vertex", error); in Run()
2841 VerifyGetProgramResourceIndex(vs, GL_PROGRAM_OUTPUT, indicesO, "r", error); in Run()
2842 VerifyGetProgramResourceIndex(vs, GL_PROGRAM_OUTPUT, indicesO, "g", error); in Run()
2843 VerifyGetProgramResourceIndex(vs, GL_PROGRAM_OUTPUT, indicesO, "b", error); in Run()
2844 VerifyGetProgramResourceIndex(vs, GL_PROGRAM_OUTPUT, indicesO, "iLikePie", error); in Run()
2845 VerifyGetProgramResourceIndex(vs, GL_PROGRAM_OUTPUT, indicesO, "gl_Position", error); in Run()
2847 VerifyGetProgramResourceName(vs, GL_UNIFORM, indicesU["u"], "u", error); in Run()
2848 VerifyGetProgramResourceName(vs, GL_UNIFORM, indicesU["v"], "v", error); in Run()
2849 VerifyGetProgramResourceName(vs, GL_PROGRAM_INPUT, indicesI["in_vertex"], "in_vertex", error); in Run()
2850 VerifyGetProgramResourceName(vs, GL_PROGRAM_OUTPUT, indicesO["r"], "r", error); in Run()
2851 VerifyGetProgramResourceName(vs, GL_PROGRAM_OUTPUT, indicesO["g"], "g", error); in Run()
2852 VerifyGetProgramResourceName(vs, GL_PROGRAM_OUTPUT, indicesO["b"], "b", error); in Run()
2853 VerifyGetProgramResourceName(vs, GL_PROGRAM_OUTPUT, indicesO["iLikePie"], "iLikePie", error); in Run()
2854 …VerifyGetProgramResourceName(vs, GL_PROGRAM_OUTPUT, indicesO["gl_Position"], "gl_Position", error); in Run()
2856 VerifyGetProgramResourceLocation(vs, GL_UNIFORM, "u", glGetUniformLocation(vs, "u"), error); in Run()
2857 VerifyGetProgramResourceLocation(vs, GL_UNIFORM, "v", glGetUniformLocation(vs, "v"), error); in Run()
2858 VerifyGetProgramResourceLocation(vs, GL_PROGRAM_INPUT, "in_vertex", 0, error); in Run()
2874 VerifyGetProgramResourceiv(vs, GL_UNIFORM, indicesU["v"], 13, props, 13, expected, error); in Run()
2884 …yGetProgramResourceiv(vs, GL_PROGRAM_INPUT, indicesI["in_vertex"], 7, props2, 7, expected2, error); in Run()
2893 …yGetProgramResourceiv(vs, GL_PROGRAM_OUTPUT, indicesO["iLikePie"], 6, props3, 6, expected3, error); in Run()
2896 return error; in Run()
2915 long error = NO_ERROR; in Run() local
2929 VerifyGetProgramInterfaceiv(tcs, GL_PROGRAM_INPUT, GL_MAX_NAME_LENGTH, 9, error); in Run()
2930 VerifyGetProgramInterfaceiv(tcs, GL_PROGRAM_INPUT, GL_ACTIVE_RESOURCES, 1, error); in Run()
2931 VerifyGetProgramInterfaceiv(tcs, GL_PROGRAM_OUTPUT, GL_MAX_NAME_LENGTH, 9, error); in Run()
2932 VerifyGetProgramInterfaceiv(tcs, GL_PROGRAM_OUTPUT, GL_ACTIVE_RESOURCES, 1, error); in Run()
2933 VerifyGetProgramInterfaceiv(tcs, GL_UNIFORM, GL_MAX_NAME_LENGTH, 2, error); in Run()
2934 VerifyGetProgramInterfaceiv(tcs, GL_UNIFORM, GL_ACTIVE_RESOURCES, 1, error); in Run()
2939 VerifyGetProgramResourceIndex(tcs, GL_PROGRAM_INPUT, indicesI, "vs_color", error); in Run()
2940 VerifyGetProgramResourceIndex(tcs, GL_PROGRAM_OUTPUT, indicesO, "fs_color", error); in Run()
2941 VerifyGetProgramResourceIndex(tcs, GL_UNIFORM, indicesU, "x", error); in Run()
2943 VerifyGetProgramResourceName(tcs, GL_PROGRAM_INPUT, indicesI["vs_color"], "vs_color", error); in Run()
2944 VerifyGetProgramResourceName(tcs, GL_PROGRAM_OUTPUT, indicesO["fs_color"], "fs_color", error); in Run()
2945 VerifyGetProgramResourceName(tcs, GL_UNIFORM, indicesU["x"], "x", error); in Run()
2947 VerifyGetProgramResourceLocation(tcs, GL_UNIFORM, "x", 1, error); in Run()
2956 …yGetProgramResourceiv(tcs, GL_PROGRAM_INPUT, indicesI["vs_color"], 6, props2, 6, expected2, error); in Run()
2957 …GetProgramResourceiv(tcs, GL_PROGRAM_OUTPUT, indicesO["fs_color"], 6, props2, 6, expected2, error); in Run()
2973 VerifyGetProgramResourceiv(tcs, GL_UNIFORM, indicesU["x"], 13, props, 13, expected, error); in Run()
2976 return error; in Run()
3022 long error = NO_ERROR; in Run() local
3025 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "a", error); in Run()
3026 VerifyGetProgramResourceIndex(program, GL_UNIFORM, indicesU, "b", error); in Run()
3030 VerifyGetProgramResourceiv(program, GL_UNIFORM, indicesU["a"], 1, props, 1, expected, error); in Run()
3062 return error; in Run()
3104 long error = NO_ERROR; in Run() local
3106 …ifyGetProgramResourceLocation(program, GL_UNIFORM, "a", glGetUniformLocation(program, "a"), error); in Run()
3107 …GetProgramResourceLocation(program, GL_UNIFORM, "a[0]", glGetUniformLocation(program, "a"), error); in Run()
3108 …ProgramResourceLocation(program, GL_UNIFORM, "a[1]", glGetUniformLocation(program, "a[1]"), error); in Run()
3109 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a[2]", -1, error); in Run()
3110 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a[0 + 0]", -1, error); in Run()
3111 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a[0+0]", -1, error); in Run()
3112 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a[ 0]", -1, error); in Run()
3113 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a[0 ]", -1, error); in Run()
3114 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a[\n0]", -1, error); in Run()
3115 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a[\t0]", -1, error); in Run()
3116 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a[01]", -1, error); in Run()
3117 VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a[00]", -1, error); in Run()
3120 return error; in Run()
3162 long error = NO_ERROR; in Run() local
3173 error = ERROR; in Run()
3180 error = ERROR; in Run()
3186 error = ERROR; in Run()
3209 error = ERROR; in Run()
3216 error = ERROR; in Run()
3222 error = ERROR; in Run()
3226 return error; in Run()
3278 long error = NO_ERROR; in Run() local
3280 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_ACTIVE_RESOURCES, 4, error); in Run()
3281 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_MAX_NAME_LENGTH, 2, error); in Run()
3282 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_OUTPUT, GL_ACTIVE_RESOURCES, 4, error); in Run()
3283 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_OUTPUT, GL_MAX_NAME_LENGTH, 5, error); in Run()
3287 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indicesI, "a", error); in Run()
3288 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indicesI, "b", error); in Run()
3289 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indicesI, "c", error); in Run()
3290 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indicesI, "d", error); in Run()
3291 VerifyGetProgramResourceIndex(program, GL_PROGRAM_OUTPUT, indicesO, "a", error); in Run()
3292 VerifyGetProgramResourceIndex(program, GL_PROGRAM_OUTPUT, indicesO, "b", error); in Run()
3293 VerifyGetProgramResourceIndex(program, GL_PROGRAM_OUTPUT, indicesO, "c", error); in Run()
3294 VerifyGetProgramResourceIndex(program, GL_PROGRAM_OUTPUT, indicesO, "d[0]", error); in Run()
3296 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indicesI["a"], "a", error); in Run()
3297 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indicesI["b"], "b", error); in Run()
3298 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indicesI["c"], "c", error); in Run()
3299 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, indicesI["d"], "d", error); in Run()
3300 VerifyGetProgramResourceName(program, GL_PROGRAM_OUTPUT, indicesO["a"], "a", error); in Run()
3301 VerifyGetProgramResourceName(program, GL_PROGRAM_OUTPUT, indicesO["b"], "b", error); in Run()
3302 VerifyGetProgramResourceName(program, GL_PROGRAM_OUTPUT, indicesO["c"], "c", error); in Run()
3303 VerifyGetProgramResourceName(program, GL_PROGRAM_OUTPUT, indicesO["d[0]"], "d[0]", error); in Run()
3307 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, locationsI, "a", error); in Run()
3308 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, locationsI, "b", error); in Run()
3309 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, locationsI, "c", error); in Run()
3310 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, locationsI, "d", error); in Run()
3311 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, locationsO, "a", error); in Run()
3312 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, locationsO, "b", error); in Run()
3313 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, locationsO, "c", error); in Run()
3314 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, locationsO, "d[0]", error); in Run()
3323 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indicesI["a"], 6, props, 6, expected, error); in Run()
3324 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indicesI["b"], 6, props, 6, expected, error); in Run()
3325 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indicesI["d"], 6, props, 6, expected, error); in Run()
3326 …VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indicesI["c"], 6, props, 6, expected, error); in Run()
3328 …rifyGetProgramResourceiv(program, GL_PROGRAM_OUTPUT, indicesO["a"], 6, props, 6, expected3, error); in Run()
3329 …rifyGetProgramResourceiv(program, GL_PROGRAM_OUTPUT, indicesO["b"], 6, props, 6, expected3, error); in Run()
3330 …rifyGetProgramResourceiv(program, GL_PROGRAM_OUTPUT, indicesO["c"], 6, props, 6, expected3, error); in Run()
3332 …yGetProgramResourceiv(program, GL_PROGRAM_OUTPUT, indicesO["d[0]"], 6, props, 6, expected4, error); in Run()
3335 return error; in Run()
3370 long error = NO_ERROR; in Run() local
3372 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_OUTPUT, GL_ACTIVE_RESOURCES, 1, error); in Run()
3373 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_OUTPUT, GL_MAX_NAME_LENGTH, 13, error); in Run()
3376 VerifyGetProgramResourceIndex(program, GL_PROGRAM_OUTPUT, indices, "gl_FragDepth", error); in Run()
3378 …GetProgramResourceName(program, GL_PROGRAM_OUTPUT, indices["gl_FragDepth"], "gl_FragDepth", error); in Run()
3380 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, "gl_FragDepth", -1, error); in Run()
3391 props, DE_LENGTH_OF_ARRAY(expected), expected, error); in Run()
3394 return error; in Run()
3450 long error = NO_ERROR; in Run() local
3452 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_ACTIVE_RESOURCES, 1, error); in Run()
3453 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_INPUT, GL_MAX_NAME_LENGTH, 9, error); in Run()
3454 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_OUTPUT, GL_ACTIVE_RESOURCES, 1, error); in Run()
3455 VerifyGetProgramInterfaceiv(program, GL_PROGRAM_OUTPUT, GL_MAX_NAME_LENGTH, 6, error); in Run()
3457 VerifyGetProgramResourceIndex(program, GL_PROGRAM_OUTPUT, "color", 0, error); in Run()
3458 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, "position", 0, error); in Run()
3460 VerifyGetProgramResourceName(program, GL_PROGRAM_OUTPUT, 0, "color", error); in Run()
3461 VerifyGetProgramResourceName(program, GL_PROGRAM_INPUT, 0, "position", error); in Run()
3463 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "position", 0, error); in Run()
3464 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, "color", 0, error); in Run()
3475 DE_LENGTH_OF_ARRAY(expected), expected, error); in Run()
3485 VerifyGetProgramResourceiv(program, GL_PROGRAM_OUTPUT, 0, 7, props2, 7, expected2, error); in Run()
3489 return error; in Run()
3535 long error = NO_ERROR; in Run() local
3537 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "pos", 1, error); in Run()
3564 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "position", -1, error); in Run()
3565 ExpectError(GL_INVALID_OPERATION, error); in Run()
3566 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "pos", -1, error); in Run()
3567 ExpectError(GL_INVALID_OPERATION, error); in Run()
3568 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, "color", -1, error); in Run()
3569 ExpectError(GL_INVALID_OPERATION, error); in Run()
3572 return error; in Run()
3653 long error = NO_ERROR; in Run() local
3655 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "posit", 1, error); in Run()
3687 VerifyGetProgramResourceLocation(program, GL_PROGRAM_INPUT, "position", -1, error); in Run()
3688 ExpectError(GL_INVALID_OPERATION, error); in Run()
3695 error = ERROR; in Run()
3703 error = ERROR; in Run()
3705 VerifyGetProgramResourceLocation(program, GL_PROGRAM_OUTPUT, "color", -1, error); in Run()
3706 ExpectError(GL_INVALID_OPERATION, error); in Run()
3709 return error; in Run()