Home
last modified time | relevance | path

Searched +refs:amber +refs:mode (Results 1 – 25 of 34) sorted by relevance

12

/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dsampler.cc17 namespace amber { namespace
21 VkSamplerAddressMode GetVkAddressMode(AddressMode mode) { in GetVkAddressMode() argument
22 switch (mode) { in GetVkAddressMode()
32 assert(mode == AddressMode::kMirrorClampToEdge); in GetVkAddressMode()
84 Result Sampler::CreateSampler(amber::Sampler* sampler) { in CreateSampler()
Dgraphics_pipeline.cc25 namespace amber { namespace
125 VkPolygonMode ToVkPolygonMode(PolygonMode mode) { in ToVkPolygonMode() argument
126 switch (mode) { in ToVkPolygonMode()
138 VkCullModeFlags ToVkCullMode(CullMode mode) { in ToVkCullMode() argument
139 switch (mode) { in ToVkCullMode()
391 const std::vector<amber::Pipeline::BufferInfo>& color_buffers, in GraphicsPipeline()
392 amber::Pipeline::BufferInfo depth_stencil_buffer, in GraphicsPipeline()
393 const std::vector<amber::Pipeline::BufferInfo>& resolve_targets, in GraphicsPipeline()
/third_party/vk-gl-cts/external/amber/src/src/
Dtype_parser.h24 namespace amber {
45 void AddPiece(FormatComponentType type, FormatMode mode, uint8_t bits);
46 void FlushPieces(type::Type* type, FormatMode mode);
50 : type(t), mode(m), num_bits(bits) {} in Pieces()
53 FormatMode mode; member
Dsampler.h29 namespace amber {
69 void SetAddressModeU(AddressMode mode) { address_mode_u_ = mode; } in SetAddressModeU() argument
72 void SetAddressModeV(AddressMode mode) { address_mode_v_ = mode; } in SetAddressModeV() argument
75 void SetAddressModeW(AddressMode mode) { address_mode_w_ = mode; } in SetAddressModeW() argument
Dformat.h27 namespace amber {
48 Segment(FormatComponentType name, FormatMode mode, uint32_t num_bits) in Segment() argument
49 : name_(name), mode_(mode), num_bits_(num_bits) {} in Segment()
79 static bool IsNormalized(FormatMode mode) { in IsNormalized() argument
80 return mode == FormatMode::kUNorm || mode == FormatMode::kSNorm || in IsNormalized()
81 mode == FormatMode::kSRGB; in IsNormalized()
139 if (!IsNormalized(member.mode)) { in IsNormalized()
Dtype.h26 namespace amber {
38 static bool IsSignedInt(FormatMode mode) { in IsSignedInt() argument
39 return mode == FormatMode::kSInt || mode == FormatMode::kSNorm || in IsSignedInt()
40 mode == FormatMode::kSScaled; in IsSignedInt()
43 static bool IsUnsignedInt(FormatMode mode) { in IsUnsignedInt() argument
44 return mode == FormatMode::kUInt || mode == FormatMode::kUNorm || in IsUnsignedInt()
45 mode == FormatMode::kUScaled || mode == FormatMode::kSRGB; in IsUnsignedInt()
48 static bool IsInt(FormatMode mode) { in IsInt() argument
49 return IsSignedInt(mode) || IsUnsignedInt(mode); in IsInt()
52 static bool IsFloat(FormatMode mode) { in IsFloat() argument
[all …]
Dpipeline_data.h22 namespace amber {
45 void SetPolygonMode(PolygonMode mode) { polygon_mode_ = mode; } in SetPolygonMode() argument
48 void SetCullMode(CullMode mode) { cull_mode_ = mode; } in SetCullMode() argument
Dbuffer.cc24 namespace amber { namespace
41 FormatMode mode = seg->GetFormatMode(); in CalculateDiff() local
43 if (type::Type::IsInt8(mode, num_bits)) in CalculateDiff()
45 if (type::Type::IsInt16(mode, num_bits)) in CalculateDiff()
47 if (type::Type::IsInt32(mode, num_bits)) in CalculateDiff()
49 if (type::Type::IsInt64(mode, num_bits)) in CalculateDiff()
51 if (type::Type::IsUint8(mode, num_bits)) in CalculateDiff()
53 if (type::Type::IsUint16(mode, num_bits)) in CalculateDiff()
55 if (type::Type::IsUint32(mode, num_bits)) in CalculateDiff()
57 if (type::Type::IsUint64(mode, num_bits)) in CalculateDiff()
[all …]
Dtype_parser.cc23 namespace amber { namespace
62 type = MakeUnique<type::Number>(pieces_[0].mode, pieces_[0].num_bits); in Parse()
69 type->AsList()->AddMember(piece.type, piece.mode, piece.num_bits); in Parse()
80 FormatMode mode, in AddPiece() argument
82 pieces_.insert(pieces_.begin(), Pieces{type, mode, bits}); in AddPiece()
449 FormatMode mode = FormatMode::kUNorm; in ParseGlslFormat() local
466 mode = type.is_signed ? FormatMode::kSInt : FormatMode::kUInt; in ParseGlslFormat()
468 mode = FormatMode::kSFloat; in ParseGlslFormat()
475 if (mode == FormatMode::kUNorm) in ParseGlslFormat()
507 if (mode == FormatMode::kSInt) in ParseGlslFormat()
[all …]
Dbuffer.h30 namespace amber {
255 FormatMode mode,
Dformat.cc23 namespace amber { namespace
26 std::string FormatModeToName(FormatMode mode) { in FormatModeToName() argument
27 switch (mode) { in FormatModeToName()
323 if (AddSegment(Segment{m.name, m.mode, m.num_bits})) in AddSegmentsForType()
379 std::string type = FormatModeToName(member.mode); in GenerateName()
Dverifier.cc26 namespace amber { namespace
229 FormatMode mode = seg.GetFormatMode(); in GetActualValuesFromTexel() local
230 if (type::Type::IsInt8(mode, num_bits)) { in GetActualValuesFromTexel()
234 } else if (type::Type::IsInt16(mode, num_bits)) { in GetActualValuesFromTexel()
238 } else if (type::Type::IsInt32(mode, num_bits)) { in GetActualValuesFromTexel()
242 } else if (type::Type::IsInt64(mode, num_bits)) { in GetActualValuesFromTexel()
246 } else if (type::Type::IsUint8(mode, num_bits)) { in GetActualValuesFromTexel()
248 } else if (type::Type::IsUint16(mode, num_bits)) { in GetActualValuesFromTexel()
252 } else if (type::Type::IsUint32(mode, num_bits)) { in GetActualValuesFromTexel()
256 } else if (type::Type::IsUint64(mode, num_bits)) { in GetActualValuesFromTexel()
[all …]
Dtype_parser_test.cc20 namespace amber { namespace
32 FormatMode mode; in TEST_F() member
1195 EXPECT_EQ(data.components[i].mode, members[i].mode) << data.name; in TEST_F()
1204 EXPECT_EQ(data.components[i].mode, segs[i].GetFormatMode()); in TEST_F()
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
Ddatum_type_parser.cc20 namespace amber { namespace
52 FormatMode mode = FormatMode::kSFloat; in Parse() local
57 mode = FormatMode::kSInt; in Parse()
59 mode = FormatMode::kUInt; in Parse()
91 if (mode == FormatMode::kSFloat) in Parse()
93 else if (mode == FormatMode::kSInt) in Parse()
Ddatum_type_parser_test.cc20 namespace amber { namespace
24 bool AllCompsAreType(Format* fmt, FormatMode mode, uint8_t num_bits) { in AllCompsAreType() argument
30 if (seg.GetFormatMode() != mode) in AllCompsAreType()
Dcommand_parser.cc30 namespace amber { namespace
1125 PolygonMode mode = PolygonMode::kFill; in ProcessPolygonMode() local
1128 mode = PolygonMode::kFill; in ProcessPolygonMode()
1130 mode = PolygonMode::kLine; in ProcessPolygonMode()
1132 mode = PolygonMode::kPoint; in ProcessPolygonMode()
1142 pipeline_data_.SetPolygonMode(mode); in ProcessPolygonMode()
1209 CullMode mode = CullMode::kNone; in ProcessCullMode() local
1216 if (mode == CullMode::kNone) in ProcessCullMode()
1217 mode = CullMode::kFront; in ProcessCullMode()
1218 else if (mode == CullMode::kBack) in ProcessCullMode()
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/fuchsia/
Dfuchsia_device_test.dart416 @required BuildMode mode,
438 DebuggingOptions.disabled(BuildInfo(mode, null));
444 testUsingContext('start prebuilt in release mode', () async {
446 await setupAndStartApp(prebuilt: true, mode: BuildMode.release);
456 testUsingContext('start and stop prebuilt in release mode', () async {
480 testUsingContext('start prebuilt in debug mode', () async {
482 await setupAndStartApp(prebuilt: true, mode: BuildMode.debug);
492 testUsingContext('start buildable in release mode', () async {
494 await setupAndStartApp(prebuilt: false, mode: BuildMode.release);
504 testUsingContext('start buildable in debug mode', () async {
[all …]
/third_party/vk-gl-cts/external/amber/src/docs/
Damber_script.md8 All amber scripts must start with `#!amber` as the first line. Comments are
90 Each amber script contains a virtual file system that can store files of textual
91 data. This lets you bundle multiple source files into a single, hermetic amber
389 Note: the addressing mode is used for all coordinates currently. Arrayed images
451 # Set the polygon mode used for all drawing with the pipeline.
452 # |mode| is fill, line, or point and it defaults to fill.
453 POLYGON_MODE {mode}
946 #!amber
947 # Simple amber compute shader.
984 #!amber
[all …]
/third_party/flutter/flutter/packages/flutter_tools/lib/src/fuchsia/
Dfuchsia_device.dart263 // Ask amber to pre-fetch some things we'll need before setting up our own
264 // package server. This is to avoid relying on amber correctly using
267 printError('Failed to get amber to prefetch tiles');
271 printError('Failed to get amber to prefetch tiles_ctl');
284 debuggingOptions.buildInfo.mode);
292 printError('Failed to teach amber about the package server');
/third_party/mesa3d/docs/relnotes/
D21.3.8.rst48 - meson: Add "amber" option for automatic LTS build configuration
75 - zink: workaround depth texture mode alpha.
159 - radeonsi: change rounding mode to round to even
/third_party/freetype/docs/reference/assets/stylesheets/
Dpalette.f1a3b89f.min.css.map1amber\": $clr-amber-a700,\n \"orange\": $clr-orange-a400,\n \"deep-orange\": $clr-dee…
Dmain.ca7ac06f.min.css.map1mode so table header wraps when printing\n @media print {\n display: table;\n }\n\n …
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser.cc32 namespace amber { namespace
276 Parser::Parser() : amber::Parser(nullptr) {} in Parser()
277 Parser::Parser(Delegate* delegate) : amber::Parser(delegate) {} in Parser()
1599 auto mode = token->AsString(); in ParsePipelinePolygonMode() local
1601 if (mode == "fill") in ParsePipelinePolygonMode()
1603 else if (mode == "line") in ParsePipelinePolygonMode()
1605 else if (mode == "point") in ParsePipelinePolygonMode()
1608 return Result("invalid polygon mode: " + mode); in ParsePipelinePolygonMode()
2461 FormatMode mode = n->GetFormatMode(); in ParseBufferInitializerSeries() local
2463 if (type::Type::IsFloat32(mode, num_bits) || in ParseBufferInitializerSeries()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dflutter_logo.dart68 /// [material.Colors.amber], [material.Colors.red], or
447 ..colorFilter = ColorFilter.mode(
/third_party/python/Doc/library/
Dconfigparser.rst11 .. sectionauthor:: Christopher G. Petrilli <petrilli@amber.org>
267 than the first line of the value. Depending on the parser's mode, blank lines
818 # attempting to write to a file or when you get it in non-raw mode. Setting
1051 yielding Unicode strings (for example files opened in text mode).
1157 object`, which must be opened in text mode (accepting strings). This
1282 to a file or get it in non-raw mode. **Use the mapping protocol API**

12