08c6608907
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> |
||
---|---|---|
.. | ||
GrDSLFPTest_Builtins.dsl.cpp | ||
GrDSLFPTest_Builtins.h | ||
GrDSLFPTest_DoStatement.dsl.cpp | ||
GrDSLFPTest_DoStatement.h | ||
GrDSLFPTest_ForStatement.dsl.cpp | ||
GrDSLFPTest_ForStatement.h | ||
GrDSLFPTest_HelloWorld.dsl.cpp | ||
GrDSLFPTest_HelloWorld.h | ||
GrDSLFPTest_IfStatement.dsl.cpp | ||
GrDSLFPTest_IfStatement.h | ||
GrDSLFPTest_Sample.dsl.cpp | ||
GrDSLFPTest_Sample.h | ||
GrDSLFPTest_SwitchStatement.dsl.cpp | ||
GrDSLFPTest_SwitchStatement.h | ||
GrDSLFPTest_Swizzle.dsl.cpp | ||
GrDSLFPTest_Swizzle.h | ||
GrDSLFPTest_Ternary.dsl.cpp | ||
GrDSLFPTest_Ternary.h | ||
GrDSLFPTest_WhileStatement.dsl.cpp | ||
GrDSLFPTest_WhileStatement.h |