/external/skia/include/private/ |
D | SkSLModifiers.h | 63 : fLayout(Layout()) in Modifiers() 67 : fLayout(layout) in Modifiers() 71 return fLayout.description() + DescribeFlags(fFlags) + " "; in description() 144 return fLayout == other.fLayout && fFlags == other.fFlags; 160 Layout fLayout; member 171 return (size_t) key.fFlags ^ ((size_t) key.fLayout.fFlags << 8) ^ 172 ((size_t) key.fLayout.fBuiltin << 16);
|
/external/skia/include/private/gpu/vk/ |
D | VulkanTypesPriv.h | 20 : fLayout(layout) in VulkanMutableTextureState() 24 fLayout = that.getImageLayout(); 31 fLayout.store(layout); in setImageLayout() 36 return fLayout.load(); in getImageLayout() 50 std::atomic<VkImageLayout> fLayout;
|
/external/skia/src/gpu/ganesh/vk/ |
D | GrVkImageLayout.h | 16 GrVkImageLayout(VkImageLayout layout) : fLayout(layout) {} in GrVkImageLayout() 20 fLayout.store(layout); in setImageLayout() 25 return fLayout.load(); in getImageLayout() 29 std::atomic<VkImageLayout> fLayout;
|
/external/skia/src/sksl/ir/ |
D | SkSLVariable.cpp | 105 if (modifiers.fLayout.fLocation == 0 && modifiers.fLayout.fIndex == 0 && in Convert() 115 modifiers.fLayout.fBuiltin == -1) { in Convert()
|
D | SkSLModifiers.cpp | 56 int backendFlags = fLayout.fFlags & Layout::kAllBackendFlagsMask; in checkPermitted() 82 int layoutFlags = fLayout.fFlags; in checkPermitted()
|
D | SkSLFunctionDeclaration.cpp | 124 m.fLayout.fBuiltin = SK_MAIN_COORDS_BUILTIN; in check_parameters() 128 m.fLayout.fBuiltin = kBuiltinColorIDs[builtinColorIndex++]; in check_parameters() 136 m.fLayout.fBuiltin = SK_MAIN_COORDS_BUILTIN; in check_parameters() 170 p.modifiers().fLayout.fBuiltin == SK_MAIN_COORDS_BUILTIN; in check_main_signature() 177 p.modifiers().fLayout.fBuiltin == builtinID; in check_main_signature()
|
D | SkSLType.cpp | 674 if (field.fModifiers.fLayout.fFlags & Layout::kBinding_Flag) { in MakeStructType() 678 if (field.fModifiers.fLayout.fFlags & Layout::kSet_Flag) { in MakeStructType()
|
D | SkSLVarDeclarations.cpp | 219 if (modifiers.fLayout.fFlags & Layout::kColor_Flag) { in ErrorCheck()
|
/external/skia/src/gpu/graphite/ |
D | UniformManager.cpp | 426 if (fLayout != Layout::kMetal) { in getUniformTypeForLayout() 457 fLayout = layout; in setLayout() 475 : fLayout(layout), fOffset(startingOffset) { in UniformOffsetCalculator() 476 this->setLayout(fLayout); in UniformOffsetCalculator() 483 uint32_t alignedOffset = get_ubo_aligned_offset(fLayout, in advanceOffset() 505 if (layout != fLayout) { in resetWithNewLayout()
|
D | UniformManager.h | 57 Layout fLayout; // TODO: eventually 'fLayout' will not need to be stored variable
|
/external/skia/src/sksl/analysis/ |
D | SkSLFinalizationChecks.cpp | 84 int32_t set = var->modifiers().fLayout.fSet; in checkBindUniqueness() 85 int32_t binding = var->modifiers().fLayout.fBinding; in checkBindUniqueness()
|
/external/skia/src/sksl/codegen/ |
D | SkSLWGSLCodeGenerator.cpp | 265 switch (v.modifiers().fLayout.fBuiltin) { in needs_builtin_type_conversion() 413 if (v->modifiers().fLayout.fBuiltin == SK_MAIN_COORDS_BUILTIN) { in resolve_program_requirements() 555 int location = modifiers.fLayout.fLocation; in writePipelineIODeclaration() 558 } else if (modifiers.fLayout.fBuiltin >= 0) { in writePipelineIODeclaration() 559 auto builtin = builtin_from_sksl_name(modifiers.fLayout.fBuiltin); in writePipelineIODeclaration() 696 if (v->modifiers().fLayout.fBuiltin == SK_MAIN_COORDS_BUILTIN) { in writeEntryPoint() 922 field->fModifiers.fLayout.fBuiltin != SK_POINTSIZE_BUILTIN) { in writeFieldAccess() 1332 if (v->modifiers().fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in writeStageInputStruct() 1347 if (f.fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in writeStageInputStruct() 1399 if (f.fModifiers.fLayout.fBuiltin == SK_POSITION_BUILTIN) { in writeStageOutputStruct() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 1442 switch (var.modifiers().fLayout.fBuiltin) { in is_compute_builtin() 1459 (var.modifiers().fLayout.fBuiltin == -1 || is_compute_builtin(var)) && in is_input() 1469 var.modifiers().fLayout.fBuiltin == -1 && in is_output() 1501 switch (ref.variable()->modifiers().fLayout.fBuiltin) { in writeVariableReference() 1555 switch (field->fModifiers.fLayout.fBuiltin) { in writeFieldAccess() 2035 return (m.fLayout.fBinding >= 0) ? m.fLayout.fBinding in getUniformBinding() 2040 return (m.fLayout.fSet >= 0) ? m.fLayout.fSet in getUniformSet() 2113 switch (var->modifiers().fLayout.fBuiltin) { in writeFunctionDeclaration() 2188 if (f.isMain() && param->modifiers().fLayout.fBuiltin != -1) { in writeFunctionDeclaration() 2351 int fieldOffset = field.fModifiers.fLayout.fOffset; in writeFields() [all …]
|
D | SkSLSPIRVCodeGenerator.cpp | 995 const Layout& fieldLayout = field.fModifiers.fLayout; in writeStruct() 1015 if (field.fModifiers.fLayout.fBuiltin < 0) { in writeStruct() 2208 SkASSERT(!(modifiers.fLayout.fFlags & Layout::kPushConstant_Flag)); in get_storage_class_for_global_variable() 2212 SkASSERT(!(modifiers.fLayout.fFlags & Layout::kPushConstant_Flag)); in get_storage_class_for_global_variable() 2216 if (modifiers.fLayout.fFlags & Layout::kPushConstant_Flag) { in get_storage_class_for_global_variable() 2505 switch (variable->modifiers().fLayout.fBuiltin) { in writeVariableReference() 2547 modifiers.fLayout.fBuiltin = DEVICE_FRAGCOORDS_BUILTIN; in writeVariableReference() 2587 modifiers.fLayout.fBuiltin = DEVICE_CLOCKWISE_BUILTIN; in writeVariableReference() 3497 bool pushConstant = ((v.modifiers().fLayout.fFlags & Layout::kPushConstant_Flag) != 0); in memoryLayoutForVariable() 3559 if (intfModifiers.fLayout.fBuiltin == -1) { in writeInterfaceBlock() [all …]
|
D | SkSLGLSLCodeGenerator.cpp | 880 switch (ref.variable()->modifiers().fLayout.fBuiltin) { in writeVariableReference() 934 return f.base()->type().fields()[f.fieldIndex()].fModifiers.fLayout.fBuiltin == in is_sk_position() 944 int builtin = baseType.fields()[f.fieldIndex()].fModifiers.fLayout.fBuiltin; in writeFieldAccess() 1126 if (f.isMain() && param->modifiers().fLayout.fBuiltin != -1) { in writeFunctionDeclaration() 1194 std::string layout = modifiers.fLayout.description(); in writeModifiers() 1650 int builtin = decl.var()->modifiers().fLayout.fBuiltin; in writeProgramElement()
|
D | SkSLPipelineStageCodeGenerator.cpp | 279 if (modifiers.fLayout.fBuiltin == SK_MAIN_COORDS_BUILTIN) { in writeVariableReference() 282 } else if (modifiers.fLayout.fBuiltin == SK_INPUT_COLOR_BUILTIN) { in writeVariableReference() 285 } else if (modifiers.fLayout.fBuiltin == SK_DEST_COLOR_BUILTIN) { in writeVariableReference()
|
D | SkSLSPIRVCodeGenerator.h | 499 Layout fLayout; member
|
D | SkSLRasterPipelineCodeGenerator.cpp | 1004 if (int builtin = var->modifiers().fLayout.fBuiltin; builtin >= 0) { in writeGlobals() 2918 switch (param->modifiers().fLayout.fBuiltin) { in writeProgram()
|
D | SkSLVMCodeGenerator.cpp | 503 if (int builtin = var->modifiers().fLayout.fBuiltin; builtin >= 0) { in setupGlobals() 2090 switch (param->modifiers().fLayout.fBuiltin) { in ProgramToSkVM()
|
/external/skia/include/sksl/ |
D | DSLModifiers.h | 51 return DSLLayout(fModifiers.fLayout); in layout()
|
/external/skia/src/sksl/transform/ |
D | SkSLFindAndDeclareBuiltinVariables.cpp | 150 switch (var->modifiers().fLayout.fBuiltin) { in FindAndDeclareBuiltinVariables()
|
/external/skia/src/sksl/ |
D | SkSLAnalysis.cpp | 103 maybeCoords->as<VariableReference>().variable()->modifiers().fLayout.fBuiltin == in visitExpression() 331 if (counts.fRead > 0 && variable->modifiers().fLayout.fBuiltin == builtin) { in ReferencesBuiltin()
|
/external/skia/src/core/ |
D | SkRuntimeEffect.cpp | 136 if (var.modifiers().fLayout.fFlags & SkSL::Layout::Flag::kColor_Flag) { in VarAsUniform() 483 return p->modifiers().fLayout.fBuiltin == SK_MAIN_COORDS_BUILTIN; in MakeInternal()
|