Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DSpirvUtils.cpp139 spirv_cross::SPIRType::BaseType spirvBaseType) { in SpirvBaseTypeToTextureComponentType()
141 case spirv_cross::SPIRType::Float: in SpirvBaseTypeToTextureComponentType()
143 case spirv_cross::SPIRType::Int: in SpirvBaseTypeToTextureComponentType()
145 case spirv_cross::SPIRType::UInt: in SpirvBaseTypeToTextureComponentType()
152 SampleTypeBit SpirvBaseTypeToSampleTypeBit(spirv_cross::SPIRType::BaseType spirvBaseType) { in SpirvBaseTypeToSampleTypeBit()
154 case spirv_cross::SPIRType::Float: in SpirvBaseTypeToSampleTypeBit()
156 case spirv_cross::SPIRType::Int: in SpirvBaseTypeToSampleTypeBit()
158 case spirv_cross::SPIRType::UInt: in SpirvBaseTypeToSampleTypeBit()
166 spirv_cross::SPIRType::BaseType spirvBaseType) { in SpirvBaseTypeToVertexFormatBaseType()
168 case spirv_cross::SPIRType::Float: in SpirvBaseTypeToVertexFormatBaseType()
[all …]
DShaderModuleGL.cpp71 const spirv_cross::Compiler& compiler, in ExtractSpirvInfo()
79 const spirv_cross::SmallVector<spirv_cross::Resource>& resources, in ExtractSpirvInfo()
80 const spirv_cross::Compiler& compiler, BindingInfoType bindingType, in ExtractSpirvInfo()
110 spirv_cross::SPIRType::ImageType imageType = in ExtractSpirvInfo()
112 spirv_cross::SPIRType::BaseType textureComponentType = in ExtractSpirvInfo()
135 spirv_cross::SPIRType type = compiler.get_type(info->base_type_id); in ExtractSpirvInfo()
144 spirv_cross::Bitset flags = in ExtractSpirvInfo()
157 spirv_cross::Bitset flags = compiler.get_decoration_bitset(resource.id); in ExtractSpirvInfo()
162 spirv_cross::SPIRType::ImageType imageType = in ExtractSpirvInfo()
232 spirv_cross::Compiler compiler(spirv); in ReflectShaderUsingSPIRVCross()
[all …]
DSpirvUtils.h42 spirv_cross::SPIRType::BaseType spirvBaseType);
43 SampleTypeBit SpirvBaseTypeToSampleTypeBit(spirv_cross::SPIRType::BaseType spirvBaseType);
47 spirv_cross::SPIRType::BaseType spirvBaseType);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_glslang_utils.mm73 void BindBuffers(spirv_cross::CompilerMSL *compiler,
74 const spirv_cross::SmallVector<spirv_cross::Resource> &resources,
89 spirv_cross::MSLResourceBinding resBinding;
94 for (const spirv_cross::Resource &resource : resources)
96 spirv_cross::MSLResourceBinding resBinding;
147 const spirv_cross::SPIRType &type = compilerMsl.get_type_from_variable(resource.id);
198 spirv_cross::MSLResourceBinding &resBinding = uboVar.resBinding;
213 void GetAssignedSamplerBindings(const spirv_cross::CompilerMSL &compilerMsl,
217 for (const spirv_cross::Resource &resource : compilerMsl.get_shader_resources().sampled_images)
266 class SpirvToMslCompiler : public spirv_cross::CompilerMSL
[all …]
/third_party/skia/third_party/spirv-cross/
DBUILD.gn3 spirv_cross = "${skia_third_party_dir}/externals/spirv-cross"
5 third_party("spirv_cross") {
20 "spirv_cross.cpp",
21 "spirv_cross.hpp",
36 "${spirv_cross}")
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DShaderModuleMTL.mm46 spirv_cross::CompilerMSL compiler(mSpirv);
53 spirv_cross::CompilerMSL compiler(mSpirv);
57 spirv_cross::CompilerGLSL::Options options_glsl;
59 compiler.spirv_cross::CompilerGLSL::set_common_options(options_glsl);
66 spirv_cross::CompilerMSL::Options options_msl;
76 spirv_cross::MSLResourceBinding binding;
78 binding.desc_set = spirv_cross::kPushConstDescSet;
79 binding.binding = spirv_cross::kPushConstBinding;
92 spirv_cross::MSLResourceBinding mslBinding;
DPipelineLayoutMTL.h24 namespace spirv_cross {
DShaderModuleMTL.h22 namespace spirv_cross {
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DShaderModuleD3D12.cpp30 spirv_cross::CompilerHLSL compiler(mSpirv); in ShaderModule()
35 spirv_cross::CompilerHLSL compiler(mSpirv); in GetHLSLSource()
39 spirv_cross::CompilerGLSL::Options options_glsl; in GetHLSLSource()
43 spirv_cross::CompilerHLSL::Options options_hlsl; in GetHLSLSource()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVtoHLSL.cpp23 spirv_cross::CompilerHLSL hlslCompiler((const uint32_t*)spirv.c_str(), in SPIRVtoHLSL()
26 spirv_cross::CompilerGLSL::Options optionsGLSL; in SPIRVtoHLSL()
31 spirv_cross::CompilerHLSL::Options optionsHLSL; in SPIRVtoHLSL()
/third_party/skia/third_party/externals/dawn/third_party/gn/spirv_cross/
DBUILD.gn43 source_set("spirv_cross") {
53 "${dawn_spirv_cross_dir}/spirv_cross.cpp",
54 "${dawn_spirv_cross_dir}/spirv_cross.hpp",
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp95 void ShaderModuleBase::ExtractSpirvInfo(const spirv_cross::Compiler& compiler) { in ExtractSpirvInfo()
122 auto ExtractResourcesBinding = [this](const spirv_cross::SmallVector<spirv_cross::Resource>& in ExtractSpirvInfo()
124 const spirv_cross::Compiler& compiler, in ExtractSpirvInfo()
DShaderModule.h30 namespace spirv_cross {
48 void ExtractSpirvInfo(const spirv_cross::Compiler& compiler);
/third_party/flutter/skia/third_party/externals/dawn/third_party/
DBUILD.gn46 static_library("spirv_cross") {
56 "${spirv_cross_dir}/spirv_cross.cpp",
57 "${spirv_cross_dir}/spirv_cross.hpp",
100 "${spirv_cross_dir}/spirv_cross.cpp",
101 "${spirv_cross_dir}/spirv_cross.hpp",
/third_party/skia/third_party/externals/spirv-cross/gn/
DBUILD.gn32 "../spirv_cross.cpp",
33 "../spirv_cross.hpp",
/third_party/skia/third_party/externals/spirv-cross/
Dtest_shaders.py35 def __init__(self, spirv_cross, glslang, spirv_as, spirv_val, spirv_opt): argument
36 self.spirv_cross = spirv_cross
206 spirv_cross_path = paths.spirv_cross
448 spirv_cross_path = paths.spirv_cross
491 spirv_cross_path = paths.spirv_cross
562 spirv_cross_path = paths.spirv_cross
795 paths = Paths(args.spirv_cross, args.glslang, args.spirv_as, args.spirv_val, args.spirv_opt)
Dspirv_cross_error_handling.hpp37 #define SPIRV_CROSS_NAMESPACE spirv_cross
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp52 spirv_cross::CompilerGLSL compiler(descriptor->code, descriptor->codeSize); in ShaderModule()
55 spirv_cross::CompilerGLSL::Options options; in ShaderModule()
/third_party/skia/third_party/externals/spirv-cross/pkg-config/
Dspirv-cross-c-shared.pc.in8 includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/spirv_cross
/third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/
Dbarrier.hpp24 namespace spirv_cross namespace
Dimage.hpp31 namespace spirv_cross namespace
Dthread_group.hpp25 namespace spirv_cross namespace
Dsampler.hpp23 namespace spirv_cross namespace
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DShaderModuleVk.cpp28 spirv_cross::Compiler compiler(descriptor->code, descriptor->codeSize); in ShaderModule()
/third_party/flutter/skia/third_party/dawn/third_party/
DBUILD.gn2 spirv_cross = "${dawn_thirdparty_root}/spirv-cross"
9 static_library("spirv_cross") {
32 "spirv_cross.cpp",
33 "spirv_cross.hpp",
46 "${spirv_cross}")

12