skia2/tests/sksl/dslfp
John Stiles 08c6608907 Append f suffix to float literals in DSL C++.
This prevents some ambiguous-expression errors (since we were passing a
`double` typed value into places that only took an `int` or `float`).

(The ambiguous-expression errors were later fixed in
http://review.skia.org/400619, but it's still the right thing to do for
DSL C++ to emit floats.)

Change-Id: I052c9919a9f00cb427dd152722d2f7c370f3f3b4
Bug: skia:11854
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/400616
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-04-23 23:15:54 +00:00
..
GrDSLFPTest_Builtins.dsl.cpp Append f suffix to float literals in DSL C++. 2021-04-23 23:15:54 +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 Append f suffix to float literals in DSL C++. 2021-04-23 23:15:54 +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 Append f suffix to float literals in DSL C++. 2021-04-23 23:15:54 +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 Append f suffix to float literals in DSL C++. 2021-04-23 23:15:54 +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 Append f suffix to float literals in DSL C++. 2021-04-23 23:15:54 +00:00
GrDSLFPTest_IfStatement.h Reland "Add support for uniforms and layout(key)s to DSLCPPCodeGenerator." 2021-04-22 20:04:32 +00:00
GrDSLFPTest_Sample.dsl.cpp Append f suffix to float literals in DSL C++. 2021-04-23 23:15:54 +00:00
GrDSLFPTest_Sample.h Add support for sample() to DSLCPPCodeGenerator. 2021-04-22 21:13:13 +00:00
GrDSLFPTest_SwitchStatement.dsl.cpp Append f suffix to float literals in DSL C++. 2021-04-23 23:15:54 +00:00
GrDSLFPTest_SwitchStatement.h Reland "Reland "Implement statements and expressions in DSL C++ code generator."" 2021-04-22 20:01:33 +00:00
GrDSLFPTest_Swizzle.dsl.cpp Append f suffix to float literals in DSL C++. 2021-04-23 23:15:54 +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 Reland "Add support for uniforms and layout(key)s to DSLCPPCodeGenerator." 2021-04-22 20:04:32 +00:00
GrDSLFPTest_Ternary.h Reland "Add support for uniforms and layout(key)s to DSLCPPCodeGenerator." 2021-04-22 20:04:32 +00:00
GrDSLFPTest_WhileStatement.dsl.cpp Append f suffix to float literals in DSL C++. 2021-04-23 23:15:54 +00:00
GrDSLFPTest_WhileStatement.h Reland "Reland "Implement statements and expressions in DSL C++ code generator."" 2021-04-22 20:01:33 +00:00