Home
last modified time | relevance | path

Searched refs:VertexFormat (Results 1 – 25 of 25) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d11/
Dformatutils11.cpp265 constexpr VertexFormat::VertexFormat() in VertexFormat() function in rx::d3d11::VertexFormat
269 constexpr VertexFormat::VertexFormat(VertexConversionType conversionTypeIn, in VertexFormat() function in rx::d3d11::VertexFormat
275 const VertexFormat *GetVertexFormatInfo_FL_9_3(angle::FormatID vertexFormatID) in GetVertexFormatInfo_FL_9_3()
286 static constexpr VertexFormat info(VERTEX_CONVERT_BOTH, DXGI_FORMAT_R16G16_SINT, in GetVertexFormatInfo_FL_9_3()
292 static constexpr VertexFormat info(VERTEX_CONVERT_BOTH, DXGI_FORMAT_R16G16_SINT, in GetVertexFormatInfo_FL_9_3()
298 static constexpr VertexFormat info(VERTEX_CONVERT_BOTH, DXGI_FORMAT_R16G16B16A16_SINT, in GetVertexFormatInfo_FL_9_3()
304 static constexpr VertexFormat info(VERTEX_CONVERT_BOTH, DXGI_FORMAT_R16G16B16A16_SINT, in GetVertexFormatInfo_FL_9_3()
312 static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R16G16_SNORM, in GetVertexFormatInfo_FL_9_3()
318 static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R16G16_SNORM, in GetVertexFormatInfo_FL_9_3()
324 static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R16G16B16A16_SNORM, in GetVertexFormatInfo_FL_9_3()
[all …]
Dformatutils11.h52 struct VertexFormat : private angle::NonCopyable struct
54 constexpr VertexFormat();
55 constexpr VertexFormat(VertexConversionType conversionType,
64 const VertexFormat &GetVertexFormatInfo(angle::FormatID vertexFormatID, argument
DVertexBuffer11.cpp126 const d3d11::VertexFormat &vertexFormatInfo = in storeVertexAttributes()
DRenderer11.cpp4174 const d3d11::VertexFormat &vertexFormatInfo = in getVertexSpaceRequired()
/external/skia/src/gpu/graphite/dawn/
DDawnGraphicsPipeline.cpp29 inline wgpu::VertexFormat attribute_type_to_dawn(VertexAttribType type) { in attribute_type_to_dawn()
32 return wgpu::VertexFormat::Float32; in attribute_type_to_dawn()
34 return wgpu::VertexFormat::Float32x2; in attribute_type_to_dawn()
36 return wgpu::VertexFormat::Float32x3; in attribute_type_to_dawn()
38 return wgpu::VertexFormat::Float32x4; in attribute_type_to_dawn()
40 return wgpu::VertexFormat::Undefined; in attribute_type_to_dawn()
42 return wgpu::VertexFormat::Float16x2; in attribute_type_to_dawn()
44 return wgpu::VertexFormat::Float16x4; in attribute_type_to_dawn()
46 return wgpu::VertexFormat::Sint32x2; in attribute_type_to_dawn()
48 return wgpu::VertexFormat::Sint32x3; in attribute_type_to_dawn()
[all …]
/external/angle/src/libANGLE/
Dformatutils.cpp2389 const VertexFormat &GetVertexFormatFromID(angle::FormatID vertexFormatID) in GetVertexFormatFromID()
2395 static const VertexFormat format(GL_BYTE, GL_FALSE, 1, false); in GetVertexFormatFromID()
2400 static const VertexFormat format(GL_BYTE, GL_TRUE, 1, false); in GetVertexFormatFromID()
2405 static const VertexFormat format(GL_BYTE, GL_FALSE, 2, false); in GetVertexFormatFromID()
2410 static const VertexFormat format(GL_BYTE, GL_TRUE, 2, false); in GetVertexFormatFromID()
2415 static const VertexFormat format(GL_BYTE, GL_FALSE, 3, false); in GetVertexFormatFromID()
2420 static const VertexFormat format(GL_BYTE, GL_TRUE, 3, false); in GetVertexFormatFromID()
2425 static const VertexFormat format(GL_BYTE, GL_FALSE, 4, false); in GetVertexFormatFromID()
2430 static const VertexFormat format(GL_BYTE, GL_TRUE, 4, false); in GetVertexFormatFromID()
2435 static const VertexFormat format(GL_UNSIGNED_BYTE, GL_FALSE, 1, false); in GetVertexFormatFromID()
[all …]
Dformatutils.h354 struct VertexFormat : private angle::NonCopyable struct
356 VertexFormat(GLenum typeIn, GLboolean normalizedIn, GLuint componentsIn, bool pureIntegerIn);
371 const VertexFormat &GetVertexFormatFromID(angle::FormatID vertexFormatID); argument
/external/angle/src/libANGLE/renderer/metal/
DVertexArrayMtl.h106 const mtl::VertexFormat &vertexFormat);
112 const mtl::VertexFormat &convertedFormat,
120 const mtl::VertexFormat &convertedFormat,
144 gl::AttribArray<const mtl::VertexFormat *> mCurrentArrayBufferFormats;
146 const mtl::VertexFormat &mDefaultFloatVertexFormat;
147 const mtl::VertexFormat &mDefaultIntVertexFormat;
148 const mtl::VertexFormat &mDefaultUIntVertexFormat;
Dmtl_format_utils.h109 struct VertexFormat : public FormatBase struct
111 VertexFormat() = default;
145 const VertexFormat &getVertexFormat(angle::FormatID angleFormatId, bool tightlyPacked) const; argument
201 std::array<VertexFormat, angle::kNumANGLEFormats> mVertexFormatTables[2];
DVertexArrayMtl.mm53 const mtl::VertexFormat &GetVertexConversionFormat(ContextMtl *contextMtl,
58 const mtl::VertexFormat &packedFormat = contextMtl->getVertexFormat(originalFormat, true);
229 for (const mtl::VertexFormat *&format : mCurrentArrayBufferFormats)
579 const mtl::VertexFormat &format = contextMtl->getVertexFormat(attrib.format->id, false);
599 const mtl::VertexFormat &streamFormat =
671 const mtl::VertexFormat &format = contextMtl->getVertexFormat(attrib.format->id, false);
974 const mtl::VertexFormat &srcVertexFormat)
994 const mtl::VertexFormat &convertedFormat =
1077 const mtl::VertexFormat &convertedFormat,
1101 const mtl::VertexFormat &convertedFormat,
DDisplayMtl.h171 const mtl::VertexFormat &getVertexFormat(angle::FormatID angleFormatId, in getVertexFormat()
Dmtl_format_utils.mm231 const VertexFormat &FormatTable::getVertexFormat(angle::FormatID angleFormatId,
DContextMtl.h332 const mtl::VertexFormat &getVertexFormat(angle::FormatID angleFormatId,
DContextMtl.mm1744 const mtl::VertexFormat &ContextMtl::getVertexFormat(angle::FormatID angleFormatId,
Dmtl_format_table_autogen.mm2554 void VertexFormat::init(angle::FormatID angleFormatId, bool tightlyPacked)
/external/angle/src/libANGLE/renderer/d3d/d3d9/
Dformatutils9.h32 struct VertexFormat struct
34 VertexFormat();
42 const VertexFormat &GetVertexFormatInfo(DWORD supportedDeclTypes, angle::FormatID vertexFormatID); argument
Dformatutils9.cpp232 VertexFormat preferredConversion;
233 VertexFormat fallbackConversion;
571 VertexFormat::VertexFormat() in VertexFormat() function in rx::d3d9::VertexFormat
580 VertexFormat CreateVertexFormatInfo(bool identity, in CreateVertexFormatInfo()
585 VertexFormat formatInfo; in CreateVertexFormatInfo()
655 const VertexFormat &GetVertexFormatInfo(DWORD supportedDeclTypes, angle::FormatID vertexFormatID) in GetVertexFormatInfo()
658 static VertexFormat formatConverters[NUM_GL_VERTEX_ATTRIB_TYPES][2][4]; in GetVertexFormatInfo()
688 const gl::VertexFormat &vertexFormat = gl::GetVertexFormatFromID(vertexFormatID); in GetVertexFormatInfo()
DVertexBuffer9.cpp95 const d3d9::VertexFormat &d3dVertexInfo = in storeVertexAttributes()
DVertexDeclarationCache.cpp175 const d3d9::VertexFormat &d3d9VertexInfo = in applyDeclaration()
DRenderer9.cpp3066 const d3d9::VertexFormat &d3d9VertexInfo = in getVertexSpaceRequired()
/external/skia/src/gpu/ganesh/dawn/
DGrDawnProgramBuilder.cpp150 static wgpu::VertexFormat to_dawn_vertex_format(GrVertexAttribType type) { in to_dawn_vertex_format()
154 return wgpu::VertexFormat::Float32; in to_dawn_vertex_format()
157 return wgpu::VertexFormat::Float32x2; in to_dawn_vertex_format()
159 return wgpu::VertexFormat::Float32x3; in to_dawn_vertex_format()
162 return wgpu::VertexFormat::Float32x4; in to_dawn_vertex_format()
164 return wgpu::VertexFormat::Uint16x2; in to_dawn_vertex_format()
166 return wgpu::VertexFormat::Sint32; in to_dawn_vertex_format()
168 return wgpu::VertexFormat::Unorm8x4; in to_dawn_vertex_format()
171 return wgpu::VertexFormat::Float32x4; in to_dawn_vertex_format()
/external/deqp-deps/amber/src/dawn/
Dengine_dawn.cc65 vertexAttribute.format = ::dawn::VertexFormat::Float; in ComboVertexInputDescriptor()
556 ::dawn::VertexFormat* dawn_format_ptr) { in GetDawnVertexFormat()
557 ::dawn::VertexFormat& dawn_format = *dawn_format_ptr; in GetDawnVertexFormat()
560 dawn_format = ::dawn::VertexFormat::Float; in GetDawnVertexFormat()
563 dawn_format = ::dawn::VertexFormat::Float2; in GetDawnVertexFormat()
566 dawn_format = ::dawn::VertexFormat::Float3; in GetDawnVertexFormat()
569 dawn_format = ::dawn::VertexFormat::Float4; in GetDawnVertexFormat()
572 dawn_format = ::dawn::VertexFormat::Char2Norm; in GetDawnVertexFormat()
575 dawn_format = ::dawn::VertexFormat::UChar4Norm; in GetDawnVertexFormat()
578 dawn_format = ::dawn::VertexFormat::Char4Norm; in GetDawnVertexFormat()
[all …]
/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp1479 const gl::VertexFormat &vertexFormat = gl::GetVertexFormatFromID(vertexFormatID); in GenerateAttributeConversionHLSL()
/external/skia/bazel/external/dawn/
DBUILD.bazel420 "src/dawn/native/VertexFormat.cpp",
421 "src/dawn/native/VertexFormat.h",
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp3250 const gl::VertexFormat &vertexFormat = gl::GetVertexFormatFromID(format); in patchVertexAttribComponentType()