skia2/tests/sksl/shared/golden
John Stiles ba4b0e93e3 Add support for number(boolean) and boolean(number) casts in SkSL.
Previously `number(boolean)` casts were converted to a ternary during
IR generation, and `boolean(number)` casts caused an error.

Metal and GLSL should support this cast as written. SPIR-V needed a
little bit of logic to handle converting the boolean to a number via
OpSelect.

Change-Id: I0069781e2b5a26a25c8625ab41c2392342bfd10d
Bug: skia:11131
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/349066
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-01-05 21:19:45 +00:00
..
ArrayConstructors.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
ArrayConstructors.glsl Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
ArrayConstructors.metal Fix various SkSL errors that don't report a line number. 2020-12-14 16:11:13 +00:00
ArrayIndexTypes.asm.frag Avoid unnecessary coercions in index expressions. 2020-12-07 19:14:50 +00:00
ArrayIndexTypes.glsl Avoid unnecessary coercions in index expressions. 2020-12-07 19:14:50 +00:00
ArrayIndexTypes.metal Fix various SkSL errors that don't report a line number. 2020-12-14 16:11:13 +00:00
ArrayTypes.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
ArrayTypes.glsl
ArrayTypes.metal Fix various SkSL errors that don't report a line number. 2020-12-14 16:11:13 +00:00
Assignment.asm.frag Fix SPIRV bug constructing a constant vector from another vector 2020-12-23 21:14:48 +00:00
Assignment.glsl Add global struct definitions to SkSL. 2020-11-30 15:26:14 +00:00
Assignment.metal Add global struct definitions to SkSL. 2020-11-30 15:26:14 +00:00
BoolFolding.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
BoolFolding.glsl
BoolFolding.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Caps.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
Caps.glsl Disable "any" function workaround in standalone/non-GPU caps 2020-11-03 17:36:43 +00:00
Caps.metal Disable "any" function workaround in standalone/non-GPU caps 2020-11-03 17:36:43 +00:00
CastsRoundTowardZero.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
CastsRoundTowardZero.glsl
CastsRoundTowardZero.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Clockwise.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
Clockwise.glsl
Clockwise.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ComplexDelete.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
ComplexDelete.glsl Disallow identifier names that overlap existing types. 2020-12-04 16:52:01 +00:00
ComplexDelete.metal Add newline to end of Metal's Globals struct definition. 2020-12-09 15:49:30 +00:00
ConstantIf.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
ConstantIf.glsl
ConstantIf.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ConstArray.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
ConstArray.glsl
ConstArray.metal Fix various SkSL errors that don't report a line number. 2020-12-14 16:11:13 +00:00
ConstVariableComparison.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
ConstVariableComparison.glsl
ConstVariableComparison.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Control.asm.frag Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
Control.glsl Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
Control.metal Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
DeadDoWhileLoop.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
DeadDoWhileLoop.glsl
DeadDoWhileLoop.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
DeadIfStatement.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
DeadIfStatement.glsl Fix use-after-free error discovered by the fuzzer. 2020-11-03 17:59:02 +00:00
DeadIfStatement.metal Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
DeadLoopVariable.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
DeadLoopVariable.glsl
DeadLoopVariable.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
DeadStripFunctions.asm.frag Add unit test for function dead-stripping. 2020-11-30 15:16:44 +00:00
DeadStripFunctions.glsl Add unit test for function dead-stripping. 2020-11-30 15:16:44 +00:00
DeadStripFunctions.metal Add unit test for function dead-stripping. 2020-11-30 15:16:44 +00:00
DependentInitializers.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
DependentInitializers.glsl
DependentInitializers.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Derivatives.glsl
DerivativesFlipY.glsl
DerivativesFlipYStandaloneSettings.glsl
DerivativesStandaloneSettings.glsl
DerivativesUnused.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
DerivativesUnused.glsl
DerivativesUnused.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Discard.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
Discard.glsl Always declare sk_FragColor in GLSL, even if unused 2020-10-20 21:13:31 +00:00
Discard.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Enum.asm.frag Add support for enums in Metal code generator. 2020-11-30 15:14:34 +00:00
Enum.glsl Add support for enums in Metal code generator. 2020-11-30 15:14:34 +00:00
Enum.metal Add support for enums in Metal code generator. 2020-11-30 15:14:34 +00:00
FloatFolding.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
FloatFolding.glsl
FloatFolding.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FragCoordsFlipY.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
FragCoordsFlipY.glsl
FragCoordsFlipY.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FragCoordsNew.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
FragCoordsNew.glsl
FragCoordsNew.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FragCoordsOld.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
FragCoordsOld.glsl
FragCoordsOld.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FunctionArgumentMatch.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
FunctionArgumentMatch.glsl
FunctionArgumentMatch.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
FunctionPrototype.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
FunctionPrototype.glsl Improve support for function prototypes in SkSL. 2020-11-03 19:09:25 +00:00
FunctionPrototype.metal Improve support for function prototypes in SkSL. 2020-11-03 19:09:25 +00:00
Functions.asm.frag Disallow multi-dimensional arrays in SkSL. 2020-12-03 16:28:19 +00:00
Functions.glsl Disallow multi-dimensional arrays in SkSL. 2020-12-03 16:28:19 +00:00
Functions.metal Improve Metal support for out parameters. 2020-12-09 21:13:57 +00:00
GaussianBlur.asm.frag Eliminate inliner temporary variables for top-level-exit functions. 2020-12-17 20:37:21 +00:00
GaussianBlur.glsl Eliminate inliner temporary variables for top-level-exit functions. 2020-12-17 20:37:21 +00:00
GaussianBlur.metal Eliminate inliner temporary variables for top-level-exit functions. 2020-12-17 20:37:21 +00:00
GeometricIntrinsics.asm.frag Eliminate inliner temporary variables for top-level-exit functions. 2020-12-17 20:37:21 +00:00
GeometricIntrinsics.glsl Eliminate inliner temporary variables for top-level-exit functions. 2020-12-17 20:37:21 +00:00
GeometricIntrinsics.metal Eliminate inliner temporary variables for top-level-exit functions. 2020-12-17 20:37:21 +00:00
Geometry.asm.geom Fix SPIR-V golden output file extensions. 2020-11-23 21:15:13 +00:00
Geometry.glsl
Geometry.metal remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
GeometryExtension.asm.geom Fix SPIR-V golden output file extensions. 2020-11-23 21:15:13 +00:00
GeometryExtension.glsl
GeometryExtension.metal remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
GeometryGSInvocations.asm.geom Fix SPIR-V golden output file extensions. 2020-11-23 21:15:13 +00:00
GeometryGSInvocations.glsl
GeometryGSInvocations.metal remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
GeometryNoGSInvocations.asm.geom Fix function declaration for our invocation-ID workaround helper. 2020-12-30 23:59:19 +00:00
GeometryNoGSInvocations.glsl Fix function declaration for our invocation-ID workaround helper. 2020-12-30 23:59:19 +00:00
GeometryNoGSInvocations.metal remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
GeometryNoGSInvocationsReorder.asm.geom Fix function declaration for our invocation-ID workaround helper. 2020-12-30 23:59:19 +00:00
GeometryNoGSInvocationsReorder.glsl Fix function declaration for our invocation-ID workaround helper. 2020-12-30 23:59:19 +00:00
GeometryNoGSInvocationsReorder.metal remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
Height.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
Height.glsl
Height.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
HelloWorld.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
HelloWorld.glsl
HelloWorld.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Hex.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
Hex.glsl Handle values above int32 safely during IR generation. 2020-12-29 16:26:56 +00:00
Hex.metal Handle values above int32 safely during IR generation. 2020-12-29 16:26:56 +00:00
InstanceID.asm.vert Enforce layout(location=...) on Metal out variables. 2020-12-01 20:41:15 +00:00
InstanceID.glsl Enforce layout(location=...) on Metal out variables. 2020-12-01 20:41:15 +00:00
InstanceID.metal Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
InterfaceBlockAnonymous.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
InterfaceBlockAnonymous.glsl Enforce that layout(binding=...) is set on interface blocks in Metal. 2020-12-04 19:30:35 +00:00
InterfaceBlockAnonymous.metal Add newline to end of Metal's Globals struct definition. 2020-12-09 15:49:30 +00:00
InterfaceBlockArray.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
InterfaceBlockArray.glsl Enforce that layout(binding=...) is set on interface blocks in Metal. 2020-12-04 19:30:35 +00:00
InterfaceBlockArray.metal Add newline to end of Metal's Globals struct definition. 2020-12-09 15:49:30 +00:00
InterfaceBlockNamed.asm.frag Enforce that layout(binding=...) is set on interface blocks in Metal. 2020-12-04 19:30:35 +00:00
InterfaceBlockNamed.glsl Enforce that layout(binding=...) is set on interface blocks in Metal. 2020-12-04 19:30:35 +00:00
InterfaceBlockNamed.metal Add newline to end of Metal's Globals struct definition. 2020-12-09 15:49:30 +00:00
IntFolding.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
IntFolding.glsl Add unit test to demonstrate error with modulo in FP files. 2020-10-29 20:46:08 +00:00
IntFolding.metal Add unit test to demonstrate error with modulo in FP files. 2020-10-29 20:46:08 +00:00
MatricesFloat.asm.frag Prevent half type from being emitted in Metal matrixConstructHelpers. 2020-12-29 21:01:27 +00:00
MatricesFloat.glsl Prevent half type from being emitted in Metal matrixConstructHelpers. 2020-12-29 21:01:27 +00:00
MatricesFloat.metal Prevent half type from being emitted in Metal matrixConstructHelpers. 2020-12-29 21:01:27 +00:00
MatricesHalf.asm.frag Prevent half type from being emitted in Metal matrixConstructHelpers. 2020-12-29 21:01:27 +00:00
MatricesHalf.glsl Prevent half type from being emitted in Metal matrixConstructHelpers. 2020-12-29 21:01:27 +00:00
MatricesHalf.metal Prevent half type from being emitted in Metal matrixConstructHelpers. 2020-12-29 21:01:27 +00:00
MatrixFolding.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
MatrixFolding.glsl
MatrixFolding.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
MixedTypeCommaOperator.asm.frag Support comma operator with mixed types in SPIR-V. 2020-12-09 17:18:09 +00:00
MixedTypeCommaOperator.glsl Replace SPIR-V assertion with mixed-types error message. 2020-11-25 15:13:27 +00:00
MixedTypeCommaOperator.metal Replace SPIR-V assertion with mixed-types error message. 2020-11-25 15:13:27 +00:00
MultipleAssignments.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
MultipleAssignments.glsl
MultipleAssignments.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
NegatedVectorLiteral.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
NegatedVectorLiteral.glsl Remove unnecessary Blocks from the inliner. 2020-12-17 19:35:35 +00:00
NegatedVectorLiteral.metal Remove unnecessary Blocks from the inliner. 2020-12-17 19:35:35 +00:00
NoFragCoordsPos.asm.vert Fix SPIR-V golden output file extensions. 2020-11-23 21:15:13 +00:00
NoFragCoordsPos.glsl
NoFragCoordsPos.metal Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
NoFragCoordsPosRT.asm.vert remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
NoFragCoordsPosRT.glsl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
NoFragCoordsPosRT.metal Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
NormalizationGeo.asm.geom remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
NormalizationGeo.glsl
NormalizationGeo.metal remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
NormalizationVert.asm.vert remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
NormalizationVert.glsl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
NormalizationVert.metal Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
NumberCasts.asm.frag Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
NumberCasts.glsl Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
NumberCasts.metal Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
NumberConversions.asm.frag Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
NumberConversions.glsl Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
NumberConversions.metal Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
Offset.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
Offset.glsl
Offset.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
Operators.asm.frag Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
Operators.glsl Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
Operators.metal Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
Ossfuzz26167.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
Ossfuzz26167.glsl Fix use-after-free discovered by fuzzer. 2020-10-23 16:10:15 +00:00
Ossfuzz26167.metal Fix use-after-free discovered by fuzzer. 2020-10-23 16:10:15 +00:00
Ossfuzz27614.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
Ossfuzz27614.glsl Add fix for fuzzer-discovered crash at oss-fuzz:27614. 2020-11-18 21:01:15 +00:00
Ossfuzz27614.metal Add fix for fuzzer-discovered crash at oss-fuzz:27614. 2020-11-18 21:01:15 +00:00
Ossfuzz28050.asm.frag Fix ASAN error when inlining array constructor expressions. 2020-11-30 18:37:05 +00:00
Ossfuzz28050.glsl Fix ASAN error when inlining array constructor expressions. 2020-11-30 18:37:05 +00:00
Ossfuzz28050.metal Fix ASAN error when inlining array constructor expressions. 2020-11-30 18:37:05 +00:00
Ossfuzz28794.asm.frag Fix for fuzzer-discovered crash with swizzles. 2020-12-22 14:38:52 +00:00
Ossfuzz28794.glsl Fix for fuzzer-discovered crash with swizzles. 2020-12-22 14:38:52 +00:00
Ossfuzz28794.metal Fix for fuzzer-discovered crash with swizzles. 2020-12-22 14:38:52 +00:00
Ossfuzz28904.asm.frag Fix fuzzer-discovered crash with negated swizzles. 2020-12-23 18:52:47 +00:00
Ossfuzz28904.glsl Fix fuzzer-discovered crash with negated swizzles. 2020-12-23 18:52:47 +00:00
Ossfuzz28904.metal Fix fuzzer-discovered crash with negated swizzles. 2020-12-23 18:52:47 +00:00
OutParams.asm.frag Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
OutParams.glsl Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
OutParams.metal Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
OutParamsTricky.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
OutParamsTricky.glsl Remove unnecessary Blocks from the inliner. 2020-12-17 19:35:35 +00:00
OutParamsTricky.metal Remove unnecessary Blocks from the inliner. 2020-12-17 19:35:35 +00:00
RectangleTexture.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
RectangleTexture.glsl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
RectangleTexture.metal Add Metal support for the findLSB intrinsic. 2020-12-11 17:19:52 +00:00
ResizeMatrix.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
ResizeMatrix.glsl Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
ResizeMatrix.metal Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
SampleMask.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
SampleMask.glsl
SampleMask.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ScopedSymbol.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
ScopedSymbol.glsl
ScopedSymbol.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
ShortCircuitBoolFolding.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
ShortCircuitBoolFolding.glsl
ShortCircuitBoolFolding.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StackingVectorCasts.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StackingVectorCasts.glsl
StackingVectorCasts.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticIf.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StaticIf.glsl
StaticIf.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitch.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StaticSwitch.glsl
StaticSwitch.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithBreak.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StaticSwitchWithBreak.glsl
StaticSwitchWithBreak.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithBreakInsideBlock.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StaticSwitchWithBreakInsideBlock.glsl
StaticSwitchWithBreakInsideBlock.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithConditionalBreak.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StaticSwitchWithConditionalBreak.glsl
StaticSwitchWithConditionalBreak.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithConditionalBreakInsideBlock.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StaticSwitchWithConditionalBreakInsideBlock.glsl
StaticSwitchWithConditionalBreakInsideBlock.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithFallthroughA.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StaticSwitchWithFallthroughA.glsl
StaticSwitchWithFallthroughA.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithFallthroughB.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StaticSwitchWithFallthroughB.glsl
StaticSwitchWithFallthroughB.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithStaticConditionalBreak.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StaticSwitchWithStaticConditionalBreak.glsl
StaticSwitchWithStaticConditionalBreak.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StaticSwitchWithStaticConditionalBreakInsideBlock.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StaticSwitchWithStaticConditionalBreakInsideBlock.glsl
StaticSwitchWithStaticConditionalBreakInsideBlock.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
StructMaxDepth.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
StructMaxDepth.glsl Disallow multi-dimensional arrays in SkSL. 2020-12-03 16:28:19 +00:00
StructMaxDepth.metal Disallow multi-dimensional arrays in SkSL. 2020-12-03 16:28:19 +00:00
Structs.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
Structs.glsl Add global struct definitions to SkSL. 2020-11-30 15:26:14 +00:00
Structs.metal Add newline to end of Metal's Globals struct definition. 2020-12-09 15:49:30 +00:00
Switch.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
Switch.glsl
Switch.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SwitchContainingDeadCode.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
SwitchContainingDeadCode.glsl
SwitchContainingDeadCode.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SwitchWithFallthrough.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
SwitchWithFallthrough.glsl
SwitchWithFallthrough.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SwizzleBoolConstants.asm.frag Flatten out constructors nested inside constructors. 2020-11-23 21:29:53 +00:00
SwizzleBoolConstants.glsl Flatten out constructors nested inside constructors. 2020-11-23 21:29:53 +00:00
SwizzleBoolConstants.metal Flatten out constructors nested inside constructors. 2020-11-23 21:29:53 +00:00
SwizzleByIndex.asm.frag Revert "Declare all inlined variables at the topmost scope possible." 2020-12-16 18:26:21 +00:00
SwizzleByIndex.glsl Remove unnecessary Blocks from the inliner. 2020-12-17 19:35:35 +00:00
SwizzleByIndex.metal Remove unnecessary Blocks from the inliner. 2020-12-17 19:35:35 +00:00
SwizzleConstants.asm.frag Flatten out constructors nested inside constructors. 2020-11-23 21:29:53 +00:00
SwizzleConstants.glsl Flatten out constructors nested inside constructors. 2020-11-23 21:29:53 +00:00
SwizzleConstants.metal Flatten out constructors nested inside constructors. 2020-11-23 21:29:53 +00:00
SwizzleLTRB.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
SwizzleLTRB.glsl
SwizzleLTRB.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
SwizzleOpt.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
SwizzleOpt.glsl Flatten out constructors nested inside constructors. 2020-11-23 21:29:53 +00:00
SwizzleOpt.metal Flatten out constructors nested inside constructors. 2020-11-23 21:29:53 +00:00
SwizzleScalar.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
SwizzleScalar.glsl Optimize swizzled multiple-argument constructors. 2020-11-19 17:10:11 +00:00
SwizzleScalar.metal Optimize swizzled multiple-argument constructors. 2020-11-19 17:10:11 +00:00
TernaryAsLValueEntirelyFoldable.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
TernaryAsLValueEntirelyFoldable.glsl
TernaryAsLValueEntirelyFoldable.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
TernaryAsLValueFoldableTest.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
TernaryAsLValueFoldableTest.glsl Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
TernaryAsLValueFoldableTest.metal Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
Texture1D.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
Texture1D.glsl Split Texture test into separate 1D and 2D tests. 2020-11-02 14:39:31 +00:00
Texture1D.metal Split Texture test into separate 1D and 2D tests. 2020-11-02 14:39:31 +00:00
Texture2D.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
Texture2D.glsl Split Texture test into separate 1D and 2D tests. 2020-11-02 14:39:31 +00:00
Texture2D.metal Add Metal support for the findLSB intrinsic. 2020-12-11 17:19:52 +00:00
TextureSharpen.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
TextureSharpen.glsl Detect non-2D textures in MetalCodeGenerator and fail cleanly 2020-10-02 20:36:04 +00:00
TextureSharpen.metal Report the correct line number when vardecls have an error. 2020-11-17 16:32:23 +00:00
UnaryPositiveNegative.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
UnaryPositiveNegative.glsl Allow constant propagation for negated constant-vectors and ints. 2020-11-05 17:39:48 +00:00
UnaryPositiveNegative.metal Allow constant propagation for negated constant-vectors and ints. 2020-11-05 17:39:48 +00:00
UniformArray.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
UniformArray.glsl Disallow multi-dimensional arrays in SkSL. 2020-12-03 16:28:19 +00:00
UniformArray.metal Disallow multi-dimensional arrays in SkSL. 2020-12-03 16:28:19 +00:00
UnusedVariables.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
UnusedVariables.glsl Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
UnusedVariables.metal Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
VectorConstructors.asm.frag Fix SPIRV bug constructing a constant vector from another vector 2020-12-23 21:14:48 +00:00
VectorConstructors.glsl
VectorConstructors.metal Add newline to end of Metal's Globals struct definition. 2020-12-09 15:49:30 +00:00
VectorFolding.asm.frag Enable SPIR-V disassembly output from skslc. 2020-11-20 22:54:26 +00:00
VectorFolding.glsl Remove unnecessary Blocks from the inliner. 2020-12-17 19:35:35 +00:00
VectorFolding.metal Remove unnecessary Blocks from the inliner. 2020-12-17 19:35:35 +00:00
VertexEarlyReturn.asm.vert remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
VertexEarlyReturn.glsl Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
VertexEarlyReturn.metal Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
VertexID.asm.vert Enforce layout(location=...) on Metal out variables. 2020-12-01 20:41:15 +00:00
VertexID.glsl Enforce layout(location=...) on Metal out variables. 2020-12-01 20:41:15 +00:00
VertexID.metal Fix codegen errors with Metal return statements. 2020-12-01 21:28:05 +00:00
Width.asm.frag remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
Width.glsl
Width.metal Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00