The DB2-xdb:condition annotation condition at or near line lineno in XML schema document uri is too long. -16254 a DB2-xdb:locationpath locationpath at or near line lineno in XML schema document uri is not valid with reason code reason-code.
15 READ X, Y, Z 20 READ N 24 FOR I = 0 TO 10 25 READ B ( I ) 26 NEXT I 40 DATA 4.2, 7.5, 25.1, -1,.1,.01,.001,.0001 45 DATA.2,.02,.002,.0002,.015,.025,.3,.03,.003 Unlike most subsequent BASICs, Dartmouth BASIC, from the Third Edition onwards, had a matrix keyword, MAT, which could prefix a number of other commands to operate on entire arrays of data with a single command. In this example, from the 1968 manual, MAT INPUT V is used to input a series of variables. When the user enters nothing on a line, this process ends and the total number of elements is accessed in the NUM pseudovariable. The code then adds up all of the individual elements in the matrix and calculates the average. The Third Edition also added indentation, which is used here to clarify the loop structure.
HLSL errors and warnings. 31 minutes to read In this article Error and warning codes that a shader can return. Constant/value Description ERRCOMMENTEOF 1001 A comment continues past the end of file.
ERRHEXTRUNCATED 1002 A hex value was truncated to 32 bits. ERROCTTRUNCATED 1003 An octal value was truncated to 32 bits. ERRDECTRUNCATED 1004 A decimal value was truncated to 32 bits. ERRSTRINGEOL 1005 A string continues past the end of line. ERRSTRINGEOF 1006 A string continues past the end of file.
ERRCHAREOF 1007 A character continues past the end of file. ERRTOKVERSION 1008 An error in the token version. ERRPPSYNTAX 1500 An invalid preprocessor syntax. ERRUNEXPECTEDTOKENS 1501 There were unexpected tokens following the preprocessor directive. ERRUNEXPECTEDEOF 1502 The end of file was reached unexpectedly. ERRDIVZERO 1503 A division by zero in the preprocessor expression occurred.
ERRINVALIDCOMMAND 1504 An invalid preprocessor command. ERRINCLUDEFROMFILE 1505 The include interface that is required to support #include from resource or memory doesn't work. ERRTOOMANYINCLUDES 1506 There are too many nested #includes. ERRFILEOPEN 1507 The specified source file failed to open. ERRELIF 1508 An unexpected #elif directive occurred. ERRELSE 1509 An unexpected #else directive occurred.
ERRENDIF 1510 An unexpected #endif directive occurred. ERRDUPLICATEPARAMATER 1511 A duplicate parameter was supplied to the specified macro. ERRRESOURCEOPEN 1512 A resource failed to open. ERRELIFELSE 1513 An unexpected #elif directive followed a #else directive. ERRELSEELSE 1514 An unexpected #else directive followed a #else directive. ERRUNEXPECTEDEOFMACRO 1515 An unexpected end of file occurred in a macro expansion.
ERRPARAMETERSMACRO 1516 Not enough actual parameters were supplied to the specified macro. ERRPPNOTYETIMPLEMENTED 1517 Functional defines in preprocessor expressions are not yet implemented. ERRINVALIDINTEXPR 1518 An integer constant expression is invalid or unsupported. ERRMACROREDEFINITION 1519 The specified macro requires redefining. ERRLATEFULLPATH 1520 The #hlslfullpath directive must be the first content in a source file. ERRINVALIDFULLPATH 1521 The #hlslfullpath directive was malformed. ERRPARSESYNTAX 3000 A syntax error was found while parsing a shader file.
ERRREDEFINITION 3003 The specified function requires redefining. ERRUNDECLAREDIDENTIFIER 3004 An undeclared identifier was found while parsing a shader file. ERRINVALIDUSE 3005 The invalid use of a type was found while parsing a shader file. ERREXTERN 3006 The specified variable can't be declared extern. ERRSTATIC 3007 The specified variable can't be declared static. ERRVOLATILE 3008 The specified variable can't be declared volatile. ERRINITIALIZERS 3009 The specified variable can't have initializers.
ERRGROUPSHARED 3010 The specified variable can't be declared as group shared or the group-shared variable can't perform a specific task. ERRNONLITERALINITIALIZER 3011 The specified variable must be a literal expression. ERRMISSINGINITIALIZERS 3012 The specified variable is missing initializers.
ERRARGUMENTS 3013 The function doesn't take the specified number of parameters. ERRARGUMENTSBASETYPE 3014 An incorrect number of arguments was passed to the numeric-type constructor. ERRARGUMENTSINTRINSIC 3015 An incorrect number of arguments was passed to the intrinsic function. ERRUNSUPPORTEDCAST 3017 The conversion from one type to another type is unsupported. ERRSUBSCRIPT 3018 The subscript is invalid. ERRNUMERICEXPECTED 3019 A numeric value, like a float, was expected.
ERRTYPEMISMATCH 3020 A type mismatch occurred. For example, this error is returned if all template type components must have the same type, but they don't. ERRPARSEARRAYEXPECTED 3021 An array was expected. ERRBASETYPEEXPECTED 3022 A scalar, vector, or matrix was expected.
ERRDETERMINANT 3023 A determinant error, such as a faulty observation, occurred. ERRVECTOREXPECTED 3024 A vector was expected. ERRLVALUEEXPECTED 3025 An l-value, which specifies a const object, was expected. ERRMATRIXMULTIPLICATION 3026 An error in matrix multiplication occurred. ERRPARSEARRAYINDEXOUTOFBOUNDS 3030 An index for an array is out of bounds.
ERRPARSEIMAGINARYSQUAREROOT 3031 A imaginary square root error was found while parsing a shader file. ERRPARSEINDEFINITELOG 3032 A indefinite log error was found while parsing a shader file. ERRPARSEDIVISIONBYZERO 3033 A division-by-zero error was found while parsing a shader file. ERRCONST 3035 The specified variable can't be declared const. ERRREDEFINITIONFORMALPARAMETER 3036 An error occurred with the redefinition of the specified formal parameter.
ERRUNSUPPORTEDTYPEEXPR 3037 Constructors only defined for numeric base types. ERRNUMERIC 3038 The specified variable must be numeric. ERRPARSEVERSION 3039 Can't be specific to the target. ERRANNOTATIONS 3040 Can't have annotations. ERRSHADERVERSION 3041 The compiler target is unsupported. ERRPARSENOTYETIMPLEMENTED 3042 A not-yet-implemented error was found while parsing a shader file.
ERRSEMANTICS 3043 Can't have semantics. ERRMISSINGDEFAULTPARAMETER 3044 A default value for the specified parameter is missing. ERROUTPUTINITIALIZER 3045 Output only and can't be initialized. ERRCONSTOUTPUT 3046 Output parameters can't be declared const. ERRUNIFORM 3047 The specified variable can't be declared uniform. ERRUSAGE 3048 Duplicate usages are specified. ERRUSAGEVERSION 3049 Can't be specific to the usage.
ERRMATRIXEXPECTED 3050 A matrix was expected. ERRSCALAREXPECTED 3051 A scalar was expected. ERRVECTORSIZE 3052 The vector dimension must be between 1 and MAXVECTORSIZE. ERRMATRIXSIZE 3053 The matrix dimensions must be between 1 and MAXVECTORSIZE.
ERRSHARED 3054 The specified variable can't be declared as shared. ERRINLINE 3055 The specified variable can't be declared as inline.
ERRLITERALVARIABLE 3057 The specified variable is a literal expression. ERRARRAYLITERAL 3058 Array dimensions must be literal scalar expressions. ERRARRAYSIZE 3059 Array dimension must be between 1 and 65536. ERRVECTORLITERAL 3060 The vector dimension must be a literal scalar expression. ERRMATRIXLITERAL 3061 Matrix dimensions must be a literal scalar expressions. ERRUNIFORMOUT 3062 The specified variable can't be declared 'uniform out'. ERRSAMPLER 3063 The specified variable can't be a sampler.
ERROBJECTLITERALS 3064 Object literal expressions aren't allowed inside functions. ERROBJECTASSIGNMENTS 3065 Object assignments aren't allowed inside functions.
ERRSAMPLEREXPECTED 3066 A sampler was expected. ERRAMBIGUOUSFUNCTIONCALL 3067 The function call is ambiguous. ERRPROTOTYPE 3068 The return value of a function differs from the return value of the prototype of the function.
ERRFUNCTIONHASBODY 3069 The function already has a body. ERRPARSEINDEFINITEACOS 3070 A syntax error was found while parsing an indefinite arccosine. ERRPARSEINDEFINITEASIN 3071 A syntax error was found while parsing an indefinite arcsine. ERRARRAYIMPLICIT 3072 Array dimensions for this type must be explicit.
ERRARRAYIMPLICITORDER 3073 Secondary array dimensions must be explicit. ERRARRAYIMPLICITVALUE 3074 The implicit array is missing a value. ERRARRAYIMPLICITSIZE 3075 The implicit array type does not match.
ERRVOIDSEMANTIC 3076 A void function can't have a semantic attached to it. ERRUSAGEMATRIX 3077 Non-matrix types can't be declared as rowmajor or columnmajor. ERRREDEFINITIONLOOPCONTROL 3078 The loop control variable that is used outside the for-loop scope conflicts with a previous declaration in the outer scope; the most recent definition was used. ERRRETURNVOID 3079 Void functions can't return a value.
ERRRETURNVALUE 3080 The function must return a value. ERRCOMMAEXPRESSION 3081 A comma expression was used where an initializer list may have been intended. ERRBINARYTYPEEXPECTED 3082 An int or unsigned int type is required for bitwise operators. ERRGEOMETRYCONFLICT 3083 There are conflicting geometry types. ERRATTRIBUTE 3084 Error with the attribute due to errors with its parameters. ERRUNSIGNEDTYPE 3085 The unsigned type can't be used with this variable type. ERRDEPRECATEDINSTRICTMODE 3086 The particular syntax (DirectX 9 syntax) or keyword (pixelshader) is deprecated in strict mode.
ERRNOMETHODS 3087 The object doesn't have methods. ERRUNKNOWNMETHOD 3088 The object doesn't have the specified method.
ERRTARGETUSAGEINVALID 3089 The shader target or usage is invalid. ERRNOOBJECTSINSTRUCTS 3090 No writable textures, samplers, or UAVs can be members of compound types with interface inheritance. ERRPACKOFFSETININVALIDSCOPE 3091 Packoffset is only allowed in a constant buffer. ERRUNARYNEGATEOFUNSIGNED 3092 Unary negate of unsigned value is still unsigned. ERROUTOFMEMORY 3093 Ran out of memory will performing the operation. ERRNONCOMPOUNDBASE 3094 The base type is not a structure, class, or interface.
ERRMULTICONCRETEBASE 3095 Multiple concrete base types were specified. ERRNOTTEMPLATETYPE 3096 The specified variable isn't a template type. ERRSTATICMETHODMEMBERUSE 3097 The specified static method can't refer to instance members.
ERRNOMETHODPROTOTYPE 3098 The method isn't found in the class. ERRSTATICMETHODINSTANCECALL 3099 The specified static method can't be called on objects.
ERRNOSTATICMEMBERDECL 3100 The specified static member isn't found in the class or isn't a static variable. ERRSTATICMEMBERTYPEMISMATCH 3101 The declaration type differs from the definition type. ERRINVALIDSTATICMEMBERSCOPE 3102 Static members can only be defined in global scopes. ERRMISSINGVARIABLEDEFINITION 3103 The specified variable was declared but not defined. ERRNODATAININTERFACES 3104 Interfaces can't contain data.
ERRNOSTATICMETHODSININTERFACES 3105 Interface methods can't be static. ERRNOINTERFACEMETHODBODIES 3106 Interface methods can't be declared outside of an interface. ERRNOINTERFACEINHERITANCE 3107 Interfaces can't inherit from other types. ERRCLASSMISSINGINTERFACEMETHOD 3108 The class doesn't implement the specified method. ERRMISMATCHEDOVERRIDERETTYPE 3109 The return type doesn't match the overridden method. ERRNOINTERFACESASMEMBERS 3110 Interfaces can't be members.
ERRRECURSIVECONTAINMENT 3111 Types can't contain members of their own type. ERRNOSWITCH 3112 Can't use call or forcecase attributes on switch statements in the specified programs. ERRNOOUTDEFAULTS 3113 ERRDEFAULTREDEFINED 3114 Default parameters can only be provided in the first prototype. ERRCONFLICTINGREGISTERSEMANTICS 3115 The specified register is used more than once.
ERRINVALIDAPICALL 3116 The API call is invalid. ERRINVALIDCOMPILEEXPRFLAG 3117 The debug info flag can only be set globally. ERRINTERFACEOUT 3118 Interfaces can only be inputs.
ERRMULTIDIMPOINTERARRAY 3119 Interface arrays can't be multi-dimensional. ERRINVALIDINDEX 3120 Invalid type for index was specified. Index must be a scalar or a vector with the correct number of dimensions.
ERRINDEXABLETYPEEXPECTED 3121 An array, matrix, vector, or indexable object type was expected in the index expression. ERRNONSCALARVECTORELEMENT 3122 The vector element type must be a scalar type. ERRNONSCALARMATRIXELEMENT 3123 The matrix element type must be a scalar type. ERROBJECTHASOBJECTELEMENT 3124 The object element type can't be an object type.
ERRINVALIDDOTMIPSUSAGE 3125 The.mips type can only be used in a two-element indexing expression, such as,.mipsmipelement. ERRMETHODIMPLPROTOMISMATCH 3126 The specified method didn't match any prototype in the class. ERRMETHODIMPLBODYMISSING 3127 The specified method can't be re-declared. ERRNONSIMPLESTREAM 3128 Stream parameters can only be single-element types. ERRWARNINGASERROR 3129 A warning was treated as an error. ERRFXSINGLE 3130 The specified variable can't be declared 'single'. ERRNOSTATICINTERFACEINIT 3131 Static interfaces can't have initializers.
ERRNOINTERFACESINBUFFERS 3132 Interfaces can't be declared in buffers. WARTYPEMISMATCH 3200 Type mismatches aren't recommended. WARNOFRAGMENTS 3201 Fragments aren't recommended. WARINVALIDSEMANTIC 3202 The semantic doesn't apply and is ignored. WARSIGNEDUNSIGNEDCOMPARE 3203 A signed versus unsigned mismatch occurred between destination and value and unsigned is assumed.
WARINTTOOLARGE 3204 Unsigned integer literal is too large so is truncated. WARPRECISIONLOSS 3205 In the conversion from larger type to smaller, a loss of data might occur.
WARELTTRUNCATION 3206 The implicit truncation of a vector type occurred. WARCONSTINITIALIZER 3207 Initializer was used on a global 'const' variable.
This requires setting an external constant. If a literal is wanted, use 'static const' instead. WARFAILEDCOMPILING10L9VS 3208 Failed compiling the 10level9 (9x feature levels) vertex shader version of the library function. WARFAILEDCOMPILING10L9PS 3209 Failed compiling the 10level9 (9x feature levels) pixel shader version of the library function. ERRCOMPNOTYETIMPLEMENTED 3500 The particular expressions are not yet implemented.
ERRENTRYPOINTNOTFOUND 3501 The entry-point function is not found. ERRMISSINGINPUTSEMANTICS 3502 The specified input parameter is missing semantics. ERRMISSINGOUTPUTSEMANTICS 3503 The specified output parameter or function return value is missing semantics. ERRCOMPARRAYINDEXOUTOFBOUNDS 3504 The index of the array is out of bounds. ERROLDVERSION 3505 The version being used is no longer supported; instead use a current version.
ERRUNRECOGNIZEDVERSION 3506 The compiler target isn't recognized. ERRRETURN 3507 The type can't return a value. ERROUTUNINITIALIZED 3508 The output parameter or return value was never assigned a value. ERRDEPENDENTTEX1D 3509 Texture sample is considered dependent since texcoord wasn't declared as at least a float. ERRFUNCTIONMISSINGBODY 3510 The function is missing an implementation. ERRCANTUNROLL 3511 The loop is unable to unroll, the loop doesn't appear to terminate in a timely manner (in the specified number of iterations), or the unrolled loop is too large. Use the unroll(n) attribute to force an exact higher number.
ERRARRAYINDEXMUSTBELITERAL 3512 The index of the sampler array must be a literal expression. ERRCOMPARRAYEXPECTED 3513 An array or a particular array dimension was expected. ERRGEOMETRYINVALID 3514 The specified input semantic is invalid for geometry shader primitives, it must be its own parameter. ERRTARGETINVALID 3515 The target is invalid. For example, user-defined buffers can't be target specific, and the register specification expected a particular binding. ERRTEXCUBEOFFSETINVALID 3516 Texcube instructions can't have integer offsets.
ERRUNDEFINEDVARIABLE 3517 The variable is undefined. ERRBREAKOUTSIDELOOP 3518 A break must be inside a loop. ERRCONTINUEOUTSIDELOOP 3519 A continue must be inside a loop.
ERRTEXPROJINVALIDTEXCOORD 3520 Texture projection can't have texcoord instructions. ERRTEXTURETYPE 3521 The return type of the texture is too large. It can't exceed four components. ERRTEXTUREOBJECTSUNSUPPORTED 3522 Texture objects or streams aren't supported on legacy targets. ERRCOMPATMAKETEXTURE 3523 DirectX 9-style intrinsic functions are disabled when not running in DirectX 9 compatibility mode. ERRDUPLICATEATTRIBUTE 3524 Specific attributes can't be used together, like loop and unroll, or a duplicate attribute was supplied.
ERRNOTSIMPLELOOP 3525 The loop can't be mapped to a shader target because the target doesn't support breaks. ERRGRADIENTWITHBREAK 3526 Gradient instructions can't be used in loops with breaks. ERRTEXTUREOFFSET 3527 Texture access requires literal offset and multisample index.
ERRCANTBRANCH 3528 Flow control (branching) can't be used on this profile. ERRMUSTBRANCH 3529 Flattening with flow control in this specific situation can't be done.
ERRBINDINVALID 3530 Invalid binding operation was performed. For example, buffers can only be bound to one slot or one constant offset; invalid register specification because a particular binding was expected but didn't occur; can't mix packoffset elements with nonpackoffset elements in a cbuffer. ERRNEEDUNROLLFORCEDLOOP 3531 Loops that are marked with the loop attribute can't be unrolled. ERRDUPLICATECASE 3532 A duplicate default or case statement occurred in a switch statement.
ERRMUSTHAVEBREAK 3533 Non-empty case statements must have a break or return. ERRLOWPRECISION 3534 Partial precision isn't supported for the specified target. Min-precision types might offer similar functionality. ERRUNSUPPORTEDOPERATION 3535 An unsupported operation was performed. For example, bitwise operations aren't supported on legacy targets; requires shader model 5 or higher; Texture Xxx methods for tiled resources require shader model 5 or higher. ERRINCOMPATIBLEDUPSEMANTICS 3536 semantics can't be used when using the clipplanes attribute, or duplicated input semantics can't change type, size, or layout. ERRNOFALLTHROUGH 3537 Fall-through cases in switch statements aren't supported.
/ statements that fall through to the next case/ default without a can't have any code in them. ERRNONLITERALSAMPLER 3538 Sampler parameter must come from a literal expression. ERROLDVERSION 3539 A particular shader version, such as, ps1x, is no longer supported; use /Gec in the fxc.exe HLSL code compiler to automatically upgrade to the next shader version, such as, ps20; alternately, fxc's /LD option allows use of a previous compiler DLL.
ERRNOGLOBALPACKOFFSETS 3540 Global variables aren't supported. ERRINVALIDPACKOFFSETNAME 3541 Invalid location was specified.
ERRPACKOFFSETCANTHAVETARGET 3542 A variable can't have a target qualifier. ERRREINTERPRETUNSUPPORTED 3543 The operation can't reinterpret the supplied datatype. ERRNOINTERFACESUPPORT 3544 Abstract interfaces aren't supported on the specified target; interface references must resolve to specific instances. ERRNOIFACEMETHODIMPLS 3545 No classes implement the specified method.
ERRTBUFFERUNSUPPORTED 3546 Reading from texture buffers is unsupported on the specified target. ERRNOGLOBALCOMPOUNDWRITES 3547 Global structs and classes can't be changed. ERRNONEGATIVEEMULATEDUINTS 3548 The specified uints can only be used with known-positive values, use int if possible. ERRINTERLOCKEDTARGET 3549 Interlocked targets must be groupshared or UAV elements.
Or, the specified target doesn't support interlocked operations, for example, / are only valid on objects. WARARRAYINDEXMUSTBELITERAL 3550 The index of the sampler array must be a literal expression, so the loop is forced to unroll. WARINFINITELOOP 3551 An infinite loop was detected so the loop writes no values. WARNOTSIMPLELOOP 3552 The loop can't be mapped to a shader target because the target doesn't support breaks.
WARGRADIENTWITHBREAK 3553 Can't use gradient instructions in loops with break. WARUNKNOWNATTRIBUTE 3554 The attribute is unknown or invalid for the specified statement. WARINCOMPATIBLEFLAGS 3555 Flags aren't compatible with the operation. WARINTDIVIDESLOW 3556 Integer divides might be much slower, try using uints if possible.
WARTOOSIMPLELOOP 3557 The loop only executes for a limited number of iterations or doesn't seem to do anything so consider removing it or forcing it to unroll. WARENDIFUNINITIALIZED 3558 The #endif directive is uninitialized. WARLOOPASYMMETRICRETURN 3559 The loop returns asymmetrically.
WARMUSTBRANCH 3560 If statements that contain out of bounds array accesses can't be flattened. WAROLDVERSION 3561 A particular shader version, such as, ps1x, is no longer supported; use the next shader version, such as, ps20. WAROUTOFBOUNDSLOOPSIM 3562 The loop simulation goes out of bounds. WAROUTOFBOUNDSLOOPUNROLL 3563 The loop unrolls out of bounds. WARPRAGMARULEDISABLE 3564 For better compilation results, consider re-enabling the specified rule. WARDIDNOTSIMULATE 3565 Loop simulation finished early, use /O1 or higher for potentially better codegen. WARNOEARLYBREAK 3566 Loop won't exit early, try to make sure the loop condition is as tight as possible.
WARIGNORINGREGISTERSEMANTIC 3567 The register semantic is ignored. WARUNKNOWNPRAGMA 3568 The unknown pragma directive is ignored. WARLOOPTOOLONG 3569 The loop executes for more than the maximum number of iterations for the specified shader target, which forces the loop to unroll. WARGRADIENTMUSTUNROLL 3570 A gradient instruction is used in a loop with varying iteration, which forces the loop to unroll. WARPOWNOTKNOWNTOBEPOSITIVE 3571 The (f, e) intrinsic function won't work for negative f, use (f) or conditionally handle negative values if you expect them. WARVARYINGINTERFACE 3572 Interface references must resolve to non-varying objects. WARTESSFACTORSCALEOUTOFRANGE 3573 Tessellation factor scale is clamped to the range 0, 1.
WARSYNCINVARYINGFLOW 3574 Thread synchronization operations can't be used in varying flow control. WARBREAKFROMUAV 3575 Automatic unrolling has been disabled for the loop, consider using the unroll attribute or manual unrolling. Or, loop termination conditions in varying flow control so can't depend on data read from a UAV. WAROVERRIDDENSEMANTIC 3576 Patch semantics must live in the enclosed type so the outer semantic is ignored. Or, semantics in type are overridden by variable/function or enclosing type. WARKNOWNNONSPECIAL 3577 The value can't be infinity, A call to might not be necessary.
/Gis might force isfinite to be performed. Or, The value can't be NaN, A call to might not be necessary. /Gis might force isnan to be performed. WARTLOUTUNINITIALIZED 3578 The output value isn't completely initialized. WARGROUPSHAREDUNSUPPORTED 3579 The specified variable doesn't support so groupshared is ignored.
WARCONDITIONALSIDEEFFECT 3580 Both sides of the &&, or?: operator are always evaluated so the side effect on the specified side won't be conditional. WARNOUNSIGNEDABS 3581 The operation on unsigned values is not meaningful so it's ignored. WARTEXTUREOFFSET 3582 Texture access must have literal offset and multisample index. WARPOTENTIALRACECONDITIONUAV 3583 A race condition writing to a shared resource was detected, note that threads are writing the same value, but performance might be diminished due to contention. WARPOTENTIALRACECONDITIONGSM 3584 A race condition writing to shared memory was detected, note that threads are writing the same value, but performance might be diminished due to contention. WARUNRELIABLESOURCEMARK 3585 Sourcemark is most useful in /Od builds. Without /Od sourcemark, can be moved around in the final shader by optimizations.
WARNOINTERFACESUPPORT 3586 Abstract interfaces aren't supported on the specified target so interface references must resolve to specific instances. WARMIN10RCP 3587 The target emulates A / B with A. reciprocal(B). If the reciprocal of B is not representable in your min-precision type, the result might not be mathematically correct. WARNOCLIPPLANESINLIBRARY 3588 The clipplanes attribute is ignored in library functions.
ERRPRAGMADEFOBSOLETE 3589 The '#pragma def' directive is no longer supported on DirectX 10+ and 10level9 (9x feature levels) targets. Use compatibility mode to allow compilation. ERRNO32BITHALF 3650 Global variables can't use the 'half' type in the specified target. To treat this variable as a float, use the backwards compatibility flag. ERRNO32BITDOUBLE 3651 The specified target doesn't support double data type values. ERRNOSMALLINT 3652 The specified target doesn't support 8-bit or 16-bit integers.
ERRNO64BITINT 3653 The specified target doesn't support 64-bit integers. ERRNOUNSIGNEDABS 3654 The operation on unsigned values isn't supported. ERRTHREADGROUPSIZEINVALID 3655 The thread group size is invalid.
ERRTHREADGROUPSIZEMISSING 3656 The size of the thread group is missing. ERRHSATTRIBUTEINVALID 3657 Expected the specified parameter to be a certain value but got the specified value. Or, line or triangle output topologies are only available with isoline domains. Or, the maximum tesselation factor must be in the range 1,64. ERRHSPATCHINVALID 3658 Only one or parameter is allowed.
Or, InputPatch inputs can only be used in hull and geometry (50+) shaders. Or, OutputPatch inputs can only be used in the domain shaders and a hull shader's patch constant function. ERRHSTYPEMISMATCH 3659 The patch constant function must use the same input control point type that is declared in the control point phase.
Or, the patch constant function must use the same output control point type that is returned from the control point phase. Or, the patch constant function's output patch input should have a certain number of elements, but has the specified amount. ERRINTERLOCKEDUNSUPPORTED 3660 The specified target doesn't support interlocked operations.
ERRGROUPSHAREDUNSUPPORTED 3661 The specified variable doesn't support. ERRINDETERMINATEDERIVATIVE 3662 The gradient operation uses a value that might not be defined for all pixels (in the specified target, UAV loads can't participate in gradient operations). ERRSYNCINVARYINGFLOW 3663 Thread synchronization operations can't be used in varying flow control. ERRSYNCUNSUPPORTED 3664 The specified target doesn't support synchronization operations.
ERRNOAPPENDCONSUME 3665 The specified target doesn't support Append/Consume buffers. ERRNOTYPEDUAVS 3666 The specified target doesn't support typed UAVs. ERRNOUAVS 3667 The specified target doesn't support UAVs.
ERRINDEXISNOTGROUPINDEX 3668 Stores to group shared memory for specified targets must be indexed by an only. ERRNONLITERALRESOURCE 3669 Resources being indexed can't come from conditional expressions, they must come from literal expressions. ERRNONLITERALSTREAM 3670 The stream parameter must come from a literal expression. ERRBREAKFROMUAV 3671 Loop termination conditions in varying flow control so can't depend on data read from a UAV. ERRNOPULLMODEL 3672 The specified target doesn't support pull-model attribute evaluation. ERRCANTPULLPOSITION 3673 The specified target doesn't support pull-model evaluation of position. ERRPULLMUSTBEINPUT 3674 Attribute evaluation can only be done on values that are taken directly from inputs.
ERRLOOPCONDITIONOUTOFBOUNDS 3675 Can't unroll loop with an out-of-bounds array reference in the condition. ERRTYPEDUAVLOADMULTICOMP 3676 Typed UAV loads are only supported for single-component 32-bit element types. ERRMULTIPLEDEPTHOUT 3677 The specified target only allows one depth output.
ERRNOORDEREDACCESSININTERFACE 3678 Interface-reachable members containing UAVs or group shared variables aren't implemented yet. ERRCOMPGLCINVALID 3679 The storage class globallycoherent can only be used with Unordered Access View (UAV) buffers and can't be used with append/consume buffers. ERRHSUNKNOWNOUTPUTTYPE 3680 When you define a pass-through control-point shader, you must declare an object, and the number of output control points must be zero or must match the input patch size.
ERRATOMICREQUIRESINT 3681 The specified target only supports interlocked operations on scalar int or uint data. ERRATTRIBUTEPARAMSIDEEFFECT 3682 Expressions with side effects are invalid as attribute parameters ERRINVALIDRESOURCECONTAINER 3683 Groupshared variables can't contain resources such as textures, samplers or UAVs. Or, resources such as textures, samplers or UAVs can't contain other resources. ERRUNSUPPORTEDDOUBLEOPERATION 3684 The specified target doesn't support double-precision floating-point. Or, the operation can't be used directly on resources. Or, the operation can't be used with doubles, cast to float first. Or, the operation isn't supported on the given type.
ERRINVALIDTESSFACTORSEMANTIC 3685 The tessfactor semantic is out of order. Or, conflicting quad/tri/isoline tessfactor semantic. Or, tessfactor semantics must be in the same component.
ERRUNSUPPORTEDTHISOBJECT 3686 The specified object isn't supported. ERRINVALIDSHADERIO 3687 Double types can't be used as shader inputs or outputs. If you need to pass a double between shader stages, you must pass it as two uints and use and to convert between forms. ERRINDEXEDDERIV 3688 Derivatives of indexed variables aren't implemented yet. ERRORDEREDACCESSCAST 3689 The left-hand side of an assignment can't be cast to an indexable object so consider using, or on the right-hand side.
ERRRESOURCEUNINITIALIZED 3690 The resource being indexed is uninitialized. ERRINVALIDSTATICVARINIT 3691 Invalid variable reference in static variable initializer. Locals can't be used to initialize static variables. ERRNOABORT 3692 The specified target doesn't support aborts.
ERRNOMESSAGES 3693 The specified target doesn't support messages. ERRGUARANTEEDRACECONDITIONUAV 3694 A race condition writing to a shared resource was detected so consider making this operation write conditional. ERRGUARANTEEDRACECONDITIONGSM 3695 A race condition writing to shared memory was detected so consider making this operation write conditional. ERRINFINITELOOP 3696 An infinite loop was detected so the loop never exits. ERRTEMPLATEVARCONFLICT 3697 The specified variable matches a variable in the template shader but the type layout doesn't match. ERRRESOURCEBINDCONFLICT 3698 The specified resource had binding conflicts with the template shader.
ERRCOMPLEXTEMPLATERESOURCE 3699 Place-holder template resources can only be simple resources so structs and arrays aren't supported. ERRRESOURCENOTINTEMPLATE 3700 For the specified resource, binding isn't present in the template shader.
ERRRESINDEXUNSUPPORTED 3701 The specified target doesn't support indexing resources. ERRFMAONLYDOUBLE 3702 The intrinsic function can only be used with double arguments. ERRNOMINPRECISION 3703 The specified target doesn't support minimum-precision data. ERRNOF32F16 3704 The specified target doesn't support 16-bit float conversions. ERRNOTABLETOFLATTEN 3705 If statements that contain side effects can't be flattened.
ERRINVALIDMININT 3706 Signed integer division isn't supported on minimum-precision types. Cast to int to use 32-bit division. ERRINVALIDMIN8FLOAT 3707 A minimum 8-bit floating point value is invalid or unsupported. ERRCONTINUEINSIDESWITCH 3708 A continue statement can't be used in a switch statement. ERRDEBUGNOTSUPPORTEDFORMODERN 3709 Debug isn't supported.
ERRUNSUPPORTEDPARAMTYPE 3710 The specified function parameters are unsupported. ERRDUPLICATEFUNCPARAMSEMANTICS 3711 Library function parameters and return values can't have duplicate semantic.
ERRLIBRARYFUNCUNSUPPORTED 3712 Library functions are supported only for pixel shaders and vertex shaders. ERRENTRYPOINTMUSTBEEMPTY 3713 An entry point can't be specified for a library. Mark library entry points with the export keyword. ERRNOSTATICINLIBRARY 3714 The specified variable is declared as static, which isn't supported for libraries yet.
ERRNOTBUFFERINLIBRARY 3715 The specified variable is declared as tbuffer, which is not supported for libraries yet. ERRNOINTERFACESINLIBRARY 3716 Classes and interfaces aren't supported in libraries. ERRNODOUBLEINLIBRARY 3717 Double data types can't be used as library function inputs or outputs.
If you need to pass a double to a library function, you must pass it as two uints and use and to convert between forms. ERRNOOVERLOADINGFORLIBFUNC 3718 Library entry points can't be overloaded. ERRRESMAYALIASONLYINCS5 3719 The 'resourcesmayalias' option is only valid for cs50+ targets. ERRREADBEFOREWRITE 4000 The specified variable is used without having been completely initialized. ERRMIDDIVISIONBYZERO 4001 A division by zero in the mid-level preprocessor expression occurred. ERRMIDINDEFINITELOG 4002 An indefinite logarithm occurred. ERRMIDIMAGINARYSQUAREROOT 4003 An imaginary square root occurred.
ERRTOOCOMPLEX 4004 The program is too complex because there are more active values than registers. ERRINDEFINITEASIN 4005 An indefinite arcsine occurred. ERRINDEFINITEACOS 4006 An indefinite arccosine occurred. ERRARRAYINDEXOUTOFBOUNDS 4007 The array index is out of bounds. WARNFLOATDIVISIONBYZERO 4008 A floating point division by zero occurred.
ERRIDIVDIVISIONBYZERO 4009 An integer division by zero occurred. ERRUDIVDIVISIONBYZERO 4010 An unsigned integer division by zero occurred. ERRFTOIOUTOFRANGE 4011 The floating-point value out of integer range for a conversion. ERRFTOUOUTOFRANGE 4012 The floating-point value out of unsigned integer range for a conversion.
ERRINDEFINITEDSXY 4013 An indefinite derivative calculation occurred. ERRGRADIENTFLOW 4014 Gradient operations can't occur inside loops with divergent flow control. ERRMIDSEMANTICTOOLONG 4015 The semantic length is too long. ERRINVALIDSEMANTIC 4016 The semantic is invalid. For example, the SVInstanceID semantic can't be used with 10level9 (9x feature levels) targets, or zero-character semantics aren't supported. ERRMIDINVALIDREGISTERSEMANTIC 4017 The same variable can't be bound to multiple constants in the same constant bank. ERRTOOMANYPHASES 4018 The shader uses texture addressing operations in a dependency chain that is too complex for the specific target shader model to handle.
ERRCONSTANTREGCOLLISION 4019 Multiple variables were found with the same user-specified location. ERRTBUFFERREGCOLLISION 4020 Multiple variables were found with the same user-specified location. ERRDERIVREADBEFOREWRITE 4021 Derivative is being used before it was defined so consider moving the derivative assignment earlier in the program. ERRDERIVINVALIDPREDICATE 4022 Derivative isn't defined in a different branch of flow-control so consider moving the derivative assignment before any flow control statements. ERRDERIVREDEFINITION 4023 A redefinition of a derivative occurred, and derivatives can only be assigned once. ERRDERIVKNOWNVALUE 4024 Derivatives of known values are unimplemented.
ERRDERIVUNKNOWN 4025 Unable to calculate the derivative of the specified value. ERRRACECONDITIONINDUCEDINVSYNC 4026 A thread sync operation must be in non-varying flow control. Because of a potential race condition, this sync is invalid so consider adding a sync after reading any values that control shader execution at this point. ERRALIASARRAYINDEXOUTOFBOUNDS 4027 The array index is out of bounds. ERRMINPRECISIONPRECISE 4028 The specified variable has a minimum precision type and can't be marked precise. ERRLOOPNEVERBREAKS 4029 An infinite loop was detected so the loop never exits.
WARNFTOIOUTOFRANGE 4114 The literal floating-point value is out of integer range for the conversion. WARNFTOUOUTOFRANGE 4115 The literal floating-point value is out of unsigned integer range for the conversion. WARNIDIVDIVISIONBYZERO 4116 A possible integer divide by zero occurred.
WARNUDIVDIVISIONBYZERO 4117 A possible unsigned integer divide by zero occurred. WARNIMAGINARYSQUAREROOT 4118 An imaginary square root operation occurred. WARNINDEFINITELOG 4119 An indefinite logarithm operation occurred. WARNREPLACENOTCONVERGE 4120 Optimizations aren't converging. WARNHOISTINGGRADIENT 4121 Gradient-based operations must be moved out of flow control to prevent divergence. Performance might improve by using a non-gradient operation. WARNFLOATPRECISIONLOSS 4122 The sum of two floating point values can't be represented accurately in double precision.
WARNFLOATCLAMP 4123 Floating-point operations flush denorm float literals to zero so the specified floating point value is losing precision (this warning will only be shown once per compile). ERRGENNOTYETIMPLEMENTED 4500 A feature like clipping from a swizzled vector is not yet implemented. ERRDUPLICATEINPUTSEMANTIC 4501 An inconsistent semantic definition occurred. ERRINVALIDINPUTSEMANTIC 4502 The specified input semantic is invalid. ERRINVALIDOUTPUTSEMANTIC 4503 The specified output semantic is invalid. ERRDUPLICATEOUTPUTSEMANTIC 4504 Overlapping output semantics occurred.
ERRMAXTEMPEXCEEDED 4505 The maximum temp register index was exceeded. ERRMAXINPUTEXCEEDED 4506 The maximum number of inputs was exceeded. ERRMAXCONSTEXCEEDED 4507 The maximum constant register index was exceeded. Try to reduce the number of constants that are referenced.
ERRMAXADDREXCEEDED 4508 The maximum address register index was exceeded. ERRGENINVALIDREGISTERSEMANTIC 4509 An invalid register semantic was used, or a variable must be bound to multiple register banks. ERRMAXSAMPLEREXCEEDED 4510 The maximum number of samplers was exceeded. ERRRELADDRESSNOTSUP 4511 The target doesn't support relative addressing.
ERRNOWACCESS 4512 The texture coordinate w-component can't be accessed. ERRNODEPFROMCOL 4513 Dependent texture read operations that in any way are based on color inputs can't be performed. ERRPROGRAMTOOBIG 4514 The program is too big. ERRCANNOTBINDSAMPLER 4515 The sampler can't be bound to the user specified stage or sampler array. ERRCANNOTREADSAMETEX 4516 A texcoord that was used as input in a sampler can't be read from. ERRCONFLICTSAMPBIND 4517 User defined sampler or sampler array bindings are conflicting.
If two samplers have the same user binding, they can't both be used in the same shader. ERRMULTIREADSAMPBIND 4518 Texture lookup can't be performed twice from a user bound or similar array access sampler. ERRTOOMANYTEXREADS 4519 Too many texture loads and reads occurred from texcoords. ERRNOTEXCRDSHARE 4520 texcoord can be read from and used for texlookup only in ps14 and higher. ERROUTOFTEMP 4521 The program is too complex and is out of temporary registers. ERRNOREPSWIZZLE 4522 Replicate swizzles are only supported in ps14. ERRNODEPMATCH 4523 This dependent texture read can't be mapped to ps1x, or the shader can't compile to a ps1x shader because this model can't match all the dependent texture reads this shader requires.
ERRTEXMNOSHARE 4524 texm can't be matched because computed texcoord is used in shader. ERRTEXMNOTCORSTAGE 4525 texm.
can't be matched because source inputs aren't in the appropriate texture coordinates. For more info, see the. ERRTEXMNOSOURCEMOD 4526 texm. can't be matched to because texm.
can't have source modifiers on input texcoord. ERRTEXMBX2ONLY 4527 texm. can't be matched to because texm. can only have bx2 modifier on input texload. ERRDEPTHSCALAR 4528 DEPTH must be a scalar. ERRCOLOR4COMP 4529 The semantic (SVTarget or COLOR) value must be a four-component vector.
ERRWRITETOCOLOR0 4530 The pixel shader must minimally write all four components of the semantic (SVTarget0 or COLOR0) value. ERRDP4NOTSUP 4531 DP4 isn't supported. ERRNOMATCH 4532 The expression can't be mapped to the shader instruction set. ERRNOSWIZZLEMATCH 4533 Swizzle can't be mapped to ps1x. ERRNODOUBLEDEP 4534 Double dependent texture reads can't be performed in ps1x.
ERRNOTEXSOURCE 4535 The texreg2ar or texreg2gb instruction can't be matched to because you can't have input modifiers. ERRTEXRGBNOTSUPPORTED 4536 The expression can only be mapped to texreg2rgb, but this instruction isn't supported on 1x. ERRCANTEMMULLATEWRITE 4537 Write masks can't be emulated for the ps1x shader model. ERRCOLORCONT 4538 SVTarget outputs must be contiguous from SVTarget0 to SVTargetN, or COLOR outputs must be contiguous from COLOR0 to COLORn. ERRSAMPLERMISMATCH 4539 A sampler mismatch occurred because the sampler was used inconsistently. ERRSEMANTICSCALER 4540 PSIZE or FOG must be a scalar. ERRWRITEALLPOS 4541 The vertex shader must minimally write all four components of SVPosition or POSITION.
ERRTEXCOORDCONT 4542 Texcoord outputs must be contiguous from texcoord0 to texcoordn. ERRNOMULTISEM 4543 Multi-register semantics aren't supported in fragments. ERRNO4COMPCLIP 4544 The clip must be from a 3 vector in ps1x. ERRTEXTURENOTSUPPORTED 4545 An unsupported texture type for the specified target was encountered. ERRMAXSAMPEXCEEDED 4546 The maximum sampler register index was exceeded.
ERRDEBUGSIZE 4547 The debug info exceeds the maximum comment size so no debug info was emitted. ERRCONSTANTTABLESIZE 4548 The constant table info exceeds the maximum comment size. ERRMAXPREDEXCEEDED 4549 The maximum predicate register index was exceeded.
ERRMAXBOOLEXCEEDED 4550 Try reducing the number of constant branches, take bools out of structs/arrays, or move them to the start of the struct. ERRMAXLOOPEXCEEDED 4551 Try reducing the number of loops, take loop counters out of structs/arrays, or move them to the start of the struct.
ERRNOTSIMPLEFOR 4552 The general loop can't be mapped to this instruction set. ERRADDRESSTOODEEP 4553 Relative address references are too deep. ERRCNDSCALAR 4554 Vector conditionals can't be emulated in ps1x shader model. ERRINVALIDTYPE 4555 An invalid type used for the specified semantics. ERRMAXTEXTUREEXCEEDED 4565 The maximum number of texture slots is exceeded for a library. ERRREQUIREINTOFFSET 4566 Offset texture instructions must take an offset, which can resolve to integer literal in the range -8 to 7. ERRMAXCBUFFEREXCEEDED 4567 The maximum number of constant buffer slots is exceeded for a library.
ERRINCORRECTUSAGE 4568 The usage is unsupported on the target. For example, the sample interpolation, nointerpolation, noperspective, or integer inputs usages might be unsupported. ERRPOSITIONINCORRECTTYPE 4569 An incorrect type was specified for the POSITION value. ERRMULTIPLESTREAMS 4570 The target can only emit to a specific amount of streams. ERRMAXOUTPUTEXCEEDED 4571 The output limit was exceeded. ERRNOSTREAMSUSED 4572 The geometry shader didn't emit anything.
ERRGENSEMANTICTOOLONG 4573 The semantic length is too long and is limited to the specified number of characters. ERRDUPLICATESYSVALSEMANTIC 4574 A duplicate system value semantic definition was encountered. ERRREADINGUNINITIALIZED 4575 An uninitialized value was read. ERRSIGNATUREVALIDATION 4576 An error occurred during signature validation. ERRINCOMPLETEPOSITION 4577 Not all elements of SVPosition were written.
ERRDUPLICATECBUFFERBANK 4578 The specified cbuffer register was used more than once. ERRINVALIDFPLITERAL 4579 An invalid floating point literal occurred. ERRUNWRITTENSIVALUE 4580 The specified output contains a system-interpreted value that must be written in every execution path of the shader.
Unconditional initialization might help. ERRAUTOSAMPLERARRAYUNIMPL 4581 Using sampler arrays with texture objects on 10level9 (9x feature level) targets isn't implemented yet. ERRINVALIDTEXTUREFORMAT 4582 Sampling from non-floating point texture formats can't be done. ERRINVALID10L9SEMANTIC 4583 The specified semantic isn't supported on the 10level9 (9x feature level) target. ERRMAXIFACEEXCEEDED 4584 The maximum number of interface pointers was exceeded. ERRMAXUAVEXCEEDED 4585 The maximum number of UAV slots was exceeded for a library. ERRMAXGROUPSHAREDMEMORYEXCEEDED 4586 The total amount, in bytes, of group shared memory exceeded the target's limit.
ERRTOOMANYGROUPSHAREDDATA 4587 Shaders compiled for the specified target can only have a single group shared data item. ERRINCORRECTNUMGROUPSHAREDELEMENTS 4588 Group shared data for the specified target must have a count of elements that is equal to the number of threads in the thread group.
ERRCONTROLPOINTCOUNTEXCEEDED 4589 The maximum control point count for the target was exceeded ERRGROUPSHAREDDATAELEMENTTOOLARGE 4590 Group shared data for the specified target is too large and must have an element size of at most the specified amount of bytes when compiling for the specified number of threads. ERRGROUPSHAREDDATANOTANARRAY 4591 Group shared data for the specified target must be an array of elements. ERRMULTISONOTPOINT 4592 When multiple geometry shader output streams are used they must be point lists. ERRINVALIDSNAPOFFSET 4593 The target's snap offset must be in the range -8 to 7.
ERRCLIPPLANETOOCOMPLICATED 4594 Clip planes can't be addressed in the specified target; or, clip planes must be non-literal constants with identity swizzles in the specified target. ERRONLYONEALLOCCONSUME 4595 objects can increment or decrement their counters, but not both. ERRTYPEDUAVWRITEMASKMISMATCH 4596 Typed UAV stores must write all declared components. ERRTEX1DUNSUPPORTED 4596 types are unsupported on the specified target. ERRRESINFOZUNDEFINEDCUBEARRAY 4598 The array element count of GetDimensions on objects is unavailable on the specified target. ERRINVALIDSTRUCTUREDELEMENTSIZE 4599 The structured buffer element size is invalid. It must be a multiple of specified bytes in the specified target, or it can't be larger than the specified bytes in in the specified target.
ERRMAXICBREGEXCEEDED 4600 The shader's indexable literal values were exceeded. The shader uses too many indexable literal values so consider using less constant arrays. ERRMAXCBUFFERSIZEEXCEEDED 4601 The size of the specified constant buffer is the specified number 16-byte entries, which exceeds maximum allowed size of entries.
ERRLIBDEBUGINSTUNSUPPORTED 4602 Debug instructions are unsupported in shader libraries. ERRVARYINGINDEXEDINTERFACE 4603 Interface calls can't be indexed with varying values.
WARGENNOTYETIMPLEMENTED 4700 A feature isn't implemented yet. WARBIASMISSED 4701 A bias opportunity was missed because the source wasn't clamped 0 to 1. WARCOMPMISSED 4702 A complement opportunity was missed because the input result was clamped from 0 to 1. WARLRPMISSED 4703 Lerp can't be matched because the lerp factor is not sat'd. WARMAXCONSTRANGE 4704 Literal values outside range -1 to 1 are clamped on all ps1x shading models.
WARDEPRECATEDINPUTSEMANTIC 4705 The specified input semantic has been deprecated; use the specified semantic instead. WARDEPRECATEDOUTPUTSEMANTIC 4706 The specified output semantic has been deprecated; use the specified semantic instead. WARTEXCOORDCLAMP 4707 The texcoord inputs used directly (that is, other than sampling from textures) in shader body in ps1x are always clamped from 0 to 1. WARMIDLEVELVARNOTFOUND 4708 The mid-level var was not found. WAROLDSEMANTIC 4710 The semantic is no longer in use.
WARDUPLICATESEMANTIC 4711 A duplicate non-system value semantic definition was encountered. WARCANTMATCHLOOP 4712 The loop can't be matched because the loop count isn't from an integer type. WARBIASCLAMPED 4713 The sample bias value is limited to the range -16.00, 15.99 so use the specified value instead of this value. WARCSTEMPEXCEEDED 4714 The sum of temp registers and indexable temp registers times the specified number of threads exceeds the recommended total number of threads so performance might be reduced.
WARUNWRITTENSIVALUE 4715 A system-interpreted value is emitted that can't be written in every execution path of the shader. WARPSIZEHASNOSPECIALMEANING 4716 The specified semantic has no special meaning on 10level9 (9x feature levels) targets. WARDEPRECATEDFEATURE 4717 Effects are deprecated for the D3DCompiler47.dll or later. Requirements Header CompErrors.h.