Home
last modified time | relevance | path

Searched refs:DSLLayout (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/include/sksl/
DDSLLayout.h20 class DSLLayout {
22 DSLLayout() {} in DSLLayout() function
24 DSLLayout& originUpperLeft(PositionInfo pos = PositionInfo::Capture()) {
28 DSLLayout& pushConstant(PositionInfo pos = PositionInfo::Capture()) {
32 DSLLayout& blendSupportAllEquations(PositionInfo pos = PositionInfo::Capture()) {
37 DSLLayout& srgbUnpremul(PositionInfo pos = PositionInfo::Capture()) {
41 DSLLayout& location(int location, PositionInfo pos = PositionInfo::Capture()) {
46 DSLLayout& offset(int offset, PositionInfo pos = PositionInfo::Capture()) {
51 DSLLayout& binding(int binding, PositionInfo pos = PositionInfo::Capture()) {
56 DSLLayout& index(int index, PositionInfo pos = PositionInfo::Capture()) {
[all …]
DDSLModifiers.h36 : DSLModifiers(DSLLayout(), flags) {} in DSLModifiers() argument
38 DSLModifiers(DSLLayout layout, int flags = 0)
45 DSLLayout layout() const { in layout()
46 return DSLLayout(fModifiers.fLayout); in layout()
DBUILD.bazel12 "DSLLayout.h",
DDSL.h23 using Layout = DSLLayout;
/third_party/skia/src/sksl/dsl/
DDSLLayout.cpp16 DSLLayout& DSLLayout::flag(SkSL::Layout::Flag mask, const char* name, PositionInfo pos) { in flag()
25 DSLLayout& DSLLayout::intValue(int* target, int value, SkSL::Layout::Flag flag, const char* name, in intValue()
/third_party/skia/tests/
DSkSLDSLTest.cpp1881 DEF_GPUTEST_FOR_MOCK_CONTEXT(DSLLayout, r, ctxInfo) { in DEF_GPUTEST_FOR_MOCK_CONTEXT() argument
1883 Var v1(DSLModifiers(DSLLayout().location(1).set(2).binding(3).offset(4).index(5).builtin(6) in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1889 Var v2(DSLLayout().originUpperLeft(), kFloat2_Type, "v2"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1892 Var v4(DSLLayout().pushConstant(), kBool_Type, "v4"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1895 Var v5(DSLLayout().blendSupportAllEquations(), kHalf4_Type, "v5"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1900 DSLGlobalVar v(DSLModifiers(DSLLayout().srgbUnpremul(), kUniform_Modifier), kHalf4_Type, in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1907 DSLLayout().location(1).location(2); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1912 DSLLayout().set(1).set(2); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1917 DSLLayout().binding(1).binding(2); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1922 DSLLayout().offset(1).offset(2); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
[all …]
/third_party/skia/gn/
Dsksl.gni27 "$_include/sksl/DSLLayout.h",
94 "$_src/sksl/dsl/DSLLayout.cpp",
/third_party/skia/src/sksl/
DSkSLDSLParser.h183 dsl::DSLLayout layout();
DBUILD.bazel77 "dsl/DSLLayout.cpp",
DSkSLDSLParser.cpp690 DSLLayout DSLParser::layout() { in layout()
691 DSLLayout result; in layout()
756 DSLLayout layout = this->layout(); in modifiers()