diff options
author | 2017-05-15 09:34:22 -0400 | |
---|---|---|
committer | 2017-05-15 14:13:02 +0000 | |
commit | 9959f723c33d609519c265abb5c4f48cba71fd6f (patch) | |
tree | 0cd154a470ca022967cf0a9f18331db093b5dc1b /tests/PathOpsLineParametetersTest.cpp | |
parent | 787a16dd9e03f3971898131dd778206c8cb9a0df (diff) |
composeshader stages
needed to add two helper stages for composeshader
load_rgba, store_rgba
These just read/write the r,g,b,a registers to context memory, making no promise as to how the
memory is formatted (e.g. interleaved -vs- planar).
Note that we have similar existing stages, but they did not seem to suit:
constant_color
This guy loads 4 floats from memory, and splats them into registers. I need to load 4 entire
registers.
load_f32, store_f32
These offset where they read/write based on the 'x' register, plus they guarantee that the memory
will be interleaved ala SkPM4f.
Bug: skia:
Change-Id: Iaa81f950660b837bdb34416ab3e342d56a92239b
Reviewed-on: https://skia-review.googlesource.com/16716
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tests/PathOpsLineParametetersTest.cpp')
0 files changed, 0 insertions, 0 deletions