Lines Matching refs:GL_INVALID_VALUE
55 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative.");
57 ctx.expectError(GL_INVALID_VALUE);
63 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative.");
65 ctx.expectError(GL_INVALID_VALUE);
85 ctx.beginSection("GL_INVALID_VALUE is generated if size is negative.");
87 ctx.expectError(GL_INVALID_VALUE);
135 ctx.beginSection("GL_INVALID_VALUE is generated if offset or size is negative, or if together they define a region of memory that extends beyond the buffer object's allocated data store.");
137 ctx.expectError(GL_INVALID_VALUE);
139 ctx.expectError(GL_INVALID_VALUE);
141 ctx.expectError(GL_INVALID_VALUE);
143 ctx.expectError(GL_INVALID_VALUE);
145 ctx.expectError(GL_INVALID_VALUE);
147 ctx.expectError(GL_INVALID_VALUE);
155 ctx.beginSection("GL_INVALID_VALUE is generated if any bit other than the three defined bits is set in mask.");
159 ctx.expectError(GL_INVALID_VALUE);
161 ctx.expectError(GL_INVALID_VALUE);
163 ctx.expectError(GL_INVALID_VALUE);
177 ctx.beginSection("GL_INVALID_VALUE is generated if either width or height is negative.");
179 ctx.expectError(GL_INVALID_VALUE);
181 ctx.expectError(GL_INVALID_VALUE);
183 ctx.expectError(GL_INVALID_VALUE);
216 ctx.beginSection("GL_INVALID_VALUE is generated if either width or height is negative.");
218 ctx.expectError(GL_INVALID_VALUE);
220 ctx.expectError(GL_INVALID_VALUE);
222 ctx.expectError(GL_INVALID_VALUE);
397 ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_TRANSFORM_FEEDBACK_BUFFER and index is greater than or equal to GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS.");
400 ctx.expectError(GL_INVALID_VALUE);
403 ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_UNIFORM_BUFFER and index is greater than or equal to GL_MAX_UNIFORM_BUFFER_BINDINGS.");
406 ctx.expectError(GL_INVALID_VALUE);
409 ctx.beginSection("GL_INVALID_VALUE is generated if size is less than or equal to zero.");
411 ctx.expectError(GL_INVALID_VALUE);
413 ctx.expectError(GL_INVALID_VALUE);
416 ctx.beginSection("GL_INVALID_VALUE is generated if offset is less than zero.");
418 ctx.expectError(GL_INVALID_VALUE);
421 ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_TRANSFORM_FEEDBACK_BUFFER and size or offset are not multiples of 4.");
423 ctx.expectError(GL_INVALID_VALUE);
425 ctx.expectError(GL_INVALID_VALUE);
427 ctx.expectError(GL_INVALID_VALUE);
430 ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_UNIFORM_BUFFER and offset is not a multiple of GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT.");
433 ctx.expectError(GL_INVALID_VALUE);
440 ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_ATOMIC_COUNTER_BUFFER and index is greater than or equal to GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS.");
443 ctx.expectError(GL_INVALID_VALUE);
446 ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_SHADER_STORAGE_BUFFER and index is greater than or equal to GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS.");
449 ctx.expectError(GL_INVALID_VALUE);
452 ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_ATOMIC_COUNTER_BUFFER and offset is not multiples of 4.");
454 ctx.expectError(GL_INVALID_VALUE);
461 ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_SHADER_STORAGE_BUFFER and offset is not a multiple of the value of GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT.");
463 ctx.expectError(GL_INVALID_VALUE);
495 ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_UNIFORM_BUFFER and index is greater than or equal to GL_MAX_UNIFORM_BUFFER_BINDINGS.");
498 ctx.expectError(GL_INVALID_VALUE);
501 ctx.beginSection("GL_INVALID_VALUE is generated if target is GL_TRANSFORM_FEEDBACK_BUFFER andindex is greater than or equal to GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS.");
504 ctx.expectError(GL_INVALID_VALUE);
541 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR or GL_STENCIL and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
544 ctx.expectError (GL_INVALID_VALUE);
547 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR or GL_STENCIL and drawBuffer is negative.");
549 ctx.expectError (GL_INVALID_VALUE);
552 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_STENCIL and drawBuffer is not zero.");
554 ctx.expectError (GL_INVALID_VALUE);
593 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
596 ctx.expectError (GL_INVALID_VALUE);
599 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR and drawBuffer is negative.");
601 ctx.expectError (GL_INVALID_VALUE);
638 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
641 ctx.expectError (GL_INVALID_VALUE);
644 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR and drawBuffer is negative.");
646 ctx.expectError (GL_INVALID_VALUE);
649 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_DEPTH and drawBuffer is not zero.");
651 ctx.expectError (GL_INVALID_VALUE);
673 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_DEPTH_STENCIL and drawBuffer is not zero.");
675 ctx.expectError (GL_INVALID_VALUE);
691 ctx.beginSection("GL_INVALID_VALUE is generated if any of readoffset, writeoffset or size is negative.");
693 ctx.expectError (GL_INVALID_VALUE);
695 ctx.expectError (GL_INVALID_VALUE);
697 ctx.expectError (GL_INVALID_VALUE);
700 ctx.beginSection("GL_INVALID_VALUE is generated if readoffset + size exceeds the size of the buffer object bound to readtarget.");
702 ctx.expectError (GL_INVALID_VALUE);
704 ctx.expectError (GL_INVALID_VALUE);
706 ctx.expectError (GL_INVALID_VALUE);
709 ctx.beginSection("GL_INVALID_VALUE is generated if writeoffset + size exceeds the size of the buffer object bound to writetarget.");
711 ctx.expectError (GL_INVALID_VALUE);
713 ctx.expectError (GL_INVALID_VALUE);
715 ctx.expectError (GL_INVALID_VALUE);
718 ctx.beginSection("GL_INVALID_VALUE is generated if the same buffer object is bound to both readtarget and writetarget and the ranges [readoffset, readoffset + size) and [writeoffset, writeoffset + size) overlap.");
723 ctx.expectError (GL_INVALID_VALUE);
725 ctx.expectError (GL_INVALID_VALUE);
821 ctx.beginSection("GL_INVALID_VALUE is generated if n is less than 0 or greater than GL_MAX_DRAW_BUFFERS.");
823 ctx.expectError (GL_INVALID_VALUE);
825 ctx.expectError (GL_INVALID_VALUE);
848 ctx.beginSection("GL_INVALID_VALUE is generated if offset or length is negative, or if offset + length exceeds the size of the mapping.");
850 ctx.expectError (GL_INVALID_VALUE);
852 ctx.expectError (GL_INVALID_VALUE);
854 ctx.expectError (GL_INVALID_VALUE);
856 ctx.expectError (GL_INVALID_VALUE);
858 ctx.expectError (GL_INVALID_VALUE);
891 ctx.beginSection("GL_INVALID_VALUE is generated if either of offset or length is negative.");
893 ctx.expectError (GL_INVALID_VALUE);
896 ctx.expectError (GL_INVALID_VALUE);
899 ctx.beginSection("GL_INVALID_VALUE is generated if offset + length is greater than the value of GL_BUFFER_SIZE.");
901 ctx.expectError (GL_INVALID_VALUE);
904 ctx.expectError (GL_INVALID_VALUE);
907 ctx.expectError (GL_INVALID_VALUE);
910 ctx.beginSection("GL_INVALID_VALUE is generated if access has any bits set other than those accepted.");
912 ctx.expectError (GL_INVALID_VALUE);
915 ctx.expectError (GL_INVALID_VALUE);
1078 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative.");
1080 ctx.expectError(GL_INVALID_VALUE);
1086 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative.");
1088 ctx.expectError(GL_INVALID_VALUE);
1094 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative.");
1096 ctx.expectError(GL_INVALID_VALUE);
1102 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative.");
1104 ctx.expectError(GL_INVALID_VALUE);
1174 ctx.expectError(GL_INVALID_VALUE);
1231 ctx.beginSection("GL_INVALID_VALUE is generated if level is less than 0 or larger than log_2 of maximum texture size.");
1233 ctx.expectError(GL_INVALID_VALUE);
1236 ctx.expectError(GL_INVALID_VALUE);
1239 ctx.expectError(GL_INVALID_VALUE);
1242 ctx.beginSection("GL_INVALID_VALUE is generated if level is larger than maximum texture size.");
1244 ctx.expectError(GL_INVALID_VALUE);
1246 ctx.expectError(GL_INVALID_VALUE);
1248 ctx.expectError(GL_INVALID_VALUE);
1250 ctx.expectError(GL_INVALID_VALUE);
1252 ctx.expectError(GL_INVALID_VALUE);
1330 ctx.beginSection("GL_INVALID_VALUE is generated if width or height is less than zero.");
1332 ctx.expectError (GL_INVALID_VALUE);
1334 ctx.expectError (GL_INVALID_VALUE);
1336 ctx.expectError (GL_INVALID_VALUE);
1339 ctx.beginSection("GL_INVALID_VALUE is generated if width or height is greater than GL_MAX_RENDERBUFFER_SIZE.");
1342 ctx.expectError (GL_INVALID_VALUE);
1344 ctx.expectError (GL_INVALID_VALUE);
1346 ctx.expectError (GL_INVALID_VALUE);
1385 ctx.beginSection("GL_INVALID_VALUE is generated if mask contains any bits other than GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, or GL_STENCIL_BUFFER_BIT.");
1387 ctx.expectError (GL_INVALID_VALUE);
1605 ctx.beginSection("GL_INVALID_VALUE is generated if texture is not zero and layer is negative.");
1607 ctx.expectError (GL_INVALID_VALUE);
1610 ctx.beginSection("GL_INVALID_VALUE is generated if texture is not zero and layer is greater than GL_MAX_3D_TEXTURE_SIZE-1 for a 3D texture.");
1612 ctx.expectError (GL_INVALID_VALUE);
1615 ctx.beginSection("GL_INVALID_VALUE is generated if texture is not zero and layer is greater than GL_MAX_ARRAY_TEXTURE_LAYERS-1 for a 2D array texture.");
1617 ctx.expectError (GL_INVALID_VALUE);
1627 ctx.beginSection("GL_INVALID_VALUE is generated if texture is a 3D texture and level is less than 0 or greater than log2 of the value of GL_MAX_3D_TEXTURE_SIZE.");
1630 ctx.expectError (GL_INVALID_VALUE);
1632 ctx.expectError (GL_INVALID_VALUE);
1635 ctx.beginSection("GL_INVALID_VALUE is generated if texture is a 2D array texture and level is less than 0 or greater than log2 of the value of GL_MAX_TEXTURE_SIZE.");
1638 ctx.expectError (GL_INVALID_VALUE);
1640 ctx.expectError (GL_INVALID_VALUE);
1656 ctx.beginSection("GL_INVALID_VALUE is generated if texture is a 2D multisample array texture and level is not 0.");
1658 ctx.expectError (GL_INVALID_VALUE);
1660 ctx.expectError (GL_INVALID_VALUE);
1663 ctx.beginSection("GL_INVALID_VALUE is generated if texture is a cube map array texture and layer is larger than MAX_ARRAY_TEXTURE_LAYERS-1. (See Khronos bug 15968)");
1665 ctx.expectError (GL_INVALID_VALUE);
1717 ctx.beginSection("GL_INVALID_VALUE is generated if numAttachments is negative.");
1719 ctx.expectError (GL_INVALID_VALUE);
1766 ctx.beginSection("GL_INVALID_VALUE is generated if numAttachments, width, or heigh is negative.");
1768 ctx.expectError (GL_INVALID_VALUE);
1770 ctx.expectError (GL_INVALID_VALUE);
1772 ctx.expectError (GL_INVALID_VALUE);
1774 ctx.expectError (GL_INVALID_VALUE);
1776 ctx.expectError (GL_INVALID_VALUE);
1778 ctx.expectError (GL_INVALID_VALUE);
1780 ctx.expectError (GL_INVALID_VALUE);
1842 ctx.beginSection("GL_INVALID_VALUE is generated if width or height is less than zero.");
1844 ctx.expectError (GL_INVALID_VALUE);
1846 ctx.expectError (GL_INVALID_VALUE);
1848 ctx.expectError (GL_INVALID_VALUE);
1850 ctx.expectError (GL_INVALID_VALUE);
1852 ctx.expectError (GL_INVALID_VALUE);
1854 ctx.expectError (GL_INVALID_VALUE);
1856 ctx.expectError (GL_INVALID_VALUE);
1859 ctx.beginSection("GL_INVALID_VALUE is generated if width or height is greater than GL_MAX_RENDERBUFFER_SIZE.");
1862 ctx.expectError (GL_INVALID_VALUE);
1864 ctx.expectError (GL_INVALID_VALUE);
1866 ctx.expectError (GL_INVALID_VALUE);
1910 ctx.beginSection("GL_INVALID_VALUE is generated if srcWidth, srcHeight, or srcDepth is negative.");
1912 ctx.expectError (GL_INVALID_VALUE);
1914 ctx.expectError (GL_INVALID_VALUE);
1916 ctx.expectError (GL_INVALID_VALUE);
1918 ctx.expectError (GL_INVALID_VALUE);
1920 ctx.expectError (GL_INVALID_VALUE);
1922 ctx.expectError (GL_INVALID_VALUE);
1924 ctx.expectError (GL_INVALID_VALUE);
1927 ctx.beginSection("GL_INVALID_VALUE is generated if srcLevel and dstLevel are not valid levels for the corresponding images.");
1929 ctx.expectError (GL_INVALID_VALUE);
1931 ctx.expectError (GL_INVALID_VALUE);
1933 ctx.expectError (GL_INVALID_VALUE);
1935 ctx.expectError (GL_INVALID_VALUE);
1937 ctx.expectError (GL_INVALID_VALUE);
1939 ctx.expectError (GL_INVALID_VALUE);
1941 ctx.expectError (GL_INVALID_VALUE);
1943 ctx.expectError (GL_INVALID_VALUE);
1945 ctx.expectError (GL_INVALID_VALUE);
1947 ctx.expectError (GL_INVALID_VALUE);
1953 // 2. GL_INVALID_VALUE is generated if either name does not correspond to a valid renderbuffer or texture object according to the corresponding target parameter.
1973 ctx.beginSection("GL_INVALID_VALUE is generated if the dimensions of either subregion exceeds the boundaries of the corresponding image object.");
1975 ctx.expectError (GL_INVALID_VALUE);
1977 ctx.expectError (GL_INVALID_VALUE);