Lines Matching refs:textures

1252 				<< "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE for textures allocated by the GL."
1261 << "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE for textures allocated by the GL."
1270 << "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE for textures allocated by the GL."
1279 << "GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE for textures allocated by the GL."
2405 GLuint textures[8];
2407 glGenTextures(8, textures);
2413 glBindTexture(GL_TEXTURE_1D, textures[0]);
2419 glBindTexture(GL_TEXTURE_2D, textures[1]);
2425 glBindTexture(GL_TEXTURE_3D, textures[2]);
2431 glBindTexture(GL_TEXTURE_RECTANGLE, textures[3]);
2437 glBindTexture(GL_TEXTURE_CUBE_MAP, textures[4]);
2457 glBindTexture(GL_TEXTURE_BUFFER, textures[5]);
2461 glBindTexture(GL_TEXTURE_1D_ARRAY, textures[6]);
2467 glBindTexture(GL_TEXTURE_2D_ARRAY, textures[7]);
2473 glBindImageTexture(0, textures[0], 0, GL_FALSE, 0, GL_WRITE_ONLY, internalformat);
2474 glBindImageTexture(1, textures[1], 0, GL_FALSE, 0, GL_WRITE_ONLY, internalformat);
2475 glBindImageTexture(2, textures[2], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
2476 glBindImageTexture(3, textures[3], 0, GL_FALSE, 0, GL_WRITE_ONLY, internalformat);
2477 glBindImageTexture(4, textures[4], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
2478 glBindImageTexture(5, textures[5], 0, GL_FALSE, 0, GL_WRITE_ONLY, internalformat);
2479 glBindImageTexture(6, textures[6], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
2480 glBindImageTexture(7, textures[7], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
2498 glBindTexture(GL_TEXTURE_1D, textures[0]);
2515 glBindTexture(GL_TEXTURE_2D, textures[1]);
2531 glBindTexture(GL_TEXTURE_3D, textures[2]);
2547 glBindTexture(GL_TEXTURE_RECTANGLE, textures[3]);
2564 glBindTexture(GL_TEXTURE_CUBE_MAP, textures[4]);
2585 glBindTexture(GL_TEXTURE_BUFFER, textures[5]);
2603 glBindTexture(GL_TEXTURE_1D_ARRAY, textures[6]);
2619 glBindTexture(GL_TEXTURE_2D_ARRAY, textures[7]);
2637 glDeleteTextures(8, textures);
2651 GLuint textures[2];
2652 glGenTextures(2, textures);
2656 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE, textures[0]);
2660 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, textures[1]);
2664 glBindImageTexture(1, textures[0], 0, GL_FALSE, 0, GL_WRITE_ONLY, internalformat);
2665 glBindImageTexture(4, textures[1], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
2679 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE, textures[0]);
2681 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, textures[1]);
2702 glDeleteTextures(2, textures);
2717 GLuint textures[1];
2718 glGenTextures(1, textures);
2723 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, textures[0]);
2729 glBindImageTexture(0, textures[0], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
2739 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, textures[0]);
2756 glDeleteTextures(1, textures);
2941 GLuint textures[7];
2943 glGenTextures(7, textures);
2949 glBindTexture(GL_TEXTURE_1D, textures[0]);
2955 glBindTexture(GL_TEXTURE_2D, textures[1]);
2961 glBindTexture(GL_TEXTURE_3D, textures[2]);
2967 glBindTexture(GL_TEXTURE_RECTANGLE, textures[3]);
2976 glBindTexture(GL_TEXTURE_BUFFER, textures[4]);
2980 glBindTexture(GL_TEXTURE_1D_ARRAY, textures[5]);
2986 glBindTexture(GL_TEXTURE_2D_ARRAY, textures[6]);
2992 glBindImageTexture(0, textures[0], 0, GL_FALSE, 0, GL_READ_ONLY, internalformat);
2993 glBindImageTexture(1, textures[1], 0, GL_FALSE, 0, GL_READ_ONLY, internalformat);
2994 glBindImageTexture(2, textures[2], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
2995 glBindImageTexture(3, textures[3], 0, GL_FALSE, 0, GL_READ_ONLY, internalformat);
2996 glBindImageTexture(4, textures[4], 0, GL_FALSE, 0, GL_READ_ONLY, internalformat);
2997 glBindImageTexture(5, textures[5], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
2998 glBindImageTexture(6, textures[6], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
3055 glDeleteTextures(7, textures);
3068 GLuint textures[2];
3069 glGenTextures(2, textures);
3074 glBindTexture(GL_TEXTURE_CUBE_MAP, textures[0]);
3091 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, textures[1]);
3098 glBindImageTexture(0, textures[0], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
3099 glBindImageTexture(1, textures[1], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
3141 glDeleteTextures(2, textures);
3310 GLuint textures[2];
3311 glGenTextures(2, textures);
3315 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE, textures[0]);
3319 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, textures[1]);
3326 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D_MULTISAMPLE, textures[0], 0);
3327 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, textures[1], 0, 0);
3328 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT2, textures[1], 0, 1);
3336 glBindImageTexture(1, textures[0], 0, GL_FALSE, 0, GL_READ_ONLY, internalformat);
3337 glBindImageTexture(4, textures[1], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
3377 glDeleteTextures(2, textures);
3476 GLuint textures[7];
3478 glGenTextures(7, textures);
3484 glBindTexture(GL_TEXTURE_1D, textures[0]);
3490 glBindTexture(GL_TEXTURE_2D, textures[1]);
3496 glBindTexture(GL_TEXTURE_3D, textures[2]);
3502 glBindTexture(GL_TEXTURE_RECTANGLE, textures[3]);
3511 glBindTexture(GL_TEXTURE_BUFFER, textures[4]);
3515 glBindTexture(GL_TEXTURE_1D_ARRAY, textures[5]);
3521 glBindTexture(GL_TEXTURE_2D_ARRAY, textures[6]);
3527 glBindImageTexture(0, textures[0], 0, GL_FALSE, 0, GL_READ_WRITE, internalformat);
3528 glBindImageTexture(1, textures[1], 0, GL_FALSE, 0, GL_READ_WRITE, internalformat);
3529 glBindImageTexture(2, textures[2], 0, GL_TRUE, 0, GL_READ_WRITE, internalformat);
3530 glBindImageTexture(3, textures[3], 0, GL_FALSE, 0, GL_READ_WRITE, internalformat);
3531 glBindImageTexture(4, textures[4], 0, GL_FALSE, 0, GL_READ_WRITE, internalformat);
3532 glBindImageTexture(5, textures[5], 0, GL_TRUE, 0, GL_READ_WRITE, internalformat);
3533 glBindImageTexture(6, textures[6], 0, GL_TRUE, 0, GL_READ_WRITE, internalformat);
3559 glDeleteTextures(7, textures);
3571 GLuint textures[2];
3572 glGenTextures(2, textures);
3577 glBindTexture(GL_TEXTURE_CUBE_MAP, textures[0]);
3594 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, textures[1]);
3601 glBindImageTexture(0, textures[0], 0, GL_TRUE, 0, GL_READ_WRITE, internalformat);
3602 glBindImageTexture(1, textures[1], 0, GL_TRUE, 0, GL_READ_WRITE, internalformat);
3623 glDeleteTextures(2, textures);
3634 GLuint textures[2];
3635 glGenTextures(2, textures);
3639 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE, textures[0]);
3643 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, textures[1]);
3650 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D_MULTISAMPLE, textures[0], 0);
3651 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, textures[1], 0, 0);
3652 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT2, textures[1], 0, 1);
3671 glBindImageTexture(1, textures[0], 0, GL_FALSE, 0, GL_READ_WRITE, internalformat);
3672 glBindImageTexture(4, textures[1], 0, GL_TRUE, 0, GL_READ_WRITE, internalformat);
3690 glDeleteTextures(2, textures);
3951 GLuint textures[kTargets], texture_result;
3952 glGenTextures(kTargets, textures);
3962 glBindTexture(targets[i], textures[i]);
3991 glBindImageTexture(0, textures[0], 0, GL_FALSE, 0, GL_WRITE_ONLY, internalformat);
3992 glBindImageTexture(1, textures[1], 0, GL_FALSE, 0, GL_WRITE_ONLY, internalformat);
3993 glBindImageTexture(2, textures[2], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
3994 glBindImageTexture(3, textures[3], 0, GL_FALSE, 0, GL_WRITE_ONLY, internalformat);
3995 glBindImageTexture(4, textures[4], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
3996 glBindImageTexture(5, textures[5], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
3997 glBindImageTexture(6, textures[6], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
3998 glBindImageTexture(7, textures[7], 0, GL_TRUE, 0, GL_WRITE_ONLY, internalformat);
4029 glBindTexture(targets[i], textures[i]);
4083 glBindImageTexture(1, textures[1], 0, GL_FALSE, 0, GL_READ_ONLY, internalformat);
4084 glBindImageTexture(2, textures[2], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
4085 glBindImageTexture(3, textures[3], 0, GL_FALSE, 0, GL_READ_ONLY, internalformat);
4086 glBindImageTexture(4, textures[4], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
4087 glBindImageTexture(5, textures[5], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
4088 glBindImageTexture(6, textures[6], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
4089 glBindImageTexture(7, textures[7], 0, GL_TRUE, 0, GL_READ_ONLY, internalformat);
4131 glDeleteTextures(kTargets, textures);
4437 GLuint textures[kTargets];
4439 glGenTextures(kTargets, textures);
4444 glBindTexture(targets[i], textures[i]);
4475 glBindImageTexture(1, textures[0], 0, GL_FALSE, 0, GL_READ_WRITE, internalformat);
4476 glBindImageTexture(2, textures[1], 0, GL_TRUE, 0, GL_READ_WRITE, internalformat);
4477 glBindImageTexture(3, textures[2], 0, GL_FALSE, 0, GL_READ_WRITE, internalformat);
4478 glBindImageTexture(4, textures[3], 0, GL_TRUE, 0, GL_READ_WRITE, internalformat);
4479 glBindImageTexture(5, textures[4], 0, GL_FALSE, 0, GL_READ_WRITE, internalformat);
4480 glBindImageTexture(6, textures[5], 0, GL_TRUE, 0, GL_READ_WRITE, internalformat);
4481 glBindImageTexture(7, textures[6], 0, GL_TRUE, 0, GL_READ_WRITE, internalformat);
4525 glDeleteTextures(7, textures);
6747 * - create two textures: "source" and "destination". Fill "source"
6752 * - bind "source" and "destination" textures as "source" and "destination"
6759 * Test with 2D R8UI textures with following dimensions:
6921 /* Delete textures */
6960 /* Prepare "source" and "destination" textures */
6969 /* Compare "source" and "destination" textures */
6975 << "Copy with imageLoad and imageStore failed for textures: " << it->m_width << "x" << it->m_height
6976 << ". Source and destination textures are different" << tcu::TestLog::EndMessage;
6981 /* Destroy "source" and "destination" textures */
7031 /** Compare two 2D R8UI textures
7035 * @param width Width of the textures
7036 * @param height Height of the textures
7042 /* Size of textures */
7117 /* Set up textures as source and destination images */
7400 /* Delete textures */
7441 /* Prepare "source" and "destination" textures */
7451 /* Compare "source" and "destination" textures */
7475 << ". Source and destination textures are different" << tcu::TestLog::EndMessage;
7480 /* Destroy "source" and "destination" textures */
7532 /** Compare two 2D R8UI textures
7620 /* Set up textures as source and destination image samplers */
7872 /** Test "imageLoad() and imageStore() for incomplete textures" description follows.
7874 * Load from incomplete textures should return 0.
7875 * Store to incomplete textures should be ignored.
7878 * - create two incomplete textures: "incomplete_source" and
7880 * - create two complete textures: "complete_source" and
7882 * - fill all textures with unique values,
7888 * - bind textures to corresponding image uniforms
7916 * mipmap-incomplete textures.
7918 * Test with 2D 64x64 RGBA8 textures.
7928 /* Magic numbers that will identify textures, which will be used as their
8021 /* Prepare textures */
8076 /* Delete textures */
8123 /* Copy textures data with imageLoad() and imageStore() operations */
8273 /* Compare texels, true when textures are different */
8277 /** Copy contents of "source" textures to "destination" textures with imageLoad() and imageStore() operations
8327 /* Setup textures as source and destination images */
8791 /* Prepare textures */
8848 /* Delete textures */