ErrorStrings.h (53313B)
1 // 2 // Copyright 2017 The ANGLE Project Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style license that can be 4 // found in the LICENSE file. 5 // 6 7 // ErrorStrings.h: Contains mapping of commonly used error messages 8 9 #ifndef LIBANGLE_ERRORSTRINGS_H_ 10 #define LIBANGLE_ERRORSTRINGS_H_ 11 12 namespace gl 13 { 14 namespace err 15 { 16 #define MSG constexpr const char * 17 18 // clang-format off 19 MSG k3DDepthStencil = "Format cannot be GL_DEPTH_COMPONENT or GL_DEPTH_STENCIL if target is GL_TEXTURE_3D"; 20 MSG kANGLECopyTexture3DUnavailable = "GL_ANGLE_copy_texture_3d extension not available."; 21 MSG kANGLECopyTextureMissingRequiredExtension = "Copy*TextureCHROMIUM from EXTERNAL_OES to integer format requires OES_EGL_image_external_essl3"; 22 MSG kAdvancedBlendEquationWithMRT = "Advanced blend equation can only be used when only one draw buffer is not NONE"; 23 MSG kAdvancedBlendExtensionNotEnabled = "GL_KHR_blend_equation_advanced extension not enabled."; 24 MSG kAtomicCounterResourceName = "Active atomic counter resources are not assigned name strings."; 25 MSG kAttributeListNotNull = "Attribute list must be NULL or GL_NONE"; 26 MSG kAttributeZeroRequiresDivisorLimitation = "The current context doesn't support setting a non-zero divisor on the attribute with index zero. Please reorder the attributes in your vertex shader so that attribute zero can have a zero divisor."; 27 MSG kBaseLevelNegative = "Base level must be at least 0."; 28 MSG kBaseLevelNonZero = "Base level must be 0."; 29 MSG kBaseLevelOutOfRange = "Texture base level out of range"; 30 MSG kBlendEquationNotEnabled = "Active fragment shader does not include the layout qualifier matching the blend equation"; 31 MSG kBlitDepthOrStencilFormatMismatch = "Depth/stencil buffer format combination not allowed for blit."; 32 MSG kBlitDimensionsOutOfRange = "BlitFramebuffer dimensions out of 32-bit integer range."; 33 MSG kBlitExtensionDepthStencilWholeBufferBlit = "Only whole-buffer depth and stencil blits are supported by this extension."; 34 MSG kBlitExtensionFormatMismatch = "Attempting to blit and the read and draw buffer formats don't match. read: 0x%04X draw: 0x%04X"; 35 MSG kBlitExtensionFromInvalidAttachmentType = "Blits are only supported from 2D texture, renderbuffer or default framebuffer attachments in this extension."; 36 MSG kBlitExtensionLinear = "Linear blit not supported in this extension."; 37 MSG kBlitExtensionMultisampledDepthOrStencil = "Multisampled depth/stencil blit is not supported by this extension."; 38 MSG kBlitExtensionMultisampledWholeBufferBlit = "Only whole-buffer blit is supported from a multisampled read buffer in this extension."; 39 MSG kBlitExtensionNotAvailable = "Blit extension not available."; 40 MSG kBlitExtensionScaleOrFlip = "Scaling and flipping in BlitFramebufferANGLE not supported by this implementation."; 41 MSG kBlitExtensionToInvalidAttachmentType = "Blits are only supported to 2D texture, renderbuffer or default framebuffer attachments in this extension."; 42 MSG kBlitFeedbackLoop = "Blit feedback loop: the read and draw framebuffers are the same."; 43 MSG kBlitFramebufferMissing = "Read and draw framebuffers must both exist for a blit to succeed."; 44 MSG kBlitFromMultiview = "Attempt to read from a multi-view framebuffer."; 45 MSG kBlitIntegerWithLinearFilter = "Cannot use GL_LINEAR filter when blitting a integer framebuffer."; 46 MSG kBlitInvalidFilter = "Invalid blit filter."; 47 MSG kBlitInvalidMask = "Invalid blit mask."; 48 MSG kBlitMissingColor = "Attempt to read from a missing color attachment of a complete framebuffer."; 49 MSG kBlitMissingDepthOrStencil = "Attempt to read from a missing depth/stencil attachment of a complete framebuffer."; 50 MSG kBlitMultisampledBoundsMismatch = "Attempt to blit from a multisampled framebuffer and the bounds don't match with the draw framebuffer."; 51 MSG kBlitMultisampledFormatOrBoundsMismatch = "Attempt to blit from a multisampled framebuffer and the bounds or format of the color buffer don't match with the draw framebuffer."; 52 MSG kBlitOnlyNearestForNonColor = "Only nearest filtering can be used when blitting buffers other than the color buffer."; 53 MSG kBlitSameImageColor = "Read and write color attachments cannot be the same image."; 54 MSG kBlitSameImageDepthOrStencil = "Read and write depth stencil attachments cannot be the same image."; 55 MSG kBlitToMultiview = "Attempt to write to a multi-view framebuffer."; 56 MSG kBlitTypeMismatchFixedOrFloat = "If the read buffer contains fixed-point or floating-point values, the draw buffer must as well."; 57 MSG kBlitTypeMismatchFixedPoint = "If the read buffer contains fixed-point values, the draw buffer must as well."; 58 MSG kBlitTypeMismatchSignedInteger = "If the read buffer contains signed integer values the draw buffer must as well."; 59 MSG kBlitTypeMismatchUnsignedInteger = "If the read buffer contains unsigned integer values the draw buffer must as well."; 60 MSG kBlitYUVFramebuffer = "Blitting to or from a YUV framebuffer is disallowed."; 61 MSG kBufferAlreadyMapped = "Buffer is already mapped."; 62 MSG kBufferBoundForTransformFeedback = "Buffer is bound for transform feedback."; 63 MSG kBufferImmutable = "Buffer is immutable."; 64 MSG kBufferMapped = "An active buffer is mapped"; 65 MSG kBufferNotBound = "A buffer must be bound."; 66 MSG kBufferNotMappable = "Attempted to map buffer object zero."; 67 MSG kBufferNotMapped = "Buffer is not mapped."; 68 MSG kBufferNotUpdatable = "Buffer is not updatable."; 69 MSG kBufferOffsetOverflow = "Buffer offset overflow."; 70 MSG kBufferPointerNotAvailable = "Can not get pointer for reserved buffer name zero."; 71 MSG kCannotPopDefaultDebugGroup = "Cannot pop the default debug group."; 72 MSG kClientBufferInvalid = "Size must not exceed the size of clientbuffer"; 73 MSG kClientDataInVertexArray = "Client data cannot be used with a non-default vertex array object."; 74 MSG kColorNumberGreaterThanMaxDrawBuffers = "Color number for primary color greater than or equal to MAX_DRAW_BUFFERS"; 75 MSG kColorNumberGreaterThanMaxDualSourceDrawBuffers = "Color number for secondary color greater than or equal to MAX_DUAL_SOURCE_DRAW_BUFFERS"; 76 MSG kCompressedDataSizeTooSmall = "dataSize is too small"; 77 MSG kCompressedMismatch = "Compressed data is valid if-and-only-if the texture is compressed."; 78 MSG kCompressedTextureDimensionsMustMatchData = "Compressed texture dimensions must exactly match the dimensions of the data passed in."; 79 MSG kCompressedTexturesNotAttachable = "Compressed textures cannot be attached to a framebuffer."; 80 MSG kConstantColorAlphaLimitation = "Simultaneous use of GL_CONSTANT_ALPHA/GL_ONE_MINUS_CONSTANT_ALPHA and GL_CONSTANT_COLOR/GL_ONE_MINUS_CONSTANT_COLOR as color factors is not supported by this implementation."; 81 MSG kContextLost = "Context has been lost."; 82 MSG kCopyAlias = "The read and write copy regions alias memory."; 83 MSG kCopyFromYUVFramebuffer = "Copying from a YUV framebuffer is disallowed."; 84 MSG kCubemapFacesEqualDimensions = "Each cubemap face must have equal width and height."; 85 MSG kCubemapIncomplete = "Texture is not cubemap complete. All cubemaps faces must be defined and be the same size."; 86 MSG kCubemapInvalidDepth = "The cubemap depth must be a multiple of 6."; 87 MSG kDataTypeNotAligned = "Data is not evenly divisible into the number of bytes needed to store in memory a datum indicated by type."; 88 MSG kDefaultFramebuffer = "Default framebuffer is bound."; 89 MSG kDefaultFramebufferAttachmentOnUserFBO = "Invalid attachment when a user framebuffer is bound."; 90 MSG kDefaultFramebufferInvalidAttachment = "Invalid attachment when the default framebuffer is bound."; 91 MSG kDefaultFramebufferInvalidDrawBuffer = "Only NONE or BACK are valid draw buffers for the default framebuffer"; 92 MSG kDefaultFramebufferTarget = "It is invalid to change default FBO's attachments"; 93 MSG kDefaultVertexArray = "Default vertex array object is bound."; 94 MSG kDestinationImmutable = "Destination texture cannot be immutable."; 95 MSG kDestinationLevelNotDefined = "The destination level of the destination texture must be defined."; 96 MSG kDestinationTextureTooSmall = "Destination texture too small."; 97 MSG kDimensionsMustBePow2 = "Texture dimensions must be power-of-two."; 98 MSG kDispatchIndirectBufferNotBound = "Dispatch indirect buffer must be bound."; 99 MSG kDrawBufferMaskMismatch = "Active draw buffers with missing fragment shader outputs."; 100 MSG kDrawBuffersIndexedExtensionNotAvailable = "EXT/OES_draw_buffers_indexed is not available."; 101 MSG kES31OrDrawBuffersIndexedExtensionNotAvailable = "EXT/OES_draw_buffers_indexed or ES 3.1 are required but not available."; 102 MSG kDrawBufferTypeMismatch = "Fragment shader output type does not match the bound framebuffer attachment type."; 103 MSG kDrawFramebufferIncomplete = "Draw framebuffer is incomplete"; 104 MSG kDrawIndirectBufferNotBound = "Draw indirect buffer must be bound."; 105 MSG kEGLImageCannotCreate2DMultisampled = "Cannot create a 2D texture from a multisampled EGL image."; 106 MSG kEGLImageRenderbufferFormatNotSupported = "EGL image internal format is not supported as a renderbuffer."; 107 MSG kEGLImageTextureFormatNotSupported = "EGL image internal format is not supported as a texture."; 108 MSG kEGLImageTextureTargetMismatch = "The source EGL image is incompatible with the target texture type."; 109 MSG kElementArrayBufferBoundForTransformFeedback = "It is undefined behavior to use an element array buffer that is bound for transform feedback."; 110 MSG kElementArrayNoBufferOrPointer = "No element array buffer and no pointer."; 111 MSG kEnumInvalid = "Invalid enum provided."; 112 MSG kEnumNotSupported = "Enum 0x%04X is currently not supported."; 113 MSG kEnumRequiresGLES30 = "Enum requires GLES 3.0"; 114 MSG kEnumRequiresGLES31 = "Enum requires GLES 3.1"; 115 MSG kES1or32Required = "OpenGL ES 1.x or 3.2 Required"; 116 MSG kES31Required = "OpenGL ES 3.1 Required"; 117 MSG kES32Required = "OpenGL ES 3.2 Required"; 118 MSG kES3Required = "OpenGL ES 3.0 Required."; 119 MSG kExceedsComputeWorkGroupCountX = "num_groups_x cannot be greater than MAX_COMPUTE_WORK_GROUP_COUNT[0]"; 120 MSG kExceedsComputeWorkGroupCountY = "num_groups_y cannot be greater than MAX_COMPUTE_WORK_GROUP_COUNT[1]"; 121 MSG kExceedsComputeWorkGroupCountZ = "num_groups_z cannot be greater than MAX_COMPUTE_WORK_GROUP_COUNT[2]"; 122 MSG kExceedsElementRange = "Element value exceeds element range."; 123 MSG kExceedsFramebufferHeight = "Params less than 0 or greater than GL_MAX_FRAMEBUFFER_HEIGHT."; 124 MSG kExceedsFramebufferSamples = "Params less than 0 or greater than GL_MAX_FRAMEBUFFER_SAMPLES."; 125 MSG kExceedsFramebufferWidth = "Params less than 0 or greater than GL_MAX_FRAMEBUFFER_WIDTH."; 126 MSG kExceedsMaxColorAttachments = "Index is greater than the maximum supported color attachments"; 127 MSG kExceedsMaxDebugGroupStackDepth = "Cannot push more than GL_MAX_DEBUG_GROUP_STACK_DEPTH debug groups."; 128 MSG kExceedsMaxDebugMessageLength = "Message length is larger than GL_MAX_DEBUG_MESSAGE_LENGTH."; 129 MSG kExceedsMaxDrawBuffers = "Draw buffer greater than MAX_DRAW_BUFFERS."; 130 MSG kExceedsMaxElement = "Element value exceeds maximum element index."; 131 MSG kExceedsMaxImageUnits = "Index must be within [0, MAX_IMAGE_UNITS)."; 132 MSG kExceedsMaxLabelLength = "Label length is larger than GL_MAX_LABEL_LENGTH."; 133 MSG kExceedsMaxShaderStorageBufferBindings = "Index must be within [0, MAX_SHADER_STORAGE_BUFFER_BINDINGS)."; 134 MSG kExceedsMaxVertexAttribBindings = "Index must be within [0, MAX_VERTEX_ATTRIB_BINDINGS)."; 135 MSG kExceedsMaxVertexAttribStride = "Stride must be within [0, MAX_VERTEX_ATTRIB_STRIDE)."; 136 MSG kExceedsNumExtensions = "Index must be within [0, NUM_EXTENSIONS)."; 137 MSG kExceedsNumRequestableExtensions = "Index must be within [0, NUM_REQUESTABLE_EXTENSIONS_ANGLE)."; 138 MSG kExpectedProgramName = "Expected a program name, but found a shader name."; 139 MSG kExpectedShaderName = "Expected a shader name, but found a program name."; 140 MSG kExtensionNotEnabled = "Extension is not enabled."; 141 MSG kExtensionNotDisablable = "Extension is not disablable."; 142 MSG kExtensionNotRequestable = "Extension is not requestable."; 143 MSG kExternalBufferInvalidOffset = "Offset must be zero for external buffers"; 144 MSG kExternalTextureAttachmentNotYUV = "External texture attached to framebuffer is not YUV."; 145 MSG kExternalTextureNotSupported = "External texture extension not enabled"; 146 MSG kFeedbackLoop = "Feedback loop formed between Framebuffer and active Texture."; 147 MSG kFixedNotInWebGL = "GL_FIXED is not supported in WebGL."; 148 MSG kFormatNotRenderable = "Internal format is not renderable."; 149 MSG kFragDataBindingIndexOutOfRange = "Fragment output color index must be zero or one."; 150 MSG kFragmentInputTypeNotFloatingPoint = "Fragment input type is not a floating point scalar or vector."; 151 MSG kFramebufferFetchNonCoherentExtensionNotEnabled = "GL_EXT_shader_framebuffer_fetch_non_coherent not enabled."; 152 MSG kFramebufferIncomplete = "Framebuffer is incomplete."; 153 MSG kFramebufferIncompleteAttachment = "Attachment type must be compatible with attachment object."; 154 MSG kFramebufferIncompleteAttachmentDepthGreaterThanMaxLayers = "Framebuffer is incomplete: Attachment depth is greater than MAX_FRAMEBUFFER_LAYERS."; 155 MSG kFramebufferIncompleteAttachmentInconsistantBitPlanes = "Framebuffer is incomplete: Attachments have inconsistent bit plane counts."; 156 MSG kFramebufferIncompleteAttachmentLayerGreaterThanDepth = "Framebuffer is incomplete: Attachment layer is greater than texture layer count."; 157 MSG kFramebufferIncompleteAttachmentLevelNotBaseLevelForIncompleteMipTexture = "Framebuffer is incomplete: Attachment level not equal to the base level and the texture is not mipmap complete."; 158 MSG kFramebufferIncompleteAttachmentLevelOutOfBaseMaxLevelRange = "Framebuffer is incomplete: Attachment level is not in the [base level, max level] range."; 159 MSG kFramebufferIncompleteAttachmentNoDepthBitsInDepthBuffer = "Framebuffer is incomplete: Depth attachment has no depth bits."; 160 MSG kFramebufferIncompleteAttachmentNoStencilBitsInStencilBuffer = "Framebuffer is incomplete: Stencil attachment has no stencil bits."; 161 MSG kFramebufferIncompleteAttachmentNotCubeComplete = "Framebuffer is incomplete: Attachment is an incomplete cube map."; 162 MSG kFramebufferIncompleteAttachmentNotRenderable = "Framebuffer is incomplete: Attachment is not renderable."; 163 MSG kFramebufferIncompleteAttachmentSamplesGreaterThanMaxSupportedSamples = "Framebuffer is incomplete: Attachment samples are greater than the maximum supported samples for this format."; 164 MSG kFramebufferIncompleteAttachmentsNotUnique = "Framebuffer is incomplete: All attachments must be unique."; 165 MSG kFramebufferIncompleteAttachmentWebGLDepthBufferHasStencilBits = "Framebuffer is incomplete: Stencil attachment has depth bits."; 166 MSG kFramebufferIncompleteAttachmentWebGLDepthStencilNoDepthOrStencilBits = "Framebuffer is incomplete: Depth stencil attachment has no depth bits or no stencil bits."; 167 MSG kFramebufferIncompleteAttachmentWebGLStencilBufferHasDepthBits = "Framebuffer is incomplete: Stencil attachment has depth bits."; 168 MSG kFramebufferIncompleteAttachmentZeroSize = "Framebuffer is incomplete: Attachment has zero size."; 169 MSG kFramebufferIncompleteColorBitsUsedExceedsMaxColorBitsSupported = "Framebuffer is incomplete: The total number of color bits exceeds the number of output bits supported."; 170 MSG kFramebufferIncompleteDefaultZeroSize = "Framebuffer is incomplete: No attachments and default size is zero."; 171 MSG kFramebufferIncompleteDepthAndStencilBuffersNotTheSame = "Framebuffer is incomplete: Depth and stencil attachments are not the same."; 172 MSG kFramebufferIncompleteDepthStencilInColorBuffer = "Framebuffer is incomplete: Depth stencil texture in color attachment."; 173 MSG kFramebufferIncompleteDriverUnsupported = "Framebuffer is incomplete: Driver does not support this framebuffer configuration."; 174 MSG kFramebufferIncompleteInconsistantAttachmentSizes = "Framebuffer is incomplete: Attachments are not all the same size."; 175 MSG kFramebufferIncompleteInternalError = "Framebuffer is incomplete: Internal error."; 176 MSG kFramebufferIncompleteMismatchedLayeredAttachments = "Framebuffer is incomplete: If one attachment is layered, all must be layered."; 177 MSG kFramebufferIncompleteMismatchedLayeredTexturetypes = "Framebuffer is incomplete: If an attachments are layered, they must all be the same texture type."; 178 MSG kFramebufferIncompleteMultisampleDepthStencilSampleCountDivisibleByColorSampleCount = "Framebuffer is incomplete: Depth stencil sample count must be divisible by the color sample count."; 179 MSG kFramebufferIncompleteMultisampleInconsistentFixedSampleLocations = "Framebuffer is incomplete: Attachments have inconsistent fixed sample locations."; 180 MSG kFramebufferIncompleteMultisampleInconsistentSampleCounts = "Framebuffer is incomplete: Attachments have different sample counts."; 181 MSG kFramebufferIncompleteMultisampleNonFixedSamplesWithRenderbuffers = "Framebuffer is incomplete: All textures must have fixed samples if paired with multisample renderbuffers."; 182 MSG kFramebufferIncompleteMultiviewBaseViewMismatch = "Framebuffer is incomplete: Attachments have inconsistent multiview base view."; 183 MSG kFramebufferIncompleteMultiviewMismatch = "Framebuffer is incomplete: Attachments have inconsistent multiview enabled state."; 184 MSG kFramebufferIncompleteMultiviewViewsMismatch = "Framebuffer is incomplete: Attachments have inconsistent multiview view counts."; 185 MSG kFramebufferIncompleteSurfaceless = "Framebuffer is incomplete: Framebuffer is surfaceless."; 186 MSG kFramebufferIncompleteUnsupportedMissmatchedDimensions = "Framebuffer is incomplete: Mismatched attachment sizes are unsupported."; 187 MSG kFramebufferIncompleteUnsupportedNonUniqueAttachments = "Framebuffer is incomplete: Non-unique attachments are unsupported."; 188 MSG kFramebufferIncompleteUnsupportedSeparateDepthStencilBuffers = "Framebuffer is incomplete: Separate depth and stencil buffers are unsupported."; 189 MSG kFramebufferIncompleteWebGLDepthStencilInconsistant = "Framebuffer is incomplete: WebGL depth stencil state is inconsistent."; 190 MSG kFramebufferTextureInvalidLayer = "Layer invalid for framebuffer texture attachment."; 191 MSG kFramebufferTextureInvalidMipLevel = "Mip level invalid for framebuffer texture attachment."; 192 MSG kFramebufferTextureLayerIncorrectTextureType = "Texture is not a three-dimensional, two-dimensional array, two-dimensional multisample array, cube map, or cube map array texture."; 193 MSG kGenerateMipmapNotAllowed = "Texture format does not support mipmap generation."; 194 MSG kGenerateMipmapZeroSize = "Cannot generate mipmaps for a zero-size texture in a WebGL context."; 195 MSG kGeometryShaderExtensionNotEnabled = "GL_EXT_geometry_shader or GL_OES_geometry_shader extension not enabled."; 196 MSG kGetImageExtensionNotEnabled = "GL_ANGLE_get_image extension not enabled."; 197 MSG kGetImageCompressed = "Texture is compressed, call GetCompressedTexImage instead."; 198 MSG kGetImageNotCompressed = "Texture is not compressed, call GetTexImage instead."; 199 MSG kGLES1Only = "GLES1-only function."; 200 MSG kImageSizeMustBeZero = "imageSize must be 0 if no texture data is provided."; 201 MSG kImageSizeTooSmall = "imageSize is too small."; 202 MSG kImmutableMemoryObject = "The memory object is immutable."; 203 MSG kImmutableTextureBound = "The value of TEXTURE_IMMUTABLE_FORMAT for the texture currently bound to target on the active texture unit is true."; 204 MSG kIncompatibleDrawModeAgainstGeometryShader = "Primitive mode is incompatible with the input primitive type of the geometry shader."; 205 MSG kIncompatibleDrawModeWithTessellationShader = "When tessellation is active the primitive mode must be GL_PATCHES."; 206 MSG kIncompatibleDrawModeWithoutTessellationShader = "When tessellation is not active the primitive mode must not be GL_PATCHES."; 207 MSG kIncompatibleTextures = "Texture formats are not compatible"; 208 MSG kIndexExceedsActiveUniformBlockCount = "Index exceeds active uniform block count."; 209 MSG kIndexExceedsMaxActiveUniform = "Index must be less than program active uniform count."; 210 MSG kIndexExceedsMaxActiveUniformBlock = "Index must be less than program active uniform block count."; 211 MSG kIndexExceedsMaxAtomicCounterBufferBindings = "Index must be less than MAX_ATOMIC_COUNTER_BUFFER_BINDINGS."; 212 MSG kIndexExceedsMaxDrawBuffer = "Index must be less than MAX_DRAW_BUFFERS."; 213 MSG kIndexExceedsMaxTransformFeedbackAttribs = "Index must be less than MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS."; 214 MSG kIndexExceedsMaxUniformBufferBindings = "Index must be less than MAX_UNIFORM_BUFFER_BINDINGS."; 215 MSG kIndexExceedsMaxVertexAttribute = "Index must be less than MAX_VERTEX_ATTRIBS."; 216 MSG kIndexExceedsMaxWorkgroupDimensions = "Index must be less than the number of workgroup dimensions (3)."; 217 MSG kIndexExceedsSamples = "Index must be less than the value of SAMPLES."; 218 MSG kIndexExceedsTransformFeedbackBufferBindings = "Index is greater than or equal to the number of TRANSFORM_FEEDBACK_BUFFER indexed binding points."; 219 MSG kInsufficientBufferSize = "Insufficient buffer size."; 220 MSG kInsufficientParams = "More parameters are required than were provided."; 221 MSG kInsufficientVertexBufferSize = "Vertex buffer is not big enough for the draw call"; 222 MSG kIntegerOverflow = "Integer overflow."; 223 MSG kInternalFormatRequiresTexture2D = "internalformat is an ETC1 or PVRTC1 format."; 224 MSG kInternalFormatRequiresTexture2DArray = "internalformat is an ETC2/EAC format and target is not GL_TEXTURE_2D_ARRAY."; 225 MSG kInternalFormatRequiresTexture2DArrayS3TC = "internalformat is an S3TC format and target is not GL_TEXTURE_2D_ARRAY."; 226 MSG kInternalFormatRequiresTexture2DArrayRGTC = "internalformat is an RGTC format and target is not GL_TEXTURE_2D_ARRAY."; 227 MSG kInternalFormatRequiresTexture2DArrayBPTC = "internalformat is a BPTC format and target is not GL_TEXTURE_2D_ARRAY."; 228 MSG kInternalFormatRequiresTexture2DArrayASTC = "internalformat is an ASTC format and target is not GL_TEXTURE_2D_ARRAY."; 229 MSG kInvalidAccessBits = "Invalid access bits."; 230 MSG kInvalidAccessBitsFlush = "The explicit flushing bit may only be set if the buffer is mapped for writing."; 231 MSG kInvalidAccessBitsRead = "Invalid access bits when mapping buffer for reading"; 232 MSG kInvalidAccessBitsReadWrite = "Need to map buffer for either reading or writing."; 233 MSG kInvalidAttachment = "Invalid Attachment Type."; 234 MSG kInvalidBindBufferSize = "Invalid buffer binding size."; 235 MSG kInvalidBindUniformLocation = "Location must be less than (MAX_VERTEX_UNIFORM_VECTORS + MAX_FRAGMENT_UNIFORM_VECTORS) * 4"; 236 MSG kInvalidBlendEquation = "Invalid blend equation."; 237 MSG kInvalidBlendFunction = "Invalid blend function."; 238 MSG kInvalidBlendStateForYUV = "Blending must be disabled when writing to YUV framebuffers."; 239 MSG kInvalidBooleanValue = "Invalid boolean value. Must be GL_FALSE or GL_TRUE."; 240 MSG kInvalidBorder = "Border must be 0."; 241 MSG kInvalidBufferName = "name is not a valid buffer."; 242 MSG kInvalidBufferTypes = "Invalid buffer target."; 243 MSG kInvalidBufferUsage = "Invalid buffer usage enum."; 244 MSG kInvalidBufferUsageFlags = "Invalid buffer usage flags."; 245 MSG kInvalidClearMask = "Invalid mask bits."; 246 MSG kInvalidClientState = "Invalid client vertex array type."; 247 MSG kInvalidClipPlane = "Invalid clip plane."; 248 MSG kInvalidColorMaskForYUV = "Red, green and blue color writes must be enabled when writing to YUV framebuffers."; 249 MSG kInvalidCombinedImageUnit = "Specified unit must be in [GL_TEXTURE0, GL_TEXTURE0 + GL_MAX_COMBINED_IMAGE_UNITS)"; 250 MSG kInvalidComponents = "Invalid components."; 251 MSG kInvalidCompressedFormat = "Not a valid compressed texture format."; 252 MSG kInvalidCompressedImageSize = "Invalid compressed image size."; 253 MSG kInvalidCompressedRegionSize = "Invalid region for compressed texture format."; 254 MSG kInvalidConstantColor = "CONSTANT_COLOR (or ONE_MINUS_CONSTANT_COLOR) and CONSTANT_ALPHA (or ONE_MINUS_CONSTANT_ALPHA) cannot be used together as source and destination color factors in the blend function."; 255 MSG kInvalidCopyCombination = "Invalid copy texture format combination."; 256 MSG kInvalidCoverageComponents = "components is not one of GL_RGB, GL_RGBA, GL_ALPHA or GL_NONE."; 257 MSG kInvalidCoverMode = "Invalid cover mode."; 258 MSG kInvalidExternalCreateFlags = "Create flags must only include bits defined by GL_ANGLE_external_objects_flags"; 259 MSG kInvalidCullMode = "Cull mode not recognized."; 260 MSG kInvalidDebugSeverity = "Invalid debug severity."; 261 MSG kInvalidDebugSource = "Invalid debug source."; 262 MSG kInvalidDebugSourceType = "If count is greater than zero, source and type cannot be GL_DONT_CARE."; 263 MSG kInvalidDebugType = "Invalid debug type."; 264 MSG kInvalidDefaultReadBuffer = "Read buffer must be GL_NONE or GL_BACK when reading from the default framebuffer."; 265 MSG kInvalidDepthEnum = "Invalid depth enum."; 266 MSG kInvalidDepthRange = "Near value cannot be greater than far."; 267 MSG kInvalidDepthStencilDrawBuffer = "Draw buffer must be zero when using depth or stencil."; 268 MSG kInvalidDestinationTexture = "Destination texture is not a valid texture object."; 269 MSG kInvalidDestinationTextureType = "Invalid destination texture type."; 270 MSG kInvalidDrawBuffer = "Invalid draw buffer."; 271 MSG kInvalidDrawBufferCountForDefault = "The default framebuffer must have exactly one draw buffer."; 272 MSG kInvalidDrawBufferValue = "Ith value does not match COLOR_ATTACHMENTi or NONE."; 273 MSG kInvalidDrawMode = "Invalid draw mode."; 274 MSG kInvalidDrawModeTransformFeedback = "Draw mode must match current transform feedback object's draw mode."; 275 MSG kInvalidEGLImage = "EGL image is not valid."; 276 MSG kInvalidElementRange = "Invalid element range."; 277 MSG kInvalidEmulatedFormat = "Implementation format is emulated."; 278 MSG kInvalidFence = "Invalid fence object."; 279 MSG kInvalidFenceCondition = "Invalid value for condition."; 280 MSG kInvalidFenceState = "Fence must be set."; 281 MSG kInvalidFillMode = "Invalid fill mode."; 282 MSG kInvalidFilterTexture = "Texture only supports NEAREST and LINEAR filtering."; 283 MSG kInvalidFlags = "Invalid value for flags."; 284 MSG kInvalidFlushOutOfRange = "Flushed range does not fit into buffer mapping dimensions."; 285 MSG kInvalidFlushTarget = "Attempted to flush a buffer not mapped for explicit flushing."; 286 MSG kInvalidFlushZero = "Attempted to flush buffer object zero."; 287 MSG kInvalidFogDensity = "Invalid fog density (must be nonnegative)."; 288 MSG kInvalidFogMode = "Invalid fog mode."; 289 MSG kInvalidFogParameter = "Invalid fog parameter."; 290 MSG kInvalidFormat = "Invalid format."; 291 MSG kInvalidFormatCombination = "Invalid combination of format, type and internalFormat."; 292 MSG kInvalidFragmentInputBinding = "No such binding."; 293 MSG kInvalidFramebufferAttachmentParameter = "Invalid parameter name for framebuffer attachment."; 294 MSG kInvalidFramebufferLayer = "Framebuffer layer cannot be less than 0 or greater than GL_MAX_FRAMEBUFFER_LAYERS_EXT."; 295 MSG kInvalidFramebufferName = "name is not a valid framebuffer."; 296 MSG kInvalidFramebufferTarget = "Invalid framebuffer target."; 297 MSG kInvalidFramebufferTextureLevel = "Mipmap level must be 0 when attaching a texture."; 298 MSG kInvalidHandleType = "Invalid handle type."; 299 MSG kInvalidImageAccess = "access is not one of the supported tokens."; 300 MSG kInvalidImageLayout = "Invalid image layout."; 301 MSG kInvalidImageFormat = "format is not one of supported image unit formats."; 302 MSG kInvalidIndentifier = "Invalid identifier."; 303 MSG kInvalidIndirectOffset = "indirect must be a multiple of the size of uint in basic machine units."; 304 MSG kInvalidInternalFormat = "Invalid internal format 0x%04X."; 305 MSG kInvalidLight = "Invalid light."; 306 MSG kInvalidLightModelParameter = "Invalid light model parameter."; 307 MSG kInvalidLightParameter = "Invalid light parameter."; 308 MSG kInvalidLogicOp = "Invalid logical operation."; 309 MSG kInvalidMapPointerQuery = "GL_BUFFER_MAP_POINTER can only be queried with GetBufferPointerv."; 310 MSG kInvalidMaterialFace = "Invalid material face."; 311 MSG kInvalidMaterialParameter = "Invalid material parameter."; 312 MSG kInvalidMatrixMode = "Invalid matrix mode."; 313 MSG kInvalidMemoryBarrierBit = "Invalid memory barrier bit."; 314 MSG kInvalidMemoryObject = "Invalid memory object."; 315 MSG kInvalidMemoryObjectParameter = "Invalid memory object parameter."; 316 MSG kInvalidMipLevel = "Level of detail outside of range."; 317 MSG kInvalidMipLevels = "Invalid level count."; 318 MSG kInvalidMultisampledFramebufferOperation = "Invalid operation on multisampled framebuffer"; 319 MSG kInvalidMultitextureUnit = "Specified unit must be in [GL_TEXTURE0, GL_TEXTURE0 + GL_MAX_TEXTURE_UNITS)"; 320 MSG kInvalidName = "Invalid name."; 321 MSG kInvalidNameCharacters = "Name contains invalid characters."; 322 MSG kInvalidOriginEnum = "Invalid origin enum."; 323 MSG kInvalidPackParametersForWebGL = "Invalid combination of pack parameters for WebGL."; 324 MSG kInvalidPerfMonitor = "Invalid perf monitor."; 325 MSG kInvalidPerfMonitorCounter = "Invalid perf monitor counter."; 326 MSG kInvalidPerfMonitorGroup = "Invalid perf monitor counter group."; 327 MSG kInvalidPname = "Invalid pname."; 328 MSG kInvalidPointerQuery = "Invalid pointer query."; 329 MSG kInvalidPointParameter = "Invalid point parameter."; 330 MSG kInvalidPointParameterValue = "Invalid point parameter value (must be non-negative)."; 331 MSG kInvalidPointSizeValue = "Invalid point size (must be positive)."; 332 MSG kInvalidPrecision = "Invalid or unsupported precision type."; 333 MSG kInvalidPrimitiveMode = "Invalid primitive mode."; 334 MSG kInvalidProgramBinaryFormat = "Program binary format is not valid."; 335 MSG kInvalidProgramInterface = "Invalid program interface."; 336 MSG kInvalidProgramName = "Program object expected."; 337 MSG kInvalidProgramPipelineName = "name is not a valid program pipeline."; 338 MSG kInvalidProgramResourceIndex = "Invalid program resource index."; 339 MSG kInvalidProgramResourceProperty = "Invalid program resource property."; 340 MSG kInvalidProjectionMatrix = "Invalid projection matrix. Left/right, top/bottom, near/far intervals cannot be zero, and near/far cannot be less than zero."; 341 MSG kInvalidPropCount = "Invalid propCount."; 342 MSG kInvalidPropertyForProgramInterface = "Not an allowed program resource property for this program interface"; 343 MSG kInvalidProvokingVertex = "Invalid provoking vertex."; 344 MSG kInvalidQueryId = "Invalid query Id."; 345 MSG kInvalidQueryName = "name is not a valid query."; 346 MSG kInvalidQueryTarget = "Invalid query target."; 347 MSG kInvalidQueryType = "Invalid query type."; 348 MSG kInvalidRange = "Invalid range."; 349 MSG kInvalidReadBuffer = "Invalid read buffer"; 350 MSG kInvalidRenderbufferInternalFormat = "Invalid renderbuffer internalformat."; 351 MSG kInvalidRenderbufferName = "name is not a valid renderbuffer."; 352 MSG kInvalidRenderbufferTarget = "Invalid renderbuffer target."; 353 MSG kInvalidRenderbufferTextureParameter = "Invalid parameter name for renderbuffer attachment."; 354 MSG kInvalidRenderbufferWidthHeight = "Renderbuffer width and height cannot be negative and cannot exceed maximum texture size."; 355 MSG kInvalidResetStatus = "Reset status is not valid"; 356 MSG kInvalidSampleMaskNumber = "MaskNumber cannot be greater than or equal to the value of MAX_SAMPLE_MASK_WORDS."; 357 MSG kInvalidSampler = "Sampler is not valid"; 358 MSG kInvalidSamplerName = "name is not a valid sampler."; 359 MSG kInvalidShaderBinaryFormat = "Invalid shader binary format."; 360 MSG kInvalidShaderName = "Shader object expected."; 361 MSG kInvalidShaderType = "Invalid shader type."; 362 MSG kInvalidShadingModel = "Invalid shading model."; 363 MSG kInvalidShadingRate = "Invalid shading rate."; 364 MSG kInvalidSourceTexture = "Source texture is not a valid texture object."; 365 MSG kInvalidSourceTextureInternalFormat = "Source texture internal format is invalid."; 366 MSG kInvalidSourceTextureLevel = "Invalid source texture level."; 367 MSG kInvalidSourceTextureSize = "Invalid source texture height or width."; 368 MSG kInvalidSourceTextureType = "Source texture must be a valid texture type."; 369 MSG kInvalidStencil = "Invalid stencil."; 370 MSG kInvalidStencilBitMask = "Invalid stencil bit mask."; 371 MSG kInvalidSyncPointer = "Not a valid sync pointer."; 372 MSG kInvalidTarget = "Invalid target."; 373 MSG kInvalidTextureCombine = "Invalid texture combine mode."; 374 MSG kInvalidTextureCombineOp = "Invalid texture combine operand."; 375 MSG kInvalidTextureCombineSrc = "Invalid texture combine source."; 376 MSG kInvalidTextureEnvMode = "Invalid texture environment mode."; 377 MSG kInvalidTextureEnvParameter = "Invalid texture environment parameter."; 378 MSG kInvalidTextureEnvScale = "Invalid texture environment scale."; 379 MSG kInvalidTextureEnvTarget = "Invalid texture environment target."; 380 MSG kInvalidTextureFilterParam = "Texture filter not recognized."; 381 MSG kInvalidTextureLevel = "Texture level does not exist."; 382 MSG kInvalidTextureName = "Not a valid texture object name."; 383 MSG kInvalidTextureRange = "Cannot be less than 0 or greater than maximum number of textures."; 384 MSG kInvalidTextureTarget = "Invalid or unsupported texture target."; 385 MSG kInvalidTextureType = "Texture has incompatible target."; 386 MSG kInvalidTextureWrap = "Texture wrap mode not recognized."; 387 MSG kInvalidTimeout = "Invalid value for timeout."; 388 MSG kInvalidTransformation = "Invalid transformation."; 389 MSG kInvalidTransformFeedbackAttribsCount = "Count exceeds MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS."; 390 MSG kInvalidTransformFeedbackName = "name is not a valid transform feedback."; 391 MSG kInvalidType = "Invalid type."; 392 MSG kInvalidUniformCount = "Only array uniforms may have count > 1."; 393 MSG kInvalidUniformLocation = "Invalid uniform location"; 394 MSG kInvalidUnpackAlignment = "Unpack alignment must be 1, 2, 4 or 8."; 395 MSG kInvalidUnpackParametersForWebGL = "Invalid combination of unpack parameters for WebGL."; 396 MSG kInvalidExternalUsageFlags = "Usage flags must only include bits defined by GL_ANGLE_external_objects_flags"; 397 MSG kInvalidValueExceedsMaxPatchSize = "Value must be less than or equal to MAX_PATCH_SIZE."; 398 MSG kInvalidValueNonPositive = "Value must be greater than zero."; 399 MSG kInvalidVaryingLocation = "Location exceeds max varying."; 400 MSG kInvalidVertexArray = "Vertex array does not exist."; 401 MSG kInvalidVertexArrayName = "name is not a valid vertex array."; 402 MSG kInvalidVertexAttribSize2101010 = "Type is INT_2_10_10_10_REV or UNSIGNED_INT_2_10_10_10_REV and size is not 4."; 403 MSG kInvalidVertexAttribSize1010102 = "Type is INT_10_10_10_2_OES or UNSIGNED_INT_10_10_10_2_OES and size is not 3 or 4."; 404 MSG kInvalidVertexAttrSize = "Vertex attribute size must be 1, 2, 3, or 4."; 405 MSG kInvalidVertexPointerSize = "Size for built-in vertex attribute is outside allowed range."; 406 MSG kInvalidVertexPointerStride = "Invalid stride for built-in vertex attribute."; 407 MSG kInvalidVertexPointerType = "Invalid type for built-in vertex attribute."; 408 MSG kInvalidWidth = "Invalid width."; 409 MSG kInvalidWrapModeTexture = "Invalid wrap mode for texture type."; 410 MSG kInvalidZOffset = "zoffset is larger than MAX_3D_TEXTURE_SIZE-1"; 411 MSG kLengthZero = "Length must not be zero."; 412 MSG kLevelNotZero = "Texture level must be zero."; 413 MSG kLightParameterOutOfRange = "Light parameter out of range."; 414 MSG kMapOutOfRange = "Mapped range does not fit into buffer dimensions."; 415 MSG kMaterialParameterOutOfRange = "Material parameter out of range."; 416 MSG kMatrixStackOverflow = "Current matrix stack is full."; 417 MSG kMatrixStackUnderflow = "Current matrix stack has only a single matrix."; 418 MSG kMaxActiveVariablesInterface = "MAX_NUM_ACTIVE_VARIABLES requires a buffer or block interface."; 419 MSG kMismatchedFormat = "Format must match internal format."; 420 MSG kMismatchedTargetAndFormat = "Invalid texture target and format combination."; 421 MSG kMismatchedTypeAndFormat = "Invalid format and type combination."; 422 MSG kMismatchedVariableProgram = "Variable is not part of the current program."; 423 MSG kMissingName = "No name given."; 424 MSG kMissingReadAttachment = "Missing read attachment."; 425 MSG kMissingTexture = "No Texture is bound to the specified target."; 426 MSG kMissingTextureName = "texture is not the name of an existing texture object."; 427 MSG kMultisampleArrayExtensionRequired = "GL_ANGLE_texture_multisample_array not enabled."; 428 MSG kMultisampleTextureExtensionOrES31Required = "GL_ANGLE_texture_multisample or GLES 3.1 required."; 429 MSG kMultisampleTextureExtensionOrGetTexLevelParameterExtensionOrES31Required = "GL_ANGLE_texture_multisample, GL_ANGLE_get_tex_level_parameter or GLES 3.1 required."; 430 MSG kMultiviewActive = "The number of views in the active draw framebuffer is greater than 1."; 431 MSG kMultiviewMismatch = "The number of views in the active program and draw framebuffer does not match."; 432 MSG kMultiviewNotAvailable = "ANGLE_multiview is not available."; 433 MSG kMultiviewReadFramebuffer = "The active read framebuffer object has multiview attachments."; 434 MSG kMultiviewTimerQuery = "There is an active query for target GL_TIME_ELAPSED_EXT when the number of views in the active draw framebuffer is greater than 1."; 435 MSG kMultiviewTransformFeedback = "There is an active transform feedback object when the number of views in the active draw framebuffer is greater than 1."; 436 MSG kMultiviewViewsTooLarge = "numViews cannot be greater than GL_MAX_VIEWS_ANGLE."; 437 MSG kMultiviewViewsTooSmall = "numViews cannot be less than 1."; 438 MSG kMustHaveElementArrayBinding = "Must have element array buffer bound."; 439 MSG kNameBeginsWithGL = "Attributes that begin with 'gl_' are not allowed."; 440 MSG kNegativeAttachments = "Negative number of attachments."; 441 MSG kNegativeBaseViewIndex = "Negative baseViewIndex."; 442 MSG kNegativeBufferSize = "Negative buffer size."; 443 MSG kNegativeBufSize = "Invalid bufSize."; 444 MSG kNegativeCount = "Negative count."; 445 MSG kNegativeHeightWidthDepth = "Cannot have negative height, width, or depth."; 446 MSG kNegativeLayer = "Negative layer."; 447 MSG kNegativeLength = "Negative length."; 448 MSG kNegativeLevel = "Level is negative."; 449 MSG kNegativeLocation = "Location cannot be less than 0."; 450 MSG kNegativeMaxCount = "Negative maxcount."; 451 MSG kNegativeOffset = "Negative offset."; 452 MSG kNegativeParam = "param is negative."; 453 MSG kNegativePrimcount = "Primcount must be greater than or equal to zero."; 454 MSG kNegativeSize = "Negative size."; 455 MSG kNegativeStart = "Cannot have negative start."; 456 MSG kNegativeStride = "Cannot have negative stride."; 457 MSG kNegativeXYZ = "x = y = or z cannot be negative."; 458 MSG kNoActiveComputeShaderStage = "No active compute shader stage in this program."; 459 MSG kNoActiveGeometryShaderStage = "No active geometry shader stage in this program."; 460 MSG kNoActiveGraphicsShaderStage = "It is a undefined behaviour to render without vertex shader stage or fragment shader stage."; 461 MSG kNoActiveProgramWithComputeShader = "No active program for the compute shader stage."; 462 MSG kNoDefinedClearConversion = "No defined conversion between clear value and attachment format."; 463 MSG kNonPositiveDrawTextureDimension = "Both width and height argument of drawn texture must be positive."; 464 MSG kNonPositiveSize = "Size must be greater than 0"; 465 MSG kNoProgramBinaryFormats = "No program binary formats supported."; 466 MSG kNoReadFramebuffer = "No active read framebuffer."; 467 MSG kNoSampleAlphaToCoveragesLimitation = "Current renderer doesn't support alpha-to-coverage."; 468 MSG kNotTextureComplete = "The texture is not complete."; 469 MSG kNoTransformArray = "No transform array given."; 470 MSG kNoTransformFeedbackOutputVariables = "The active program has specified no output variables to record."; 471 MSG kNoZeroDivisor = "At least one enabled attribute must have a divisor of zero."; 472 MSG kNVFenceNotSupported = "GL_NV_fence is not supported"; 473 MSG kObjectNotGenerated = "Object cannot be used because it has not been generated."; 474 MSG kOffsetAlignment = "offset must be a multiple of 4."; 475 MSG kOffsetAndSizeAlignment = "Offset and size must be multiple of 4."; 476 MSG kOffsetMustBeMultipleOfType = "Offset must be a multiple of the passed in datatype."; 477 MSG kOffsetMustBeMultipleOfUint = "Offset must be a multiple of sizeof(uint) in basic machine units."; 478 MSG kOffsetOverflow = "Offset overflows texture dimensions."; 479 MSG kOtherQueryActive = "Other query is active."; 480 MSG kOutsideOfBounds = "Parameter outside of bounds."; 481 MSG kParamOverflow = "The provided parameters overflow with the provided buffer."; 482 MSG kPixelDataNotNull = "Pixel data must be null."; 483 MSG kPixelDataNull = "Pixel data cannot be null."; 484 MSG kPixelPackBufferBoundForTransformFeedback = "It is undefined behavior to use a pixel pack buffer that is bound for transform feedback."; 485 MSG kPixelUnpackBufferBoundForTransformFeedback = "It is undefined behavior to use a pixel unpack buffer that is bound for transform feedback."; 486 MSG kPLSActive = "Operation not permitted while pixel local storage is active."; 487 MSG kPLSDefaultFramebufferBound = "Default framebuffer object name 0 does not support pixel local storage."; 488 MSG kPLSDitherEnabled = "Attempted to begin pixel local storage with GL_DITHER enabled."; 489 MSG kPLSDimensionsDontMatchRenderingArea = "Pixel local storage backing texture dimensions not equal to the rendering area."; 490 MSG kPLSEnablingDeinitializedPlane = "Attempted to enable a pixel local storage plane that is in a deinitialized state."; 491 MSG kPLSExtensionNotEnabled = "GL_ANGLE_shader_pixel_local_storage not enabled."; 492 MSG kPLSInactive = "Pixel local storage is not active."; 493 MSG kPLSInvalidInternalformat = "Invalid pixel local storage internal format."; 494 MSG kPLSInvalidLoadOperation = "Invalid pixel local storage Load Operation."; 495 MSG kPLSInvalidTextureType = "Invalid pixel local storage texture type."; 496 MSG kPLSKeepingMemorylessPlane = "Load Operation GL_KEEP is invalid for memoryless planes."; 497 MSG kPLSMaxColorAttachmentsExceded = "Framebuffer cannot have images attached to color attachment points on or after COLOR_ATTACHMENT0 + MAX_COLOR_ATTACHMENTS_WITH_ACTIVE_PIXEL_LOCAL_STORAGE_ANGLE."; 498 MSG kPLSMaxCombinedDrawBuffersAndPlanesExceded = "Framebuffer cannot have images attached to color attachment points on or after COLOR_ATTACHMENT0 + MAX_COMBINED_DRAW_BUFFERS_AND_PIXEL_LOCAL_STORAGE_PLANES_ANGLE - <planes>."; 499 MSG kPLSMismatchedBackingTextureSizes = "Mismatched pixel local storage backing texture sizes."; 500 MSG kPLSMultisamplingEnabled = "Attempted to begin pixel local storage with a multisampled framebuffer."; 501 MSG kPLSNoAttachmentsNoTextureBacked = "Draw framebuffer has no attachments and no enabled, texture-backed pixel local storage planes."; 502 MSG kPLSNullClearData = "cleardata cannot null if Load Operation GL_CLEAR_ANGLE is specified."; 503 MSG kPLSNullLoadOps = "loadops cannot null."; 504 MSG kPLSPlaneLessThanZero = "Plane cannot be less than 0."; 505 MSG kPLSPlaneOutOfRange = "Plane must be less than GL_MAX_PIXEL_LOCAL_STORAGE_PLANES_ANGLE."; 506 MSG kPLSPlanesLessThanOne = "Planes must be greater than 0."; 507 MSG kPLSPlanesOutOfRange = "Planes must be less than or equal to GL_MAX_PIXEL_LOCAL_STORAGE_PLANES_ANGLE."; 508 MSG kPLSRasterizerDiscardEnabled = "Attempted to begin pixel local storage with GL_RASTERIZER_DISCARD enabled."; 509 MSG kPLSReservedDrawBufferInUse = "When beginning pixel local storage, glDrawBuffers must all be GL_NONE at indices greater than or equal to: min(GL_MAX_COLOR_ATTACHMENTS_WITH_ACTIVE_PLS_ANGLE, GL_MAX_COMBINED_DRAW_BUFFERS_AND_PLS_PLANES_ANGLE - <planes>)."; 510 MSG kPLSSampleAlphaToCoverageEnabled = "Attempted to begin pixel local storage with GL_SAMPLE_ALPHA_TO_COVERAGE enabled."; 511 MSG kPLSSampleCoverageEnabled = "Attempted to begin pixel local storage with GL_SAMPLE_COVERAGE enabled."; 512 MSG kPointSizeArrayExtensionNotEnabled = "GL_OES_point_size_array not enabled."; 513 MSG kProgramDoesNotExist = "Program doesn't exist."; 514 MSG kProgramInterfaceMustBeProgramOutput = "programInterface must be set to GL_PROGRAM_OUTPUT."; 515 MSG kProgramNotBound = "A program must be bound."; 516 MSG kProgramNotLinked = "Program not linked."; 517 MSG kQueryActive = "Query is active."; 518 MSG kQueryExtensionNotEnabled = "Query extension not enabled."; 519 MSG kQueryInactive = "Query is not active."; 520 MSG kQueryTargetMismatch = "Query type does not match target."; 521 MSG kReadBufferNone = "Read buffer is GL_NONE."; 522 MSG kReadBufferNotAttached = "Read buffer has no attachment."; 523 MSG kRectangleTextureCompressed = "Rectangle texture cannot have a compressed format."; 524 MSG kRelativeOffsetTooLarge = "relativeOffset cannot be greater than MAX_VERTEX_ATTRIB_RELATIVE_OFFSET."; 525 MSG kRenderableInternalFormat = "SizedInternalformat must be color-renderable, depth-renderable, or stencil-renderable."; 526 MSG kRenderbufferNotBound = "A renderbuffer must be bound."; 527 MSG kResourceMaxRenderbufferSize = "Desired resource size is greater than max renderbuffer size."; 528 MSG kResourceMaxTextureSize = "Desired resource size is greater than max texture size."; 529 MSG kRobustResourceInitializationExtensionRequired = "EGL_ANGLE_robust_resource_initialization not enabled."; 530 MSG kSamplerFormatMismatch = "Mismatch between texture format and sampler type (signed/unsigned/float/shadow)."; 531 MSG kSamplerUniformValueOutOfRange = "Sampler uniform value out of range."; 532 MSG kSamplesOutOfRange = "Samples must not be greater than maximum supported value for the format."; 533 MSG kSamplesZero = "Samples may not be zero."; 534 MSG kShaderAttachmentHasShader = "Shader attachment already has a shader."; 535 MSG kShaderSourceInvalidCharacters = "Shader source contains invalid characters."; 536 MSG kShaderStorageBufferOffsetAlignment = "Offset must be multiple of value of SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT."; 537 MSG kShaderToDetachMustBeAttached = "Shader to be detached must be currently attached to the program."; 538 MSG kShadingRateExtensionNotAvailable = "GL_QCOM_shading_rate extension not available."; 539 MSG kSourceLevelNotDefined = "The source level of the source texture must be defined."; 540 MSG kSourceTextureLevelZeroDefined = "Source texture must level 0 defined."; 541 MSG kSourceTextureMustBeCompressed = "Source texture must have a compressed internal format."; 542 MSG kSourceTextureTooSmall = "The specified dimensions are outside of the bounds of the texture."; 543 MSG kStencilReferenceMaskOrMismatch = "Stencil reference and mask values must be the same for front facing and back facing triangles."; 544 MSG kStrideExceedsWebGLLimit = "Stride is over the maximum stride allowed by WebGL."; 545 MSG kStrideMustBeMultipleOfType = "Stride must be a multiple of the passed in datatype."; 546 MSG kSyncMissing = "Sync object does not exist."; 547 MSG kTargetMustBeTexture2DMultisampleArrayOES = "Target must be TEXTURE_2D_MULTISAMPLE_ARRAY_OES."; 548 MSG kTessellationShaderExtensionNotEnabled = "GL_EXT_tessellation_shader extension not enabled."; 549 MSG kTessellationShaderRequiresBothControlAndEvaluation = "Tessellation requires both control and evaluation shaders."; 550 MSG kTessellationShaderRequiresVertexShader = "Any command that transfers vertices to the GL requires a vertex shader if the current program uses a tessellation shader."; 551 MSG kTextureBufferExtensionNotAvailable = "Texture buffer extension not available."; 552 MSG kTextureBufferOffsetAlignment = "Offset must be multiple of value of TEXTURE_BUFFER_OFFSET_ALIGNMENT."; 553 MSG kTextureBufferSize = "Texture buffer size must be a positive integer."; 554 MSG kTextureBufferSizeOffset = "Texture buffer offset + size must be less than or equal to BUFFER_SIZE."; 555 MSG kTextureBufferTarget = "Target must be TEXTURE_BUFFER."; 556 MSG kTextureBufferInternalFormat = "Internal format is not an accepted sized internal format."; 557 MSG kTextureBufferInvalidBuffer = "If buffer is nonzero, it must match the name of an existing buffer object."; 558 MSG kTextureFormatMismatch = "Passed in texture target and format must match the one originally used to define the texture."; 559 MSG kTextureIsImmutable = "Texture is immutable."; 560 MSG kTextureIsNotImmutable = "Texture is not immutable."; 561 MSG kTextureIsNeitherImmutableNorTextureBuffer = "Texture is not the name of an immutable texture object or a buffer texture."; 562 MSG kTextureLayerOutOfRange = "Layer is larger than texture depth."; 563 MSG kTextureLevelOutOfRange = "Level is larger than texture level count."; 564 MSG kTextureNotBound = "A texture must be bound."; 565 MSG kTextureNotPow2 = "The texture is a non-power-of-two texture."; 566 MSG kTextureRectangleNotSupported = "Context does not support GL_ANGLE_texture_rectangle"; 567 MSG kTextureSizeTooSmall = "Texture dimensions must all be greater than zero."; 568 MSG kTextureTargetMismatch = "Textarget must match the texture target type."; 569 MSG kTextureTargetMismatchWithLabel = "Textarget must match the texture target type. Requested: %d Texture's: %d label: %s"; 570 MSG kTextureTargetRequiresES31 = "Texture target requires at least OpenGL ES 3.1."; 571 MSG kTextureTypeConflict = "Two textures of different types use the same sampler location."; 572 MSG kTextureTypeMismatch = "Passed in texture type must match the one originally used to define the texture."; 573 MSG kTextureWidthOrHeightOutOfRange = "Width and height must be less than or equal to GL_MAX_TEXTURE_SIZE."; 574 MSG kTextureDepthOutOfRange = "Depth must be less than or equal to MAX_ARRAY_TEXTURE_LAYERS"; 575 MSG kTransfomFeedbackAlreadyActive = "Transform feedback is already active."; 576 MSG kTransformFeedbackActiveDelete = "Attempt to delete an active transform feedback."; 577 MSG kTransformFeedbackActiveDuringLink = "Cannot link program while program is associated with an active transform feedback object."; 578 MSG kTransformFeedbackBufferDoubleBound = "A transform feedback buffer that would be written to is also bound to a non-transform-feedback target, which would cause undefined behavior."; 579 MSG kTransformFeedbackBufferMissing = "Every binding point used in transform feedback mode must have a buffer object bound."; 580 MSG kTransformFeedbackBufferMultipleOutputs = "Transform feedback has a buffer bound to multiple outputs."; 581 MSG kTransformFeedbackBufferTooSmall = "Not enough space in bound transform feedback buffers."; 582 MSG kTransformFeedbackDoesNotExist = "Transform feedback object that does not exist."; 583 MSG kTransformFeedbackNotActive = "No Transform Feedback object is active."; 584 MSG kTransformFeedbackNotPaused = "The active Transform Feedback object is not paused."; 585 MSG kTransformFeedbackPaused = "The active Transform Feedback object is paused."; 586 MSG kTransformFeedbackProgramBinary = "Cannot change program binary while program is associated with an active transform feedback object."; 587 MSG kTransformFeedbackTargetActive = "Target is TRANSFORM_FEEDBACK_BUFFER and transform feedback is currently active."; 588 MSG kTransformFeedbackUseProgram = "Cannot change active program while transform feedback is unpaused."; 589 MSG kTransformFeedbackVaryingIndexOutOfRange = "Index must be less than the transform feedback varying count in the program."; 590 MSG kTypeNotUnsignedShortByte = "Only UNSIGNED_SHORT and UNSIGNED_BYTE types are supported."; 591 MSG kUniformBufferBoundForTransformFeedback = "It is undefined behavior to use an uniform buffer that is bound for transform feedback."; 592 MSG kUniformBufferOffsetAlignment = "Offset must be multiple of value of UNIFORM_BUFFER_OFFSET_ALIGNMENT."; 593 MSG kUniformBufferTooSmall = "It is undefined behaviour to use a uniform buffer that is too small."; 594 MSG kUniformBufferUnbound = "It is undefined behaviour to have a used but unbound uniform buffer."; 595 MSG kUniformSizeMismatch = "Uniform size does not match uniform method."; 596 MSG kUniformTypeMismatch = "Uniform type does not match uniform method."; 597 MSG kUnimplementedComputeShaderPrecision = "Compute shader precision not yet implemented."; 598 MSG kUnknownParameter = "Unknown parameter value."; 599 MSG kUnsizedInternalFormatUnsupported = "Internalformat is one of the unsupported unsized base internalformats."; 600 MSG kUnsupportedDrawModeForTransformFeedback = "The draw command is unsupported when transform feedback is active and not paused."; 601 MSG kUnsupportedFloatBlending = "GL_BLEND with floating-point color attachments requires the EXT_float_blend extension."; 602 MSG kVertexArrayNoBuffer = "An enabled vertex array has no buffer."; 603 MSG kVertexArrayNoBufferPointer = "An enabled vertex array has no buffer and no pointer."; 604 MSG kVertexBufferBoundForTransformFeedback = "It is undefined behavior to use a vertex buffer that is bound for transform feedback."; 605 MSG kVertexShaderTypeMismatch = "Vertex shader input type does not match the type of the bound vertex attribute."; 606 MSG kViewportNegativeSize = "Viewport size cannot be negative."; 607 MSG kViewsExceedMaxArrayLayers = "baseViewIndex+numViews cannot be greater than GL_MAX_ARRAY_TEXTURE_LAYERS."; 608 MSG kWebgl2NameLengthLimitExceeded = "Location lengths must not be greater than 1024 characters."; 609 MSG kWebglBindAttribLocationReservedPrefix = "Attributes that begin with 'webgl_', or '_webgl_' are not allowed."; 610 MSG kWebglNameLengthLimitExceeded = "Location name lengths must not be greater than 256 characters."; 611 MSG kYUVOutputMissmatch = "Program and framebuffer YUV output state does not match."; 612 MSG kYUVTargetExtensionRequired = "GL_EXT_YUV_target not enabled."; 613 MSG kZeroBoundToTarget = "Zero is bound to target."; 614 MSG kUnrecognizedShaderStageBit = "Unrecognized shader stage bit."; 615 MSG kProgramNotSeparable = "Program object was not linked with its PROGRAM_SEPARABLE status set."; 616 MSG kProgramPipelineDoesNotExist = "Program pipeline does not exist."; 617 MSG kNotAllStagesOfSeparableProgramUsed = "A program object is active for at least one, but not all of the shader stages that were present when the program was linked."; 618 MSG kNoExecutableCodeInstalled = "There is no current program object specified by UseProgram, there is a current program pipeline object, and that object is empty (no executable code is installed for any stage)."; 619 MSG kProgramPipelineLinkFailed = "Program pipeline link failed"; 620 MSG kProtectedTexturesExtensionRequired = "GL_EXT_protected_textures not enabled."; 621 622 // clang-format on 623 624 #undef MSG 625 } // namespace err 626 } // namespace gl 627 #endif // LIBANGLE_ERRORSTRINGS_H_