skia2/tests/sksl/dslfp
John Stiles 115645ee9b Evaluate various single-argument float intrinsics at compile time.
This CL only handles a subset of our intrinsics. In particular, it
avoids changing the behavior of `sqrt` as many of our tests use sqrt as
an optimization barrier.

The transcendental test inputs are intentionally kept very simple to
avoid putting numbers in the test outputs which could round differently
on various platforms and cause Housekeeper to complain.

Change-Id: I539f918294332310dcd6fe12fab163c0b6216f65
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/405398
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-05-07 14:37:18 +00:00
..
GrDSLFPTest_Builtins.dsl.cpp Evaluate various single-argument float intrinsics at compile time. 2021-05-07 14:37:18 +00:00
GrDSLFPTest_Builtins.h Add support for built-in functions to DSLCPPCodeGenerator. 2021-04-22 21:56:22 +00:00
GrDSLFPTest_DoStatement.dsl.cpp Use macros for sk_Caps again. 2021-04-27 21:55:11 +00:00
GrDSLFPTest_DoStatement.h Reland "Add support for uniforms and layout(key)s to DSLCPPCodeGenerator." 2021-04-22 20:04:32 +00:00
GrDSLFPTest_ForStatement.dsl.cpp Remove superfluous lines from DSL generated code. 2021-04-26 16:40:48 +00:00
GrDSLFPTest_ForStatement.h Reland "Add support for uniforms and layout(key)s to DSLCPPCodeGenerator." 2021-04-22 20:04:32 +00:00
GrDSLFPTest_HelloWorld.dsl.cpp Remove superfluous lines from DSL generated code. 2021-04-26 16:40:48 +00:00
GrDSLFPTest_HelloWorld.h Reland "Reland "Implement statements and expressions in DSL C++ code generator."" 2021-04-22 20:01:33 +00:00
GrDSLFPTest_IfStatement.dsl.cpp Honor static statements in DSL C++ codegen. 2021-04-30 18:40:08 +00:00
GrDSLFPTest_IfStatement.h Improve DSL CPP support for global variables. 2021-04-27 21:59:41 +00:00
GrDSLFPTest_Sample.dsl.cpp Remove sample-with-matrix from SkSL 2021-04-28 15:44:35 +00:00
GrDSLFPTest_Sample.h Remove sample-with-matrix from SkSL 2021-04-28 15:44:35 +00:00
GrDSLFPTest_SwitchStatement.dsl.cpp Honor static statements in DSL C++ codegen. 2021-04-30 18:40:08 +00:00
GrDSLFPTest_SwitchStatement.h Honor static statements in DSL C++ codegen. 2021-04-30 18:40:08 +00:00
GrDSLFPTest_Swizzle.dsl.cpp Remove superfluous lines from DSL generated code. 2021-04-26 16:40:48 +00:00
GrDSLFPTest_Swizzle.h Reland "Reland "Implement statements and expressions in DSL C++ code generator."" 2021-04-22 20:01:33 +00:00
GrDSLFPTest_Ternary.dsl.cpp Added support for DSL global variables 2021-04-30 18:05:19 +00:00
GrDSLFPTest_Ternary.h Support 'layout(when)' expressions in DSL C++. 2021-04-26 15:17:38 +00:00
GrDSLFPTest_WhileStatement.dsl.cpp Remove superfluous lines from DSL generated code. 2021-04-26 16:40:48 +00:00
GrDSLFPTest_WhileStatement.h Reland "Reland "Implement statements and expressions in DSL C++ code generator."" 2021-04-22 20:01:33 +00:00