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.");
365 m_log << TestLog::EndSection;
383 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER.");
388 m_log << TestLog::EndSection;
390 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.");
395 m_log << TestLog::EndSection;
397 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.");
402 m_log << TestLog::EndSection;
422 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is not an accepted value.");
427 m_log << TestLog::EndSection;
429 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.");
434 m_log << TestLog::EndSection;
436 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is GL_DEPTH or GL_DEPTH_STENCIL.");
441 m_log << TestLog::EndSection;
443 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_STENCIL and drawBuffer is not zero.");
446 m_log << TestLog::EndSection;
466 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is not an accepted value.");
471 m_log << TestLog::EndSection;
473 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.");
478 m_log << TestLog::EndSection;
480 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is GL_DEPTH, GL_STENCIL or GL_DEPTH_STENCIL.");
487 m_log << TestLog::EndSection;
507 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is not an accepted value.");
512 m_log << TestLog::EndSection;
514 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.");
519 m_log << TestLog::EndSection;
521 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is GL_STENCIL or GL_DEPTH_STENCIL.");
526 m_log << TestLog::EndSection;
528 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_DEPTH and drawBuffer is not zero.");
531 m_log << TestLog::EndSection;
538 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is not an accepted value.");
543 m_log << TestLog::EndSection;
545 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is not GL_DEPTH_STENCIL.");
552 m_log << TestLog::EndSection;
554 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_DEPTH_STENCIL and drawBuffer is not zero.");
557 m_log << TestLog::EndSection;
571 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if any of readoffset, writeoffset or size is negative.");
578 m_log << TestLog::EndSection;
580 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if readoffset + size exceeds the size of the buffer object bound to readtarget.");
587 m_log << TestLog::EndSection;
589 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if writeoffset + size exceeds the size of the buffer object bound to writetarget.");
596 m_log << TestLog::EndSection;
598 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.");
607 m_log << TestLog::EndSection;
609 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if zero is bound to readtarget or writetarget.");
620 m_log << TestLog::EndSection;
622 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the buffer object bound to either readtarget or writetarget is mapped.");
632 m_log << TestLog::EndSection;
658 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if one of the values in bufs is not an accepted value.");
661 m_log << TestLog::EndSection;
663 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the GL is bound to the default framebuffer and n is not 1.");
667 m_log << TestLog::EndSection;
669 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.");
673 m_log << TestLog::EndSection;
675 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.");
679 m_log << TestLog::EndSection;
681 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is less than 0 or greater than GL_MAX_DRAW_BUFFERS.");
686 m_log << TestLog::EndSection;
702 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.");
713 m_log << TestLog::EndSection;
715 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if zero is bound to target.");
719 m_log << TestLog::EndSection;
721 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.");
729 m_log << TestLog::EndSection;
744 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if either of offset or length is negative.");
750 m_log << TestLog::EndSection;
752 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if offset + length is greater than the value of GL_BUFFER_SIZE.");
761 m_log << TestLog::EndSection;
763 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if access has any bits set other than those accepted.");
769 m_log << TestLog::EndSection;
771 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the buffer is already in a mapped state.");
777 m_log << TestLog::EndSection;
779 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if neither GL_MAP_READ_BIT or GL_MAP_WRITE_BIT is set.");
782 m_log << TestLog::EndSection;
784 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if ");
787 m_log << TestLog::EndSection;
789 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.");
798 m_log << TestLog::EndSection;
800 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.");
803 m_log << TestLog::EndSection;
823 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if mode is not GL_BACK, GL_NONE, or GL_COLOR_ATTACHMENTi.");
846 m_log << TestLog::EndSection;
848 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.");
860 m_log << TestLog::EndSection;
862 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.");
866 m_log << TestLog::EndSection;
868 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.");
872 m_log << TestLog::EndSection;
887 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the buffer data store is already in an unmapped state.");
890 m_log << TestLog::EndSection;
898 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_FRAMEBUFFER.");
903 m_log << TestLog::EndSection;
907 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER.");
912 m_log << TestLog::EndSection;
916 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_FRAMEBUFFER.");
921 m_log << TestLog::EndSection;
925 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is negative.");
928 m_log << TestLog::EndSection;
932 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is negative.");
935 m_log << TestLog::EndSection;
939 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is negative.");
942 m_log << TestLog::EndSection;
946 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if n is negative.");
949 m_log << TestLog::EndSection;
959 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not one of the accepted tokens.");
962 m_log << TestLog::EndSection;
964 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if renderbuffertarget is not GL_RENDERBUFFER.");
969 m_log << TestLog::EndSection;
971 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if renderbuffer is neither 0 nor the name of an existing renderbuffer object.");
974 m_log << TestLog::EndSection;
976 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if zero is bound to target.");
980 m_log << TestLog::EndSection;
998 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not one of the accepted tokens.");
1001 m_log << TestLog::EndSection;
1003 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if textarget is not an accepted texture target.");
1006 m_log << TestLog::EndSection;
1008 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if level is less than 0 or larger than log_2 of maximum texture size.");
1018 m_log << TestLog::EndSection;
1020 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if texture is neither 0 nor the name of an existing texture object.");
1023 m_log << TestLog::EndSection;
1025 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if textarget and texture are not compatible.");
1033 m_log << TestLog::EndSection;
1035 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if zero is bound to target.");
1039 m_log << TestLog::EndSection;
1049 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER.");
1054 m_log << TestLog::EndSection;
1056 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if internalformat is not a color-renderable, depth-renderable, or stencil-renderable format.");
1072 m_log << TestLog::EndSection;
1074 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if width or height is less than zero.");
1081 m_log << TestLog::EndSection;
1083 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if width or height is greater than GL_MAX_RENDERBUFFER_SIZE.");
1092 m_log << TestLog::EndSection;
1127 m_log << TestLog
1134 m_log << TestLog::EndSection;
1136 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.");
1141 m_log << TestLog::Message << "// Read buffer: GL_RGBA32UI, draw buffer: GL_RGBA" << TestLog::EndMessage;
1147 m_log << TestLog::Message << "// Read buffer: GL_RGBA32I, draw buffer: GL_RGBA" << TestLog::EndMessage;
1156 m_log << TestLog::Message << "// Read buffer: GL_RGBA8, draw buffer: GL_RGBA32I" << TestLog::EndMessage;
1159 m_log << TestLog::EndSection;
1161 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if filter is GL_LINEAR and the read buffer contains integer data.");
1169 m_log << TestLog::Message << "// Read buffer: GL_RGBA32UI, draw buffer: GL_RGBA32UI" << TestLog::EndMessage;
1172 m_log << TestLog::EndSection;
1174 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.");
1182 m_log << TestLog::EndSection;
1210 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the value of GL_SAMPLE_BUFFERS for the draw buffer is greater than zero.");
1215 m_log << TestLog::EndSection;
1217 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.");
1222 m_log << TestLog::EndSection;
1224 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.");
1229 m_log << TestLog::EndSection;
1258 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not one of the accepted tokens.");
1263 m_log << TestLog::EndSection;
1265 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if attachment is not one of the accepted tokens.");
1270 m_log << TestLog::EndSection;
1272 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.");
1277 m_log << TestLog::EndSection;
1279 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if texture is not zero and layer is negative.");
1282 m_log << TestLog::EndSection;
1284 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.");
1289 m_log << TestLog::EndSection;
1291 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.");
1296 m_log << TestLog::EndSection;
1298 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if zero is bound to target.");
1302 m_log << TestLog::EndSection;
1328 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER or GL_DRAW_FRAMEBUFFER.");
1333 m_log << TestLog::EndSection;
1335 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.");
1338 m_log << TestLog::EndSection;
1362 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER or GL_DRAW_FRAMEBUFFER.");
1367 m_log << TestLog::EndSection;
1369 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.");
1372 m_log << TestLog::EndSection;
1386 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER.");
1391 m_log << TestLog::EndSection;
1393 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if samples is greater than the maximum number of samples supported for internalformat.");
1396 m_log << TestLog::EndSection;
1398 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if internalformat is not a color-renderable, depth-renderable, or stencil-renderable format.");
1414 m_log << TestLog::EndSection;
1416 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if width or height is less than zero.");
1423 m_log << TestLog::EndSection;
1425 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if width or height is greater than GL_MAX_RENDERBUFFER_SIZE.");
1434 m_log << TestLog::EndSection;