From 3785471ff641b7ec4218a32fcf76363b9ac81bab Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Tue, 26 Jun 2018 11:43:06 -0400 Subject: basic first pass at RGBA F32 support Draws basically the same as f16. The existing load_f32, load_f32_dst, and store_f32 stages all had the same bug that we'd never noticed because dy was always 0 until now. Change-Id: Ibbd393fa1acc5df414be4cdef0f5a9d11dcccdb3 Reviewed-on: https://skia-review.googlesource.com/137585 Commit-Queue: Mike Klein Reviewed-by: Brian Osman Reviewed-by: Mike Reed --- dm/DM.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dm') diff --git a/dm/DM.cpp b/dm/DM.cpp index 32eba97c58..b0d86420e6 100644 --- a/dm/DM.cpp +++ b/dm/DM.cpp @@ -926,6 +926,8 @@ static Sink* create_sink(const GrContextOptions& grCtxOptions, const SkCommandLi SINK( "esrgb", RasterSink, kRGBA_F16_SkColorType, srgb ); SINK( "narrow", RasterSink, kRGBA_8888_SkColorType, narrow ); SINK("enarrow", RasterSink, kRGBA_F16_SkColorType, narrow ); + + SINK( "f32", RasterSink, kRGBA_F32_SkColorType, srgbLinear); } #undef SINK return nullptr; -- cgit v1.2.3