Home | History | Annotate | Download | only in functional

Lines Matching refs:TestLog

40 using tcu::TestLog;
57 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not one of the allowable values.");
60 m_log << TestLog::EndSection;
64 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is negative.");
67 m_log << TestLog::EndSection;
71 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is negative.");
74 m_log << TestLog::EndSection;
82 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER.");
85 m_log << TestLog::EndSection;
87 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if usage is not GL_STREAM_DRAW, GL_STATIC_DRAW, or GL_DYNAMIC_DRAW.");
90 m_log << TestLog::EndSection;
92 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if size is negative.");
95 m_log << TestLog::EndSection;
97 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target.");
101 m_log << TestLog::EndSection;
112 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER.");
115 m_log << TestLog::EndSection;
117 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target.");
121 m_log << TestLog::EndSection;
123 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the buffer object being updated is mapped.");
129 m_log << TestLog::EndSection;
140 m_log << TestLog::Section("", "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.");
153 m_log << TestLog::EndSection;
159 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if any bit other than the three defined bits is set in mask.");
168 m_log << TestLog::EndSection;
174 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the combination of format and type is unsupported.");
177 m_log << TestLog::EndSection;
179 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if either width or height is negative.");
186 m_log << TestLog::EndSection;
188 m_log << TestLog::Section("", "GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete.");
195 m_log << TestLog::EndSection;
204 m_log << TestLog::Section("", "Unsupported combinations of format and type will generate an INVALID_OPERATION error.");
217 m_log << TestLog::EndSection;
219 m_log << TestLog::Section("", "GL_RGBA/GL_UNSIGNED_BYTE is always accepted and the other acceptable pair can be discovered by querying GL_IMPLEMENTATION_COLOR_READ_FORMAT and GL_IMPLEMENTATION_COLOR_READ_TYPE.");
228 m_log << TestLog::EndSection;
245 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if currently bound framebuffer format is incompatible with format and type.");
268 m_log << TestLog::EndSection;
270 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if GL_READ_FRAMEBUFFER_BINDING is non-zero, the read framebuffer is complete, and the value of GL_SAMPLE_BUFFERS for the read framebuffer is greater than zero.");
282 m_log << TestLog::Message << "// GL_READ_FRAMEBUFFER_BINDING: " << binding << TestLog::EndMessage;
285 m_log << TestLog::Message << "// GL_SAMPLE_BUFFERS: " << sampleBuffers << TestLog::EndMessage;
290 m_log << TestLog::Message << "// ERROR: expected GL_READ_FRAMEBUFFER_BINDING to be non-zero and GL_SAMPLE_BUFFERS to be greater than zero" << TestLog::EndMessage;
300 m_log << TestLog::EndSection;
321 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER.");
324 m_log << TestLog::EndSection;
326 m_log << TestLog::Section("", "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.");
331 m_log << TestLog::EndSection;
333 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if target is GL_UNIFORM_BUFFER and index is greater than or equal to GL_MAX_UNIFORM_BUFFER_BINDINGS.");
338 m_log << TestLog::EndSection;
340 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if size is less than or equal to zero.");
345 m_log << TestLog::EndSection;
347 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if target is GL_TRANSFORM_FEEDBACK_BUFFER and size or offset are not multiples of 4.");
354 m_log << TestLog::EndSection;
356 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if target is GL_UNIFORM_BUFFER and offset is not a multiple of GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT.");
361 m_log << TestLog::EndSection;
379 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER.");
384 m_log << TestLog::EndSection;
386 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if target is GL_UNIFORM_BUFFER and index is greater than or equal to GL_MAX_UNIFORM_BUFFER_BINDINGS.");
391 m_log << TestLog::EndSection;
393 m_log << TestLog::Section("", "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.");
398 m_log << TestLog::EndSection;
418 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is not an accepted value.");
423 m_log << TestLog::EndSection;
425 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_COLOR, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, or GL_FRONT_AND_BACK and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
430 m_log << TestLog::EndSection;
432 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is GL_DEPTH or GL_DEPTH_STENCIL.");
437 m_log << TestLog::EndSection;
439 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_STENCIL and drawBuffer is not zero.");
442 m_log << TestLog::EndSection;
462 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is not an accepted value.");
467 m_log << TestLog::EndSection;
469 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_COLOR, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, or GL_FRONT_AND_BACK and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
474 m_log << TestLog::EndSection;
476 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is GL_DEPTH, GL_STENCIL or GL_DEPTH_STENCIL.");
483 m_log << TestLog::EndSection;
503 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is not an accepted value.");
508 m_log << TestLog::EndSection;
510 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_COLOR, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, or GL_FRONT_AND_BACK and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
515 m_log << TestLog::EndSection;
517 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is GL_STENCIL or GL_DEPTH_STENCIL.");
522 m_log << TestLog::EndSection;
524 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_DEPTH and drawBuffer is not zero.");
527 m_log << TestLog::EndSection;
534 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is not an accepted value.");
539 m_log << TestLog::EndSection;
541 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is not GL_DEPTH_STENCIL.");
548 m_log << TestLog::EndSection;
550 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_DEPTH_STENCIL and drawBuffer is not zero.");
553 m_log << TestLog::EndSection;
567 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if any of readoffset, writeoffset or size is negative.");
574 m_log << TestLog::EndSection;
576 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if readoffset + size exceeds the size of the buffer object bound to readtarget.");
583 m_log << TestLog::EndSection;
585 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if writeoffset + size exceeds the size of the buffer object bound to writetarget.");
592 m_log << TestLog::EndSection;
594 m_log << TestLog::Section("", "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.");
603 m_log << TestLog::EndSection;
605 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if zero is bound to readtarget or writetarget.");
616 m_log << TestLog::EndSection;
618 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the buffer object bound to either readtarget or writetarget is mapped.");
628 m_log << TestLog::EndSection;
654 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if one of the values in bufs is not an accepted value.");
657 m_log << TestLog::EndSection;
659 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the GL is bound to the default framebuffer and n is not 1.");
663 m_log << TestLog::EndSection;
665 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the GL is bound to the default framebuffer and the value in bufs is one of the GL_COLOR_ATTACHMENTn tokens.");
669 m_log << TestLog::EndSection;
671 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the GL is bound to a framebuffer object and the ith buffer listed in bufs is anything other than GL_NONE or GL_COLOR_ATTACHMENTSi.");
675 m_log << TestLog::EndSection;
677 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is less than 0 or greater than GL_MAX_DRAW_BUFFERS.");
682 m_log << TestLog::EndSection;
698 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if offset or length is negative, or if offset + length exceeds the size of the mapping.");
709 m_log << TestLog::EndSection;
711 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if zero is bound to target.");
715 m_log << TestLog::EndSection;
717 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the buffer bound to target is not mapped, or is mapped without the GL_MAP_FLUSH_EXPLICIT flag.");
725 m_log << TestLog::EndSection;
740 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if either of offset or length is negative.");
746 m_log << TestLog::EndSection;
748 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if offset + length is greater than the value of GL_BUFFER_SIZE.");
757 m_log << TestLog::EndSection;
759 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if access has any bits set other than those accepted.");
765 m_log << TestLog::EndSection;
767 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the buffer is already in a mapped state.");
773 m_log << TestLog::EndSection;
775 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if neither GL_MAP_READ_BIT or GL_MAP_WRITE_BIT is set.");
778 m_log << TestLog::EndSection;
780 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if ");
783 m_log << TestLog::EndSection;
785 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if GL_MAP_READ_BIT is set and any of GL_MAP_INVALIDATE_RANGE_BIT, GL_MAP_INVALIDATE_BUFFER_BIT, or GL_MAP_UNSYNCHRONIZED_BIT is set.");
794 m_log << TestLog::EndSection;
796 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if GL_MAP_FLUSH_EXPLICIT_BIT is set and GL_MAP_WRITE_BIT is not set.");
799 m_log << TestLog::EndSection;
819 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if mode is not GL_BACK, GL_NONE, or GL_COLOR_ATTACHMENTi.");
842 m_log << TestLog::EndSection;
844 m_log << TestLog::Section("", "GL_INVALID_OPERATION error is generated if src is GL_BACK or if src is GL_COLOR_ATTACHMENTm where m is greater than or equal to the value of GL_MAX_COLOR_ATTACHMENTS.");
856 m_log << TestLog::EndSection;
858 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the current framebuffer is the default framebuffer and mode is not GL_NONE or GL_BACK.");
862 m_log << TestLog::EndSection;
864 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the current framebuffer is a named framebuffer and mode is not GL_NONE or GL_COLOR_ATTACHMENTi.");
868 m_log << TestLog::EndSection;
883 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the buffer data store is already in an unmapped state.");
886 m_log << TestLog::EndSection;
894 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_FRAMEBUFFER.");
899 m_log << TestLog::EndSection;
903 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER.");
908 m_log << TestLog::EndSection;
912 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_FRAMEBUFFER.");
917 m_log << TestLog::EndSection;
921 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is negative.");
924 m_log << TestLog::EndSection;
928 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is negative.");
931 m_log << TestLog::EndSection;
935 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is negative.");
938 m_log << TestLog::EndSection;
942 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is negative.");
945 m_log << TestLog::EndSection;
955 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not one of the accepted tokens.");
958 m_log << TestLog::EndSection;
960 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if renderbuffertarget is not GL_RENDERBUFFER.");
965 m_log << TestLog::EndSection;
967 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if renderbuffer is neither 0 nor the name of an existing renderbuffer object.");
970 m_log << TestLog::EndSection;
972 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if zero is bound to target.");
976 m_log << TestLog::EndSection;
994 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not one of the accepted tokens.");
997 m_log << TestLog::EndSection;
999 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if textarget is not an accepted texture target.");
1002 m_log << TestLog::EndSection;
1004 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if level is less than 0 or larger than log_2 of maximum texture size.");
1014 m_log << TestLog::EndSection;
1016 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if texture is neither 0 nor the name of an existing texture object.");
1019 m_log << TestLog::EndSection;
1021 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if textarget and texture are not compatible.");
1029 m_log << TestLog::EndSection;
1031 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if zero is bound to target.");
1035 m_log << TestLog::EndSection;
1045 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER.");
1050 m_log << TestLog::EndSection;
1052 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if internalformat is not a color-renderable, depth-renderable, or stencil-renderable format.");
1068 m_log << TestLog::EndSection;
1070 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if width or height is less than zero.");
1077 m_log << TestLog::EndSection;
1079 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if width or height is greater than GL_MAX_RENDERBUFFER_SIZE.");
1088 m_log << TestLog::EndSection;
1123 m_log << TestLog
1130 m_log << TestLog::EndSection;
1132 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if mask contains GL_COLOR_BUFFER_BIT and read buffer format is incompatible with draw buffer format.");
1137 m_log << TestLog::Message << "// Read buffer: GL_RGBA32UI, draw buffer: GL_RGBA" << TestLog::EndMessage;
1143 m_log << TestLog::Message << "// Read buffer: GL_RGBA32I, draw buffer: GL_RGBA" << TestLog::EndMessage;
1152 m_log << TestLog::Message << "// Read buffer: GL_RGBA8, draw buffer: GL_RGBA32I" << TestLog::EndMessage;
1155 m_log << TestLog::EndSection;
1157 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if filter is GL_LINEAR and the read buffer contains integer data.");
1163 m_log << TestLog::Message << "// Read buffer: GL_RGBA32I, draw buffer: GL_RGBA8" << TestLog::EndMessage;
1166 m_log << TestLog::EndSection;
1168 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if mask contains GL_DEPTH_BUFFER_BIT or GL_STENCIL_BUFFER_BIT and the source and destination depth and stencil formats do not match.");
1176 m_log << TestLog::EndSection;
1204 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the value of GL_SAMPLE_BUFFERS for the draw buffer is greater than zero.");
1209 m_log << TestLog::EndSection;
1211 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if GL_SAMPLE_BUFFERS for the read buffer is greater than zero and the formats of draw and read buffers are not identical.");
1216 m_log << TestLog::EndSection;
1218 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if GL_SAMPLE_BUFFERS for the read buffer is greater than zero and the source and destination rectangles are not defined with the same (X0, Y0) and (X1, Y1) bounds.");
1223 m_log << TestLog::EndSection;
1252 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not one of the accepted tokens.");
1257 m_log << TestLog::EndSection;
1259 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if attachment is not one of the accepted tokens.");
1264 m_log << TestLog::EndSection;
1266 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if texture is non-zero and not the name of a 3D texture or 2D array texture.");
1271 m_log << TestLog::EndSection;
1273 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if texture is not zero and layer is negative.");
1276 m_log << TestLog::EndSection;
1278 m_log << TestLog::Section("", "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.");
1283 m_log << TestLog::EndSection;
1285 m_log << TestLog::Section("", "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.");
1290 m_log << TestLog::EndSection;
1292 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if zero is bound to target.");
1296 m_log << TestLog::EndSection;
1322 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER or GL_DRAW_FRAMEBUFFER.");
1327 m_log << TestLog::EndSection;
1329 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if attachments contains GL_COLOR_ATTACHMENTm and m is greater than or equal to the value of GL_MAX_COLOR_ATTACHMENTS.");
1332 m_log << TestLog::EndSection;
1356 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER or GL_DRAW_FRAMEBUFFER.");
1361 m_log << TestLog::EndSection;
1363 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if attachments contains GL_COLOR_ATTACHMENTm and m is greater than or equal to the value of GL_MAX_COLOR_ATTACHMENTS.");
1366 m_log << TestLog::EndSection;
1380 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER.");
1385 m_log << TestLog::EndSection;
1387 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if samples is greater than the maximum number of samples supported for internalformat.");
1390 m_log << TestLog::EndSection;
1392 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if internalformat is not a color-renderable, depth-renderable, or stencil-renderable format.");
1408 m_log << TestLog::EndSection;
1410 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if width or height is less than zero.");
1417 m_log << TestLog::EndSection;
1419 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if width or height is greater than GL_MAX_RENDERBUFFER_SIZE.");
1428 m_log << TestLog