1load("//bazel:skia_rules.bzl", "skia_filegroup") 2 3## Tests in sksl_minify_tests_sources will be compiled with sksl-minify, and are expected to 4## generate a .minified.sksl file. 5skia_filegroup( 6 name = "sksl_minify_tests_sources", 7 srcs = [ 8 ":sksl_folding_tests", 9 ":sksl_rte_tests", 10 ], 11 visibility = ["//tools/sksl-minify:__pkg__"], 12) 13 14# Tests in sksl_glsl_tests_sources will be compiled with --settings on, and are expected to generate 15# a .glsl output file. 16skia_filegroup( 17 name = "sksl_glsl_tests_sources", 18 srcs = [ 19 ":sksl_error_tests", 20 ":sksl_folding_tests", 21 ":sksl_glsl_tests", 22 ":sksl_inliner_tests", 23 ":sksl_inverse_hyperbolic_intrinsics_tests", 24 ":sksl_shared_tests", 25 ], 26 visibility = ["//tools/skslc:__pkg__"], 27) 28 29# Tests in sksl_glsl_settings_tests_sources will be compiled twice, once with --settings and once 30# using --nosettings. In the latter mode, StandaloneSettings is appended to the output filename. 31skia_filegroup( 32 name = "sksl_glsl_settings_tests_sources", 33 srcs = [ 34 ":sksl_blend_tests", 35 ":sksl_settings_tests", 36 ], 37 visibility = ["//tools/skslc:__pkg__"], 38) 39 40# Tests in sksl_metal_tests_sources will be compiled with --settings on, and are expected to 41# generate a .metal output file. 42skia_filegroup( 43 name = "sksl_metal_tests_sources", 44 srcs = [ 45 ":sksl_blend_tests", 46 ":sksl_inverse_hyperbolic_intrinsics_tests", 47 ":sksl_metal_tests", 48 ":sksl_shared_tests", 49 ], 50 visibility = ["//tools/skslc:__pkg__"], 51) 52 53## Tests in sksl_skrp_tests_sources will be compiled with --settings on, and are expected to 54## generate a .skrp output file. 55skia_filegroup( 56 name = "sksl_skrp_tests_sources", 57 srcs = [ 58 ":sksl_folding_tests", 59 ":sksl_rte_tests", 60 ":sksl_shared_tests", 61 ], 62 visibility = ["//tools/skslc:__pkg__"], 63) 64 65## Tests in sksl_skvm_tests_sources will be compiled with --settings on, and are expected to 66## generate a .skvm output file. 67skia_filegroup( 68 name = "sksl_skvm_tests_sources", 69 srcs = [ 70 ":sksl_rte_error_tests", 71 ":sksl_rte_tests", 72 ], 73 visibility = ["//tools/skslc:__pkg__"], 74) 75 76## Tests in sksl_stage_tests_sources will be compiled with --settings on, and are expected to 77## generate a .stage output file. 78skia_filegroup( 79 name = "sksl_stage_tests_sources", 80 srcs = [ 81 ":sksl_rte_tests", 82 ], 83 visibility = ["//tools/skslc:__pkg__"], 84) 85 86# Tests in sksl_spirv_tests_sources will be compiled with --settings on, and are expected to 87# generate a .asm.(frag|vert|geom) output file. 88skia_filegroup( 89 name = "sksl_spirv_tests_sources", 90 srcs = [ 91 ":sksl_blend_tests", 92 ":sksl_inverse_hyperbolic_intrinsics_tests", 93 ":sksl_shared_tests", 94 ":sksl_spirv_tests", 95 ], 96 visibility = ["//tools/skslc:__pkg__"], 97) 98 99# Tests in sksl_hlsl_tests_sources will be compiled with --settings on, and are expected to 100# generate a .hlsl output file. 101skia_filegroup( 102 name = "sksl_hlsl_tests_sources", 103 srcs = [ 104 ":sksl_blend_tests", 105 ":sksl_shared_tests", 106 ], 107 visibility = ["//tools/skslc:__pkg__"], 108) 109 110# Tests in sksl_wgsl_tests_sources will be compiled with --settings on, and are expected to generate 111# a .wgsl output file. 112# TODO(skia:13092): WGSL support is WIP and the test sources added here are copies of a subset of 113# shared test sources to track development progress. Eventually we want this to at a minimum equal 114# sksl_shared_tests. 115skia_filegroup( 116 name = "sksl_wgsl_tests_sources", 117 srcs = [ 118 ":sksl_wgsl_tests", 119 ], 120 visibility = ["//tools/skslc:__pkg__"], 121) 122 123skia_filegroup( 124 name = "sksl_blend_tests", 125 srcs = [ 126 "blend/BlendClear.sksl", 127 "blend/BlendColor.sksl", 128 "blend/BlendColorBurn.sksl", 129 "blend/BlendColorDodge.sksl", 130 "blend/BlendDarken.sksl", 131 "blend/BlendDifference.sksl", 132 "blend/BlendDst.sksl", 133 "blend/BlendDstAtop.sksl", 134 "blend/BlendDstIn.sksl", 135 "blend/BlendDstOut.sksl", 136 "blend/BlendDstOver.sksl", 137 "blend/BlendExclusion.sksl", 138 "blend/BlendHardLight.sksl", 139 "blend/BlendHue.sksl", 140 "blend/BlendLighten.sksl", 141 "blend/BlendLuminosity.sksl", 142 "blend/BlendModulate.sksl", 143 "blend/BlendMultiply.sksl", 144 "blend/BlendOverlay.sksl", 145 "blend/BlendPlus.sksl", 146 "blend/BlendSaturation.sksl", 147 "blend/BlendScreen.sksl", 148 "blend/BlendSoftLight.sksl", 149 "blend/BlendSrc.sksl", 150 "blend/BlendSrcAtop.sksl", 151 "blend/BlendSrcIn.sksl", 152 "blend/BlendSrcOut.sksl", 153 "blend/BlendSrcOver.sksl", 154 "blend/BlendXor.sksl", 155 ], 156) 157 158skia_filegroup( 159 name = "sksl_error_tests", 160 srcs = [ 161 "errors/ArgumentCountMismatch.rts", 162 "errors/ArgumentMismatch.rts", 163 "errors/ArgumentModifiers.rts", 164 "errors/ArrayConstructorElementCount.sksl", 165 "errors/ArrayIndexOutOfRange.rts", 166 "errors/ArrayInlinedIndexOutOfRange.sksl", 167 "errors/ArrayNegation.rts", 168 "errors/ArrayOfInvalidSize.rts", 169 "errors/ArrayOfVoid.rts", 170 "errors/ArrayPlus.rts", 171 "errors/ArrayReturnTypes.rts", 172 "errors/ArraySplitDimensions.rts", 173 "errors/ArraySplitDimensionsInFuncBody.rts", 174 "errors/ArraySplitDimensionsInFuncDecl.rts", 175 "errors/ArraySplitDimensionsInStruct.rts", 176 "errors/ArrayTooManyDimensions.rts", 177 "errors/ArrayTooManyDimensionsInFuncBody.rts", 178 "errors/ArrayTooManyDimensionsInFuncBodyUnsized1.rts", 179 "errors/ArrayTooManyDimensionsInFuncBodyUnsized2.rts", 180 "errors/ArrayTooManyDimensionsInFuncDecl.rts", 181 "errors/ArrayTooManyDimensionsInFuncDeclUnsized1.rts", 182 "errors/ArrayTooManyDimensionsInFuncDeclUnsized2.rts", 183 "errors/ArrayTooManyDimensionsInStruct.rts", 184 "errors/ArrayTooManyDimensionsInStructUnsized1.rts", 185 "errors/ArrayTooManyDimensionsInStructUnsized2.rts", 186 "errors/ArrayTooManyDimensionsUnsized1.rts", 187 "errors/ArrayTooManyDimensionsUnsized2.rts", 188 "errors/ArrayTypeTooManyDimensions.rts", 189 "errors/ArrayTypeTooManyDimensionsInFuncBody.rts", 190 "errors/ArrayTypeTooManyDimensionsInFuncBodyUnsized1.rts", 191 "errors/ArrayTypeTooManyDimensionsInFuncBodyUnsized2.rts", 192 "errors/ArrayTypeTooManyDimensionsInFuncDecl.rts", 193 "errors/ArrayTypeTooManyDimensionsInFuncDeclUnsized1.rts", 194 "errors/ArrayTypeTooManyDimensionsInFuncDeclUnsized2.rts", 195 "errors/ArrayTypeTooManyDimensionsInStruct.rts", 196 "errors/ArrayTypeTooManyDimensionsInStructUnsized1.rts", 197 "errors/ArrayTypeTooManyDimensionsInStructUnsized2.rts", 198 "errors/ArrayTypeTooManyDimensionsUnsized1.rts", 199 "errors/ArrayTypeTooManyDimensionsUnsized2.rts", 200 "errors/ArrayUnspecifiedDimensions.rts", 201 "errors/AssignmentTypeMismatch.rts", 202 "errors/BadCaps.sksl", 203 "errors/BadConstInitializers.rts", 204 "errors/BadFieldAccess.rts", 205 "errors/BadIndex.rts", 206 "errors/BadModifiers.sksl", 207 "errors/BadOctal.rts", 208 "errors/BinaryInvalidType.rts", 209 "errors/BinaryTypeCoercion.sksl", 210 "errors/BinaryTypeMismatch.rts", 211 "errors/BitShiftFloat.rts", 212 "errors/BitShiftFloatMatrix.rts", 213 "errors/BitShiftFloatVector.rts", 214 "errors/BooleanArithmetic.sksl", 215 "errors/BreakOutsideLoop.rts", 216 "errors/CallMain.rts", 217 "errors/CallNonFunction.rts", 218 "errors/CanExitWithoutReturningValue.sksl", 219 "errors/CommasAsConstantExpressions.rts", 220 "errors/ComparisonDimensional.rts", 221 "errors/ConstructorArgumentCount.rts", 222 "errors/ConstructorTypeMismatch.rts", 223 "errors/ContinueOutsideLoop.rts", 224 "errors/DivideByZero.rts", 225 "errors/DoTypeMismatch.sksl", 226 "errors/DuplicateBinding.sksl", 227 "errors/DuplicateFunction.rts", 228 "errors/DuplicateInterfaceBlockField.sksl", 229 "errors/DuplicateInterfaceBlockName.sksl", 230 "errors/DuplicateOutput.sksl", 231 "errors/DuplicateRTAdjust.sksl", 232 "errors/DuplicateSkClockwise.sksl", 233 "errors/DuplicateSymbol.rts", 234 "errors/EmptyArray.rts", 235 "errors/EmptyStruct.rts", 236 "errors/ErrorsInDeadCode.rts", 237 "errors/FloatRemainder.rts", 238 "errors/ForInitStmt.sksl", 239 "errors/ForTypeMismatch.rts", 240 "errors/FunctionParamBadType.rts", 241 "errors/FunctionParameterOfVoid.rts", 242 "errors/GenericArgumentMismatch.rts", 243 "errors/IfTypeMismatch.rts", 244 "errors/IllegalRecursionComplex.rts", 245 "errors/IllegalRecursionMutual.rts", 246 "errors/IllegalRecursionSimple.rts", 247 "errors/InVarWithInitializerExpression.sksl", 248 "errors/IncompleteExpression.rts", 249 "errors/IncompleteFunctionCall.rts", 250 "errors/InterfaceBlockMemberReservedName.sksl", 251 "errors/InterfaceBlockPrivateType.sksl", 252 "errors/InterfaceBlockReservedName.sksl", 253 "errors/InterfaceBlockScope.sksl", 254 "errors/InterfaceBlockStorageModifiers.sksl", 255 "errors/InterfaceBlockWithNoMembers.sksl", 256 "errors/IntrinsicInGlobalVariable.sksl", 257 "errors/InvalidAssignment.rts", 258 "errors/InvalidAssignmentPipelineInputs.sksl", 259 "errors/InvalidAtomicDeclarations.compute", 260 "errors/InvalidAtomicOperations.compute", 261 "errors/InvalidBackendBindingFlagsGL.sksl", 262 "errors/InvalidBackendBindingFlagsMetal.sksl", 263 "errors/InvalidBackendBindingFlagsSPIRV.sksl", 264 "errors/InvalidBackendBindingFlagsWGSL.sksl", 265 "errors/InvalidExtensionDirective.sksl", 266 "errors/InvalidOutParams.rts", 267 "errors/InvalidToken.rts", 268 "errors/InvalidUnary.rts", 269 "errors/InvalidUniformTypes.sksl", 270 "errors/InvalidVersionDirective.sksl", 271 "errors/InvalidWorkgroupCompute.compute", 272 "errors/InvalidWorkgroupRTS.rts", 273 "errors/LayoutInFunctions.sksl", 274 "errors/LayoutInInterfaceBlock.sksl", 275 "errors/LayoutInStruct.sksl", 276 "errors/LayoutRepeatedQualifiers.sksl", 277 "errors/MatrixIndexOutOfRange.rts", 278 "errors/MatrixIndexOutOfRangeES3.sksl", 279 "errors/MatrixInlinedIndexOutOfRange.sksl", 280 "errors/MatrixToVectorCast3x3.rts", 281 "errors/MatrixToVectorCastBoolean.rts", 282 "errors/MatrixToVectorCastInteger.rts", 283 "errors/MatrixToVectorCastTooSmall.rts", 284 "errors/MismatchedNumbers.rts", 285 "errors/MismatchedNumbersES3.sksl", 286 "errors/ModifiersInStruct.rts", 287 "errors/ModifiersRepeated.sksl", 288 "errors/MultipleBackendFlags.sksl", 289 "errors/MultipleFields.rts", 290 "errors/MultipleFieldsInInterfaceBlocks.sksl", 291 "errors/NoES3ModifierInUserCode.sksl", 292 "errors/OpaqueTypeAssignment.sksl", 293 "errors/OpaqueTypeConstruction.sksl", 294 "errors/OpaqueTypeInArray.sksl", 295 "errors/OpaqueTypeInInterfaceBlock.sksl", 296 "errors/OpaqueTypeInStruct.sksl", 297 "errors/OpaqueTypeOutParam.sksl", 298 "errors/OpenArray.rts", 299 "errors/Ossfuzz26700.sksl", 300 "errors/Ossfuzz27614.sksl", 301 "errors/Ossfuzz27650.sksl", 302 "errors/Ossfuzz27663.sksl", 303 "errors/Ossfuzz28050.sksl", 304 "errors/Ossfuzz29444.sksl", 305 "errors/Ossfuzz29845.sksl", 306 "errors/Ossfuzz29849.sksl", 307 "errors/Ossfuzz31410.sksl", 308 "errors/Ossfuzz31469.sksl", 309 "errors/Ossfuzz32156.sksl", 310 "errors/Ossfuzz32587.sksl", 311 "errors/Ossfuzz32851.sksl", 312 "errors/Ossfuzz37457.sksl", 313 "errors/Ossfuzz37465.sksl", 314 "errors/Ossfuzz37620.sksl", 315 "errors/Ossfuzz38106.sksl", 316 "errors/Ossfuzz38107.sksl", 317 "errors/Ossfuzz38108.sksl", 318 "errors/Ossfuzz38140.sksl", 319 "errors/Ossfuzz38560.sksl", 320 "errors/Ossfuzz38865.sksl", 321 "errors/Ossfuzz38944.sksl", 322 "errors/Ossfuzz39000.sksl", 323 "errors/Ossfuzz40427.sksl", 324 "errors/Ossfuzz40428.sksl", 325 "errors/Ossfuzz40479.sksl", 326 "errors/Ossfuzz40660.sksl", 327 "errors/Ossfuzz44045.sksl", 328 "errors/Ossfuzz44551.sksl", 329 "errors/Ossfuzz44555.sksl", 330 "errors/Ossfuzz44557.sksl", 331 "errors/Ossfuzz44559.sksl", 332 "errors/Ossfuzz44561.sksl", 333 "errors/Ossfuzz44565.sksl", 334 "errors/Ossfuzz47935.sksl", 335 "errors/Ossfuzz48592.sksl", 336 "errors/Ossfuzz49558.sksl", 337 "errors/Ossfuzz50798.sksl", 338 "errors/Ossfuzz50922.sksl", 339 "errors/OverflowFloatIntrinsic.sksl", 340 "errors/OverflowFloatLiteral.rts", 341 "errors/OverflowInlinedLiteral.sksl", 342 "errors/OverflowInt64Literal.rts", 343 "errors/OverflowIntLiteral.rts", 344 "errors/OverflowParamArraySize.rts", 345 "errors/OverflowShortLiteral.sksl", 346 "errors/OverflowUintLiteral.sksl", 347 "errors/OverloadedBuiltin.sksl", 348 "errors/OverloadedMain.sksl", 349 "errors/PrecisionQualifiersDisallowed.sksl", 350 "errors/PrivateTypes.rts", 351 "errors/PrivateVariables.rts", 352 "errors/ProgramTooLarge_Globals.rts", 353 "errors/ProgramTooLarge_Parameters.rts", 354 "errors/ProgramTooLarge_Stack.rts", 355 "errors/ProgramTooLarge_Struct.rts", 356 "errors/PrototypeInFuncBody.rts", 357 "errors/RTAdjustType.sksl", 358 "errors/ReadonlyWriteonly.compute", 359 "errors/RedeclareBasicType.rts", 360 "errors/RedeclareBuiltinVariables.sksl", 361 "errors/RedeclareSamplerType.sksl", 362 "errors/RedeclareShaderType.rts", 363 "errors/RedeclareStruct.rts", 364 "errors/RedeclareStructTypeWithName.rts", 365 "errors/RedeclareUserType.rts", 366 "errors/RedeclareVariable.rts", 367 "errors/ReservedNameAsm.rts", 368 "errors/ReservedNameAtomic.rts", 369 "errors/ReservedNameAttribute.rts", 370 "errors/ReservedNameCast.rts", 371 "errors/ReservedNameDouble.rts", 372 "errors/ReservedNameDvec2.rts", 373 "errors/ReservedNameDvec3.rts", 374 "errors/ReservedNameDvec4.rts", 375 "errors/ReservedNameEnum.rts", 376 "errors/ReservedNameExtern.rts", 377 "errors/ReservedNameExternal.rts", 378 "errors/ReservedNameFixed.rts", 379 "errors/ReservedNameFvec2.rts", 380 "errors/ReservedNameFvec3.rts", 381 "errors/ReservedNameFvec4.rts", 382 "errors/ReservedNameGoto.rts", 383 "errors/ReservedNameHvec2.rts", 384 "errors/ReservedNameHvec3.rts", 385 "errors/ReservedNameHvec4.rts", 386 "errors/ReservedNameInput.rts", 387 "errors/ReservedNameInterface.rts", 388 "errors/ReservedNameInvariant.rts", 389 "errors/ReservedNameLong.rts", 390 "errors/ReservedNameNamespace.rts", 391 "errors/ReservedNameOutput.rts", 392 "errors/ReservedNamePacked.rts", 393 "errors/ReservedNamePrecision.rts", 394 "errors/ReservedNamePublic.rts", 395 "errors/ReservedNameSampler1DShadow.rts", 396 "errors/ReservedNameSampler2DRectShadow.rts", 397 "errors/ReservedNameSampler2DShadow.rts", 398 "errors/ReservedNameSampler3DRect.rts", 399 "errors/ReservedNameSamplerCube.rts", 400 "errors/ReservedNameSizeof.rts", 401 "errors/ReservedNameStatic.rts", 402 "errors/ReservedNameSuperp.rts", 403 "errors/ReservedNameTemplate.rts", 404 "errors/ReservedNameThis.rts", 405 "errors/ReservedNameTypedef.rts", 406 "errors/ReservedNameUnion.rts", 407 "errors/ReservedNameUnsigned.rts", 408 "errors/ReservedNameUsing.rts", 409 "errors/ReservedNameVarying.rts", 410 "errors/ReservedNameVolatile.rts", 411 "errors/ReturnDifferentType.rts", 412 "errors/ReturnFromVoid.rts", 413 "errors/ReturnMissingValue.rts", 414 "errors/ReturnTypeMismatch.rts", 415 "errors/SelfReferentialInitializerExpression.rts", 416 "errors/SpuriousFloat.rts", 417 "errors/StructMemberReservedName.rts", 418 "errors/StructNameWithoutIdentifier.rts", 419 "errors/StructTooDeeplyNested.rts", 420 "errors/StructVariableReservedName.rts", 421 "errors/SwitchDuplicateCase.rts", 422 "errors/SwitchDuplicateDefault.rts", 423 "errors/SwitchTypes.rts", 424 "errors/SwitchWithContinueInside.sksl", 425 "errors/SwizzleConstantOutput.rts", 426 "errors/SwizzleDomain.rts", 427 "errors/SwizzleMatrix.rts", 428 "errors/SwizzleOnlyLiterals.rts", 429 "errors/SwizzleOutOfBounds.rts", 430 "errors/SwizzleTooManyComponents.rts", 431 "errors/TernaryMismatch.rts", 432 "errors/UnassignedOutParameter.rts", 433 "errors/UndeclaredFunction.rts", 434 "errors/UndefinedFunction.rts", 435 "errors/UndefinedSymbol.rts", 436 "errors/UniformVarWithInitializerExpression.rts", 437 "errors/UnknownDivideByZero.sksl", 438 "errors/UnscopedVariableInDoWhile.sksl", 439 "errors/UnscopedVariableInElse.rts", 440 "errors/UnscopedVariableInFor.rts", 441 "errors/UnscopedVariableInIf.rts", 442 "errors/UnscopedVariableInWhile.sksl", 443 "errors/UnsupportedGLSLIdentifiers.rts", 444 "errors/UsingInvalidValue.rts", 445 "errors/VectorIndexOutOfRange.rts", 446 "errors/VectorInlinedIndexOutOfRange.sksl", 447 "errors/VectorSlice.rts", 448 "errors/VertexEarlyReturn.vert", 449 "errors/VoidConstructor.rts", 450 "errors/VoidInStruct.rts", 451 "errors/VoidVariable.rts", 452 "errors/WhileTypeMismatch.sksl", 453 ], 454) 455 456skia_filegroup( 457 name = "sksl_folding_tests", 458 srcs = [ 459 "folding/ArrayFolding.sksl", 460 "folding/ArraySizeFolding.rts", 461 "folding/AssignmentOps.rts", 462 "folding/BoolFolding.rts", 463 "folding/CastFolding.rts", 464 "folding/FloatFolding.rts", 465 "folding/IntFoldingES2.rts", 466 "folding/IntFoldingES3.sksl", 467 "folding/MatrixFoldingES2.rts", 468 "folding/MatrixFoldingES3.sksl", 469 "folding/MatrixNoOpFolding.rts", 470 "folding/MatrixScalarNoOpFolding.rts", 471 "folding/MatrixVectorNoOpFolding.rts", 472 "folding/Negation.rts", 473 "folding/PreserveSideEffects.rts", 474 "folding/SelfAssignment.rts", 475 "folding/ShortCircuitBoolFolding.rts", 476 "folding/StructFieldFolding.rts", 477 "folding/StructFieldNoFolding.rts", 478 "folding/SwitchCaseFolding.rts", 479 "folding/SwizzleFolding.rts", 480 "folding/TernaryFolding.rts", 481 "folding/VectorScalarFolding.rts", 482 "folding/VectorVectorFolding.rts", 483 ], 484) 485 486skia_filegroup( 487 name = "sksl_glsl_tests", 488 srcs = [ 489 "glsl/ForceHighPrecision.sksl", 490 "glsl/IncompleteShortIntPrecision.sksl", 491 "glsl/LastFragColor.sksl", 492 "glsl/LastFragColorWithoutCaps.sksl", 493 "glsl/LayoutQualifiers.sksl", 494 "glsl/ShortIntPrecision.sksl", 495 "glsl/TextureSharpenVersion110.sksl", 496 "glsl/TextureVersion110.sksl", 497 "glsl/Underscores.sksl", 498 "glsl/UsesPrecisionModifiers.sksl", 499 "glsl/Version110.sksl", 500 "glsl/Version450Core.sksl", 501 ], 502) 503 504skia_filegroup( 505 name = "sksl_inliner_tests", 506 srcs = [ 507 "inliner/DoWhileBodyMustBeInlinedIntoAScope.sksl", 508 "inliner/DoWhileTestCannotBeInlined.sksl", 509 "inliner/ForBodyMustBeInlinedIntoAScope.sksl", 510 "inliner/ForInitializerExpressionsCanBeInlined.sksl", 511 "inliner/ForWithReturnInsideCannotBeInlined.sksl", 512 "inliner/ForWithoutReturnInsideCanBeInlined.sksl", 513 "inliner/IfBodyMustBeInlinedIntoAScope.sksl", 514 "inliner/IfElseBodyMustBeInlinedIntoAScope.sksl", 515 "inliner/IfElseChainWithReturnsCanBeInlined.sksl", 516 "inliner/IfTestCanBeInlined.sksl", 517 "inliner/IfWithReturnsCanBeInlined.sksl", 518 "inliner/InlineKeywordOverridesThreshold.sksl", 519 "inliner/InlineThreshold.sksl", 520 "inliner/InlineUnscopedVariable.sksl", 521 "inliner/InlineWithModifiedArgument.sksl", 522 "inliner/InlineWithNestedBigCalls.sksl", 523 "inliner/InlineWithNestedCalls.sksl", 524 "inliner/InlineWithUnmodifiedArgument.sksl", 525 "inliner/InlineWithUnnecessaryBlocks.sksl", 526 "inliner/InlinerAvoidsVariableNameOverlap.sksl", 527 "inliner/InlinerElidesTempVarForReturnsInsideBlock.sksl", 528 "inliner/InlinerManglesNames.sksl", 529 "inliner/InlinerUsesTempVarForMultipleReturns.sksl", 530 "inliner/InlinerUsesTempVarForReturnsInsideBlockWithVar.sksl", 531 "inliner/NoInline.sksl", 532 "inliner/Ossfuzz37994.sksl", 533 "inliner/ShortCircuitEvaluationsCannotInlineRightHandSide.sksl", 534 "inliner/StaticSwitch.sksl", 535 "inliner/StructsCanBeInlinedSafely.sksl", 536 "inliner/SwitchWithCastCanBeInlined.sksl", 537 "inliner/SwitchWithoutReturnInsideCanBeInlined.sksl", 538 "inliner/SwizzleCanBeInlinedDirectly.sksl", 539 "inliner/TernaryResultsCannotBeInlined.sksl", 540 "inliner/TernaryTestCanBeInlined.sksl", 541 "inliner/TrivialArgumentsInlineDirectly.sksl", 542 "inliner/TrivialArgumentsInlineDirectlyES3.sksl", 543 "inliner/WhileBodyMustBeInlinedIntoAScope.sksl", 544 "inliner/WhileTestCannotBeInlined.sksl", 545 ], 546) 547 548skia_filegroup( 549 name = "sksl_metal_tests", 550 srcs = [ 551 "compute/ArrayAdd.compute", 552 "compute/AtomicDeclarations.compute", 553 "compute/AtomicOperations.compute", 554 "compute/AtomicOperationsOverArrayAndStruct.compute", 555 "compute/Barrier.compute", 556 "compute/BuiltinStageInputs.compute", 557 "compute/Desaturate.compute", 558 "compute/DesaturateFunction.compute", 559 "compute/DesaturateReadWrite.compute", 560 "compute/MatrixMultiply.compute", 561 "compute/Raytrace.compute", 562 "compute/Uniforms.compute", 563 "compute/Workgroup.compute", 564 "errors/InvalidInOutType.compute", 565 "errors/InvalidMainParameters.compute", 566 "errors/InvalidMainReturn.compute", 567 "errors/InvalidUnsizedArray.compute", 568 "metal/CastHalf4ToMat2x2.sksl", 569 "metal/CastMat2x2ToMat3x3.sksl", 570 "metal/CastMat2x3ToMat4x4.sksl", 571 "metal/CastMat4x4ToMat3x4.sksl", 572 "metal/CastMat4x4ToMat4x3.sksl", 573 "metal/LayoutMtlSampler.sksl", 574 "metal/NumericGlobals.sksl", 575 "metal/OpaqueTypeInInterfaceBlock.sksl", 576 "metal/OpaqueTypeInStruct.sksl", 577 "metal/Ossfuzz48371.sksl", 578 "metal/OutParams.sksl", 579 "metal/OutVarsRequireLocation.sksl", 580 "metal/SamplerGlobals.sksl", 581 "metal/StorageBuffer.sksl", 582 "metal/StorageBufferVertex.vert", 583 "metal/SwizzleHelper.sksl", 584 ], 585) 586 587skia_filegroup( 588 name = "sksl_rte_error_tests", 589 srcs = [ 590 "runtime_errors/Caps.rts", 591 "runtime_errors/DerivativesES2.rts", 592 "runtime_errors/ES3Types.rts", 593 "runtime_errors/FirstClassArrays.rts", 594 "runtime_errors/IllegalArrayOps.rts", 595 "runtime_errors/IllegalIndexing.rts", 596 "runtime_errors/IllegalLayoutFlags.rts", 597 "runtime_errors/IllegalModifiers.rts", 598 "runtime_errors/IllegalOperators.rts", 599 "runtime_errors/IllegalPrecisionQualifiers.rts", 600 "runtime_errors/IllegalShaderSampling.rts", 601 "runtime_errors/IllegalShaderUse.rts", 602 "runtime_errors/IllegalStatements.rts", 603 "runtime_errors/InvalidBlendMain.rtb", 604 "runtime_errors/InvalidColorFilterFeatures.rtcf", 605 "runtime_errors/InvalidColorFilterMain.rtcf", 606 "runtime_errors/InvalidShaderMain.rts", 607 "runtime_errors/InvalidUniformTypes.rts", 608 "runtime_errors/InvalidUniformTypesES3.rts", 609 "runtime_errors/LoopConditionErrors.rts", 610 "runtime_errors/LoopExpressionErrors.rts", 611 "runtime_errors/LoopInitializerErrors.rts", 612 "runtime_errors/LoopStructureErrors.rts", 613 "runtime_errors/Ossfuzz36655.rts", 614 "runtime_errors/Ossfuzz38131.rts", 615 "runtime_errors/Ossfuzz45279.rts", 616 "runtime_errors/PrivateFunctions.rts", 617 "runtime_errors/PrivateRTShader.rts", 618 "runtime_errors/ProgramTooLarge_BlocklessLoops.rts", 619 "runtime_errors/ProgramTooLarge_Extreme.rts", 620 "runtime_errors/ProgramTooLarge_FlatLoop.rts", 621 "runtime_errors/ProgramTooLarge_Functions.rts", 622 "runtime_errors/ProgramTooLarge_NestedLoops.rts", 623 "runtime_errors/ProgramTooLarge_SplitLoops.rts", 624 "runtime_errors/ProgramTooLarge_StackDepth.rts", 625 "runtime_errors/ReservedNameSampler.rts", 626 "runtime_errors/ReservedNameSampler1D.rts", 627 "runtime_errors/ReservedNameSampler2D.rts", 628 "runtime_errors/ReservedNameSampler2DRect.rts", 629 "runtime_errors/ReservedNameSampler3D.rts", 630 "runtime_errors/ReservedNameSamplerExternalOES.rts", 631 "runtime_errors/ReservedNameSubpassInput.rts", 632 "runtime_errors/ReservedNameSubpassInputMS.rts", 633 "runtime_errors/ReservedNameTexture2D.rts", 634 "runtime_errors/TypeAliases.rts", 635 "runtime_errors/UnsupportedExtension.rts", 636 "runtime_errors/UnsupportedTypeFragmentProcessor.rts", 637 "runtime_errors/UnsupportedTypeSampler.rts", 638 "runtime_errors/UnsupportedTypeTexture.rts", 639 ], 640) 641 642skia_filegroup( 643 name = "sksl_rte_tests", 644 srcs = [ 645 "runtime/AllowNarrowingConversions.rts", 646 "runtime/ArrayIndexing.rts", 647 "runtime/ArrayNarrowingConversions.rts", 648 "runtime/Blend.rtb", 649 "runtime/ChildEffects.rts", 650 "runtime/Commutative.rts", 651 "runtime/ConstPreservation.rts", 652 "runtime/ConversionConstructors.rts", 653 "runtime/GLSLTypeNames.rts", 654 "runtime/GlobalVariables.rts", 655 "runtime/HSLColorFilter.rtcf", 656 "runtime/LargeProgram_BlocklessLoops.rts", 657 "runtime/LargeProgram_FlatLoop.rts", 658 "runtime/LargeProgram_Functions.rts", 659 "runtime/LargeProgram_NestedLoops.rts", 660 "runtime/LargeProgram_SplitLoops.rts", 661 "runtime/LargeProgram_StackDepth.rts", 662 "runtime/LargeProgram_ZeroIterFor.rts", 663 "runtime/LoopFloat.rts", 664 "runtime/LoopInt.rts", 665 "runtime/MultipleCallsInOneStatement.rts", 666 "runtime/Ossfuzz52603.rts", 667 "runtime/PrecisionQualifiers.rts", 668 "runtime/QualifierOrder.rts", 669 "runtime/RecursiveComparison_Arrays.rts", 670 "runtime/RecursiveComparison_Structs.rts", 671 "runtime/RecursiveComparison_Types.rts", 672 "runtime/RecursiveComparison_Vectors.rts", 673 "runtime/SampleWithExplicitCoord.rts", 674 "runtime/Switch.rts", 675 "runtime/SwitchDefaultOnly.rts", 676 "runtime/SwitchWithFallthrough.rts", 677 "runtime/SwitchWithLoops.rts", 678 "runtime/VectorIndexing.rts", 679 ], 680) 681 682skia_filegroup( 683 name = "sksl_settings_tests", 684 srcs = [ 685 "glsl/TypePrecision.sksl", 686 "inliner/ExponentialGrowth.sksl", 687 "inliner/InlinerCanBeDisabled.sksl", 688 "shared/Derivatives.sksl", 689 "shared/Optimizations.sksl", 690 "shared/Switch.sksl", 691 "shared/SwitchDefaultOnly.sksl", 692 "shared/SwitchWithFallthrough.sksl", 693 "shared/SwitchWithLoops.sksl", 694 "shared/SwitchWithLoopsES3.sksl", 695 "workarounds/AbsInt.sksl", 696 "workarounds/BlendGuardedDivide.sksl", 697 "workarounds/BuiltinDeterminantSupport.sksl", 698 "workarounds/BuiltinFMASupport.sksl", 699 "workarounds/FractNegative.sksl", 700 "workarounds/FragCoords.sksl", 701 "workarounds/LoopCondition.sksl", 702 "workarounds/MinAndAbsTogether.sksl", 703 "workarounds/NegatedAtan.sksl", 704 "workarounds/NegatedLdexp.sksl", 705 "workarounds/PowWithConstantExponent.sksl", 706 "workarounds/RewriteDoWhileLoops.sksl", 707 "workarounds/RewriteMatrixComparisons.sksl", 708 "workarounds/RewriteMatrixVectorMultiply.sksl", 709 "workarounds/TernaryShortCircuit.sksl", 710 ], 711) 712 713# TODO(skia:12352): HLSL doesn't support inverse hyperbolic functions as intrinsics. These tests are 714# grouped separately for HLSL tests until there is a reasonable workaround in place. 715skia_filegroup( 716 name = "sksl_inverse_hyperbolic_intrinsics_tests", 717 srcs = [ 718 "intrinsics/Acosh.sksl", 719 "intrinsics/Asinh.sksl", 720 "intrinsics/Atanh.sksl", 721 ], 722) 723 724skia_filegroup( 725 name = "sksl_shared_tests", 726 srcs = [ 727 "intrinsics/AbsFloat.sksl", 728 "intrinsics/AbsInt.sksl", 729 "intrinsics/Acos.sksl", 730 "intrinsics/All.sksl", 731 "intrinsics/Any.sksl", 732 "intrinsics/Asin.sksl", 733 "intrinsics/Atan.sksl", 734 "intrinsics/BitCount.sksl", 735 "intrinsics/Ceil.sksl", 736 "intrinsics/ClampFloat.sksl", 737 "intrinsics/ClampInt.sksl", 738 "intrinsics/ClampUInt.sksl", 739 "intrinsics/Cos.sksl", 740 "intrinsics/Cosh.sksl", 741 "intrinsics/Cross.sksl", 742 "intrinsics/CrossNoInline.sksl", 743 "intrinsics/DFdx.sksl", 744 "intrinsics/DFdy.sksl", 745 "intrinsics/DFdyNoRTFlip.sksl", 746 "intrinsics/Degrees.sksl", 747 "intrinsics/Determinant.sksl", 748 "intrinsics/Distance.sksl", 749 "intrinsics/Dot.sksl", 750 "intrinsics/Equal.sksl", 751 "intrinsics/Exp.sksl", 752 "intrinsics/Exp2.sksl", 753 "intrinsics/FaceForward.sksl", 754 "intrinsics/FindLSB.sksl", 755 "intrinsics/FindMSB.sksl", 756 "intrinsics/FloatBitsToInt.sksl", 757 "intrinsics/FloatBitsToUint.sksl", 758 "intrinsics/Floor.sksl", 759 "intrinsics/Fma.sksl", 760 "intrinsics/Fract.sksl", 761 "intrinsics/Frexp.sksl", 762 "intrinsics/Fwidth.sksl", 763 "intrinsics/GreaterThan.sksl", 764 "intrinsics/GreaterThanEqual.sksl", 765 "intrinsics/IntBitsToFloat.sksl", 766 "intrinsics/Inverse.sksl", 767 "intrinsics/Inversesqrt.sksl", 768 "intrinsics/IsInf.sksl", 769 "intrinsics/IsNan.sksl", 770 "intrinsics/Ldexp.sksl", 771 "intrinsics/Length.sksl", 772 "intrinsics/LessThan.sksl", 773 "intrinsics/LessThanEqual.sksl", 774 "intrinsics/Log.sksl", 775 "intrinsics/Log2.sksl", 776 "intrinsics/MatrixCompMultES2.sksl", 777 "intrinsics/MatrixCompMultES3.sksl", 778 "intrinsics/MaxFloat.sksl", 779 "intrinsics/MaxInt.sksl", 780 "intrinsics/MaxUint.sksl", 781 "intrinsics/MinFloat.sksl", 782 "intrinsics/MinInt.sksl", 783 "intrinsics/MinUint.sksl", 784 "intrinsics/MixBool.sksl", 785 "intrinsics/MixFloatES2.sksl", 786 "intrinsics/MixFloatES3.sksl", 787 "intrinsics/Mod.sksl", 788 "intrinsics/Modf.sksl", 789 "intrinsics/Normalize.sksl", 790 "intrinsics/Not.sksl", 791 "intrinsics/NotEqual.sksl", 792 "intrinsics/OuterProduct.sksl", 793 "intrinsics/Pack.sksl", 794 "intrinsics/PackHalf2x16.sksl", 795 "intrinsics/PackSnorm2x16.sksl", 796 "intrinsics/PackUnorm2x16.sksl", 797 "intrinsics/Pow.sksl", 798 "intrinsics/Radians.sksl", 799 "intrinsics/Reflect.sksl", 800 "intrinsics/Refract.sksl", 801 "intrinsics/Round.sksl", 802 "intrinsics/RoundEven.sksl", 803 "intrinsics/Sample.sksl", 804 "intrinsics/SampleGrad.sksl", 805 "intrinsics/SampleLod.sksl", 806 "intrinsics/Saturate.sksl", 807 "intrinsics/SignFloat.sksl", 808 "intrinsics/SignInt.sksl", 809 "intrinsics/Sin.sksl", 810 "intrinsics/Sinh.sksl", 811 "intrinsics/Smoothstep.sksl", 812 "intrinsics/Sqrt.sksl", 813 "intrinsics/Step.sksl", 814 "intrinsics/Tan.sksl", 815 "intrinsics/Tanh.sksl", 816 "intrinsics/Transpose.sksl", 817 "intrinsics/Trunc.sksl", 818 "intrinsics/UintBitsToFloat.sksl", 819 "intrinsics/Unpack.sksl", 820 "shared/ArrayCast.sksl", 821 "shared/ArrayComparison.sksl", 822 "shared/ArrayConstructors.sksl", 823 "shared/ArrayFollowedByScalar.sksl", 824 "shared/ArrayIndexTypes.sksl", 825 "shared/ArrayNarrowingConversions.sksl", 826 "shared/ArrayTypes.sksl", 827 "shared/Assignment.sksl", 828 "shared/Caps.sksl", 829 "shared/CastsRoundTowardZero.sksl", 830 "shared/Clockwise.sksl", 831 "shared/ClockwiseNoRTFlip.sksl", 832 "shared/CommaMixedTypes.sksl", 833 "shared/CommaSideEffects.sksl", 834 "shared/CompileTimeConstantVariables.sksl", 835 "shared/ComplexDelete.sksl", 836 "shared/ConstArray.sksl", 837 "shared/ConstGlobal.sksl", 838 "shared/ConstVariableComparison.sksl", 839 "shared/ConstantCompositeAccessViaConstantIndex.sksl", 840 "shared/ConstantCompositeAccessViaDynamicIndex.sksl", 841 "shared/ConstantIf.sksl", 842 "shared/Control.sksl", 843 "shared/DeadDoWhileLoop.sksl", 844 "shared/DeadGlobals.sksl", 845 "shared/DeadIfStatement.sksl", 846 "shared/DeadLoopVariable.sksl", 847 "shared/DeadReturn.sksl", 848 "shared/DeadReturnES3.sksl", 849 "shared/DeadStripFunctions.sksl", 850 "shared/DependentInitializers.sksl", 851 "shared/DerivativesUnused.sksl", 852 "shared/Discard.sksl", 853 "shared/DoWhileControlFlow.sksl", 854 "shared/DoubleNegation.sksl", 855 "shared/EmptyBlocksES2.sksl", 856 "shared/EmptyBlocksES3.sksl", 857 "shared/ForLoopControlFlow.sksl", 858 "shared/ForLoopMultipleInit.sksl", 859 "shared/FragCoords.sksl", 860 "shared/FragCoordsNoRTFlip.sksl", 861 "shared/FunctionAnonymousParameters.sksl", 862 "shared/FunctionArgTypeMatch.sksl", 863 "shared/FunctionParametersOfTextureAndSamplerType.sksl", 864 "shared/FunctionPrototype.sksl", 865 "shared/FunctionReturnTypeMatch.sksl", 866 "shared/Functions.sksl", 867 "shared/GaussianBlur.sksl", 868 "shared/GeometricIntrinsics.sksl", 869 "shared/HelloWorld.sksl", 870 "shared/Hex.sksl", 871 "shared/HexUnsigned.sksl", 872 "shared/InoutParameters.sksl", 873 "shared/InoutParamsAreDistinct.sksl", 874 "shared/InstanceID.vert", 875 "shared/IntegerDivisionES3.sksl", 876 "shared/InterfaceBlockBuffer.sksl", 877 "shared/InterfaceBlockMultipleAnonymous.sksl", 878 "shared/InterfaceBlockNamed.sksl", 879 "shared/InterfaceBlockNamedArray.sksl", 880 "shared/LogicalAndShortCircuit.sksl", 881 "shared/LogicalOrShortCircuit.sksl", 882 "shared/Matrices.sksl", 883 "shared/MatricesNonsquare.sksl", 884 "shared/MatrixConstructorsES2.sksl", 885 "shared/MatrixConstructorsES3.sksl", 886 "shared/MatrixEquality.sksl", 887 "shared/MatrixOpEqualsES2.sksl", 888 "shared/MatrixOpEqualsES3.sksl", 889 "shared/MatrixScalarMath.sksl", 890 "shared/MatrixToVectorCast.sksl", 891 "shared/MultipleAssignments.sksl", 892 "shared/NoFragCoordsPos.vert", 893 "shared/NoFragCoordsPosRT.vert", 894 "shared/NormalizationVert.vert", 895 "shared/NumberCasts.sksl", 896 "shared/NumberConversions.sksl", 897 "shared/Octal.sksl", 898 "shared/Offset.sksl", 899 "shared/OperatorsES2.sksl", 900 "shared/OperatorsES3.sksl", 901 "shared/Ossfuzz26167.sksl", 902 "shared/Ossfuzz26759.sksl", 903 "shared/Ossfuzz28794.sksl", 904 "shared/Ossfuzz28904.sksl", 905 "shared/Ossfuzz29085.sksl", 906 "shared/Ossfuzz29494.sksl", 907 "shared/Ossfuzz36770.sksl", 908 "shared/Ossfuzz36852.sksl", 909 "shared/Ossfuzz37466.sksl", 910 "shared/Ossfuzz37677.sksl", 911 "shared/Ossfuzz37900.sksl", 912 "shared/Ossfuzz41000.sksl", 913 "shared/Ossfuzz50636.sksl", 914 "shared/OutParams.sksl", 915 "shared/OutParamsAreDistinct.sksl", 916 "shared/OutParamsAreDistinctFromGlobal.sksl", 917 "shared/OutParamsFunctionCallInArgument.sksl", 918 "shared/OutParamsTricky.sksl", 919 "shared/Overflow.sksl", 920 "shared/RectangleTexture.sksl", 921 "shared/ResizeMatrix.sksl", 922 "shared/ResizeMatrixNonsquare.sksl", 923 "shared/ReturnBadTypeFromMain.sksl", 924 "shared/ReturnColorFromMain.sksl", 925 "shared/ReturnsValueOnEveryPathES2.sksl", 926 "shared/ReturnsValueOnEveryPathES3.sksl", 927 "shared/SampleLocations.vert", 928 "shared/ScalarConversionConstructorsES2.sksl", 929 "shared/ScalarConversionConstructorsES3.sksl", 930 "shared/ScopedSymbol.sksl", 931 "shared/StackingVectorCasts.sksl", 932 "shared/StaticSwitch.sksl", 933 "shared/StaticSwitchWithBreak.sksl", 934 "shared/StaticSwitchWithBreakInsideBlock.sksl", 935 "shared/StaticSwitchWithConditionalBreak.sksl", 936 "shared/StaticSwitchWithConditionalBreakInsideBlock.sksl", 937 "shared/StaticSwitchWithFallthroughA.sksl", 938 "shared/StaticSwitchWithFallthroughB.sksl", 939 "shared/StaticSwitchWithStaticConditionalBreak.sksl", 940 "shared/StaticSwitchWithStaticConditionalBreakInsideBlock.sksl", 941 "shared/StructArrayFollowedByScalar.sksl", 942 "shared/StructComparison.sksl", 943 "shared/StructMaxDepth.sksl", 944 "shared/Structs.sksl", 945 "shared/StructsInFunctions.sksl", 946 "shared/SwitchWithEarlyReturn.sksl", 947 "shared/SwizzleAsLValue.sksl", 948 "shared/SwizzleBoolConstants.sksl", 949 "shared/SwizzleByConstantIndex.sksl", 950 "shared/SwizzleByIndex.sksl", 951 "shared/SwizzleConstants.sksl", 952 "shared/SwizzleLTRB.sksl", 953 "shared/SwizzleOpt.sksl", 954 "shared/SwizzleScalar.sksl", 955 "shared/SwizzleScalarBool.sksl", 956 "shared/SwizzleScalarInt.sksl", 957 "shared/TernaryAsLValueEntirelyFoldable.sksl", 958 "shared/TernaryAsLValueFoldableTest.sksl", 959 "shared/TernaryExpression.sksl", 960 "shared/TernarySideEffects.sksl", 961 "shared/Texture2D.sksl", 962 "shared/TextureSharpen.sksl", 963 "shared/UnaryPositiveNegative.sksl", 964 "shared/UniformArray.sksl", 965 "shared/UniformBuffers.sksl", 966 "shared/UniformMatrixResize.sksl", 967 "shared/UnusedVariables.sksl", 968 "shared/VectorConstructors.sksl", 969 "shared/VectorScalarMath.sksl", 970 "shared/VectorToMatrixCast.sksl", 971 "shared/VertexID.vert", 972 "shared/WhileLoopControlFlow.sksl", 973 ], 974) 975 976skia_filegroup( 977 name = "sksl_spirv_tests", 978 srcs = [ 979 "errors/LayoutInInterfaceBlock.sksl", 980 "errors/LayoutInStruct.sksl", 981 "errors/Ossfuzz36850.sksl", 982 "errors/Ossfuzz37469.sksl", 983 "errors/UndefinedFunction.rts", 984 "shared/Switch.sksl", 985 "shared/SwitchDefaultOnly.sksl", 986 "shared/SwitchWithFallthrough.sksl", 987 "shared/SwitchWithLoops.sksl", 988 "spirv/ArrayStrideInDifferentLayouts.sksl", 989 "spirv/CombinedSamplerTypeDawnCompatMode.sksl", 990 "spirv/ConstantVectorFromVector.sksl", 991 "spirv/ConstantVectorize.sksl", 992 "spirv/FunctionParametersOfTextureAndSamplerTypeDawnCompatMode.sksl", 993 "spirv/InterfaceBlockPushConstant.sksl", 994 "spirv/LayoutMultipleOf4.sksl", 995 "spirv/LayoutOutOfOrder.sksl", 996 "spirv/OpaqueTypeInArray.sksl", 997 "spirv/Ossfuzz35916.sksl", 998 "spirv/Ossfuzz37627.sksl", 999 "spirv/Ossfuzz44096.sksl", 1000 "spirv/Ossfuzz53202.sksl", 1001 "spirv/StructArrayMemberInDifferentLayouts.sksl", 1002 "spirv/UnusedInterfaceBlock.sksl", 1003 "spirv/WGSLLayoutInVulkanSPIRV.sksl", 1004 "spirv/WrongCombinedSamplerLayoutSPIRVDawnCompatMode.sksl", 1005 "workarounds/RewriteMatrixVectorMultiply.sksl", 1006 ], 1007) 1008 1009skia_filegroup( 1010 name = "sksl_wgsl_tests", 1011 srcs = [ 1012 "wgsl/BuiltinFragmentStageIO.sksl", 1013 "wgsl/BuiltinVertexStageIO.vert", 1014 "wgsl/CastMat2x2ToVec4.sksl", 1015 "wgsl/Equality.sksl", 1016 "wgsl/FunctionCallDependencies.sksl", 1017 "wgsl/GlobalUniforms.sksl", 1018 "wgsl/IfStatement.sksl", 1019 "wgsl/IndexExpression.sksl", 1020 "wgsl/MainDoesNotHaveFragCoordParameter.sksl", 1021 "wgsl/MainHasFragCoordParameter.sksl", 1022 "wgsl/MainHasVoidReturn.sksl", 1023 "wgsl/MatrixConstructorDiagonal.sksl", 1024 "wgsl/OutParams.sksl", 1025 "wgsl/UserDefinedPipelineIO.sksl", 1026 "wgsl/VertexPositionOutputIsAlwaysDeclared.vert", 1027 1028 # Shared tests that are supported so far: 1029 "shared/ConstantIf.sksl", 1030 "shared/HelloWorld.sksl", 1031 "shared/InoutParameters.sksl", 1032 "shared/InoutParamsAreDistinct.sksl", 1033 "shared/InstanceID.vert", 1034 "shared/OutParamsAreDistinct.sksl", 1035 "shared/OutParamsFunctionCallInArgument.sksl", 1036 "shared/Structs.sksl", 1037 "shared/TernaryExpression.sksl", 1038 "shared/VectorConstructors.sksl", 1039 "shared/VertexID.vert", 1040 ], 1041) 1042