Home
last modified time | relevance | path

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

12345678910>>...22

/external/deqp-deps/glslang/SPIRV/
DSPVRemapper.cpp47 namespace spv { namespace
64 const spv::Op opCode = asOpCode(word); in asOpCodeHash()
69 case spv::OpExtInst: in asOpCodeHash()
78 spirvbin_t::range_t spirvbin_t::literalRange(spv::Op opCode) const in literalRange()
83 case spv::OpTypeFloat: // fall through... in literalRange()
84 case spv::OpTypePointer: return range_t(2, 3); in literalRange()
85 case spv::OpTypeInt: return range_t(2, 4); in literalRange()
88 case spv::OpTypeSampler: return range_t(3, 8); in literalRange()
89 case spv::OpTypeVector: // fall through in literalRange()
90 case spv::OpTypeMatrix: // ... in literalRange()
[all …]
DGlslangToSpv.cpp45 namespace spv { namespace
76 SpecConstantOpModeGuard(spv::Builder* builder) in SpecConstantOpModeGuard()
89 spv::Builder* builder_;
94 spv::Decoration precision;
95 spv::Decoration noContraction;
96 spv::Decoration nonUniform;
108 …TGlslangToSpvTraverser(unsigned int spvVersion, const glslang::TIntermediate*, spv::SpvBuildLogger…
129 spv::Decoration TranslateInterpolationDecoration(const glslang::TQualifier& qualifier);
130 spv::Decoration TranslateAuxiliaryStorageDecoration(const glslang::TQualifier& qualifier);
131 spv::Decoration TranslateNonUniformDecoration(const glslang::TQualifier& qualifier);
[all …]
DSPVRemapper.h44 namespace spv {
81 namespace spv {
109 namespace spv {
115 …spirvbin_t(int verbose = 0) : entryPoint(spv::NoResult), largestNewId(0), verbose(verbose), errorL… in entryPoint()
121 void remap(std::vector<std::uint32_t>& spv, std::uint32_t opts = DO_EVERYTHING);
137 typedef std::unordered_map<spv::Id, spv::Id> idmap_t;
138 typedef std::unordered_set<spv::Id> idset_t;
139 typedef std::unordered_map<spv::Id, int> blockmap_t;
144 typedef std::unordered_map<std::string, spv::Id> namemap_t;
149 typedef std::function<void(spv::Id&)> idfn_t;
[all …]
/external/swiftshader/src/Pipeline/
DSpirvShader.cpp38 case spv::OpExecutionMode:
42 case spv::OpDecorate:
46 static_cast<spv::Decoration>(insn.word(2)),
51 case spv::OpMemberDecorate:
59 static_cast<spv::Decoration>(insn.word(3)),
64 case spv::OpDecorationGroup:
70 case spv::OpGroupDecorate:
81 case spv::OpGroupMemberDecorate:
96 case spv::OpTypeVoid:
97 case spv::OpTypeBool:
[all …]
DSpirvShader.hpp42 spv::Op opcode() const in opcode()
44 return static_cast<spv::Op>(*iter & spv::OpCodeMask); in opcode()
49 return *iter >> spv::WordCountShift; in wordCount()
105 spv::StorageClass storageClass;
155 bool hasBuiltinInput(spv::BuiltIn b) const in hasBuiltinInput()
164 spv::BuiltIn BuiltIn;
186 void Apply(spv::Decoration decoration, uint32_t arg);
222 using BuiltInHash = std::hash<std::underlying_type<spv::BuiltIn>::type>;
223 std::unordered_map<spv::BuiltIn, BuiltinMapping, BuiltInHash> inputBuiltins;
224 std::unordered_map<spv::BuiltIn, BuiltinMapping, BuiltInHash> outputBuiltins;
/external/vulkan-validation-layers/layers/
Dshader_validation.cpp75 case spv::OpTypeVoid: in BuildDefIndex()
76 case spv::OpTypeBool: in BuildDefIndex()
77 case spv::OpTypeInt: in BuildDefIndex()
78 case spv::OpTypeFloat: in BuildDefIndex()
79 case spv::OpTypeVector: in BuildDefIndex()
80 case spv::OpTypeMatrix: in BuildDefIndex()
81 case spv::OpTypeImage: in BuildDefIndex()
82 case spv::OpTypeSampler: in BuildDefIndex()
83 case spv::OpTypeSampledImage: in BuildDefIndex()
84 case spv::OpTypeArray: in BuildDefIndex()
[all …]
/external/deqp-deps/glslang/gtests/
DRemap.FromFile.cpp88 … { "remap.basic.none.frag", "main", Source::GLSL, spv::spirvbin_t::NONE },
89 …{ "remap.basic.everything.frag", "main", Source::GLSL, spv::spirvbin_t::DO_EVERYTHING…
90 … { "remap.basic.dcefunc.frag", "main", Source::GLSL, spv::spirvbin_t::DCE_FUNCS },
91 … { "remap.basic.strip.frag", "main", Source::GLSL, spv::spirvbin_t::STRIP },
92 …{ "remap.specconst.comp", "main", Source::GLSL, spv::spirvbin_t::DO_EVERYTHING…
93 … { "remap.switch.none.frag", "main", Source::GLSL, spv::spirvbin_t::NONE },
94 …{ "remap.switch.everything.frag", "main", Source::GLSL, spv::spirvbin_t::DO_EVERYTHING…
95 … { "remap.literal64.none.spv", "main", Source::GLSL, spv::spirvbin_t::NONE },
96 …{ "remap.literal64.everything.spv", "main", Source::GLSL, spv::spirvbin_t::DO_EVERYTHING…
97 … { "remap.if.none.frag", "main", Source::GLSL, spv::spirvbin_t::NONE },
[all …]
/external/deqp-deps/glslang/StandAlone/
Dspirv-remap.cpp78 void read(std::vector<SpvWord>& spv, const std::string& inFilename, int verbosity) in read() argument
85 spv.clear(); in read()
93 spv.reserve(size_t(fp.tellg()) / sizeof(SpvWord)); in read()
101 spv.push_back(inWord); in read()
108 void write(std::vector<SpvWord>& spv, const std::string& outFile, int verbosity) in write() argument
123 for (auto it = spv.cbegin(); it != spv.cend(); ++it) { in write()
163 std::vector<SpvWord> spv; in execute() local
164 read(spv, filename, verbosity); in execute()
165 spv::spirvbin_t(verbosity).remap(spv, opts); in execute()
169 write(spv, outfile, verbosity); in execute()
[all …]
/external/deqp-deps/glslang/Test/
Druntests20 rm -f comp.spv frag.spv geom.spv tesc.spv tese.spv vert.spv
91 $EXE -i --hlsl-offsets -H spv.hlslOffsets.vert > $TARGETDIR/spv.hlslOffsets.vert.out
92 diff -b $BASEDIR/spv.hlslOffsets.vert.out $TARGETDIR/spv.hlslOffsets.vert.out || HASERROR=1
122 $EXE -V -C spv.noLocation.vert > $TARGETDIR/spv.noLocation.vert.out
123 diff -b $BASEDIR/spv.noLocation.vert.out $TARGETDIR/spv.noLocation.vert.out || HASERROR=1
124 $EXE -G -H --aml spv.noBuiltInLoc.vert > $TARGETDIR/spv.noBuiltInLoc.vert.out
125 diff -b $BASEDIR/spv.noBuiltInLoc.vert.out $TARGETDIR/spv.noBuiltInLoc.vert.out || HASERROR=1
126 $EXE -G spv.looseUniformNoLoc.vert > $TARGETDIR/spv.looseUniformNoLoc.vert.out
127 diff -b $BASEDIR/spv.looseUniformNoLoc.vert.out $TARGETDIR/spv.looseUniformNoLoc.vert.out || HASERR…
134 -G -H spv.debugInfo.frag --rsb frag 3 > $TARGETDIR/spv.debugInfo.frag.out
[all …]
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
Dmain.cpp40 spv::TLanguage Language;
74 Language = spv::ELangAll; in ProcessArguments()
84 Language = spv::ELangC; in ProcessArguments()
86 Language = spv::ELangCPP; in ProcessArguments()
88 Language = spv::ELangCPP11; in ProcessArguments()
90 Language = spv::ELangJSON; in ProcessArguments()
92 Language = spv::ELangLua; in ProcessArguments()
94 Language = spv::ELangPython; in ProcessArguments()
96 Language = spv::ELangCSharp; in ProcessArguments()
98 Language = spv::ELangD; in ProcessArguments()
[all …]
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/
Dmain.cpp40 spv::TLanguage Language;
73 Language = spv::ELangAll; in ProcessArguments()
83 Language = spv::ELangC; in ProcessArguments()
85 Language = spv::ELangCPP; in ProcessArguments()
87 Language = spv::ELangCPP11; in ProcessArguments()
89 Language = spv::ELangJSON; in ProcessArguments()
91 Language = spv::ELangLua; in ProcessArguments()
93 Language = spv::ELangPython; in ProcessArguments()
96 Language = spv::ELangCSharp; in ProcessArguments()
120 spv::jsonToSpirv(jsonPath); in main()
[all …]
/external/shaderc/spirv-headers/tools/buildHeaders/
Dmain.cpp40 spv::TLanguage Language;
72 Language = spv::ELangAll; in ProcessArguments()
82 Language = spv::ELangC; in ProcessArguments()
84 Language = spv::ELangCPP; in ProcessArguments()
86 Language = spv::ELangCPP11; in ProcessArguments()
88 Language = spv::ELangJSON; in ProcessArguments()
90 Language = spv::ELangLua; in ProcessArguments()
92 Language = spv::ELangPython; in ProcessArguments()
116 spv::jsonToSpirv(jsonPath); in main()
118 spv::PrintHeader(Language, std::cout); in main()
/external/skqp/src/compute/hs/vk/nvidia/sm_35/u32/
Dgen.sh21 rm *.spv
60 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
61 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
63 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
64 len=$(wc -c < ${f%%.*}.spv)
65 echo ${f%%.*}.spv $len
82 rm *.spv
/external/skia/src/compute/hs/vk/amd/gcn/u32/
Dgen.sh21 rm *.spv
59 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
60 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
62 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
63 len=$(wc -c < ${f%%.*}.spv)
64 echo ${f%%.*}.spv $len
81 rm *.spv
/external/skqp/src/compute/hs/vk/intel/gen8/u64/
Dgen.sh21 rm *.spv
59 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
60 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
62 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
63 len=$(wc -c < ${f%%.*}.spv)
64 echo ${f%%.*}.spv $len
81 rm *.spv
/external/skqp/src/compute/hs/vk/amd/gcn/u32/
Dgen.sh21 rm *.spv
59 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
60 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
62 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
63 len=$(wc -c < ${f%%.*}.spv)
64 echo ${f%%.*}.spv $len
81 rm *.spv
/external/skia/src/compute/hs/vk/nvidia/sm_35/u64/
Dgen.sh21 rm *.spv
60 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
61 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
63 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
64 len=$(wc -c < ${f%%.*}.spv)
65 echo ${f%%.*}.spv $len
82 rm *.spv
/external/skqp/src/compute/hs/vk/nvidia/sm_35/u64/
Dgen.sh21 rm *.spv
60 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
61 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
63 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
64 len=$(wc -c < ${f%%.*}.spv)
65 echo ${f%%.*}.spv $len
82 rm *.spv
/external/skia/src/compute/hs/vk/amd/gcn/u64/
Dgen.sh21 rm *.spv
59 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
60 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
62 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
63 len=$(wc -c < ${f%%.*}.spv)
64 echo ${f%%.*}.spv $len
81 rm *.spv
/external/skia/src/compute/hs/vk/intel/gen8/u64/
Dgen.sh21 rm *.spv
59 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
60 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
62 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
63 len=$(wc -c < ${f%%.*}.spv)
64 echo ${f%%.*}.spv $len
81 rm *.spv
/external/skia/src/compute/hs/vk/nvidia/sm_35/u32/
Dgen.sh21 rm *.spv
60 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
61 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
63 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
64 len=$(wc -c < ${f%%.*}.spv)
65 echo ${f%%.*}.spv $len
82 rm *.spv
/external/skqp/src/compute/hs/vk/amd/gcn/u64/
Dgen.sh21 rm *.spv
59 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
60 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
62 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
63 len=$(wc -c < ${f%%.*}.spv)
64 echo ${f%%.*}.spv $len
81 rm *.spv
/external/skia/src/compute/hs/vk/intel/gen8/u32/
Dgen.sh21 rm *.spv
59 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
60 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
62 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
63 len=$(wc -c < ${f%%.*}.spv)
64 echo ${f%%.*}.spv $len
81 rm *.spv
/external/skqp/src/compute/hs/vk/intel/gen8/u32/
Dgen.sh21 rm *.spv
59 glslangValidator --target-env vulkan1.1 -o ${f%%.*}.spv ${f%%.*}.pre.comp
60 spirv-opt -O ${f%%.*}.spv -o ${f%%.*}.spv
62 xxd -i < ${f%%.*}.spv > ${f%%.*}.spv.xxd
63 len=$(wc -c < ${f%%.*}.spv)
64 echo ${f%%.*}.spv $len
81 rm *.spv
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVIsValidEnum.h52 using namespace spv; variable
57 isValid(spv::SourceLanguage V) { in isValid()
71 isValid(spv::ExecutionModel V) { in isValid()
87 isValid(spv::AddressingModel V) { in isValid()
99 isValid(spv::MemoryModel V) { in isValid()
111 isValid(spv::ExecutionMode V) { in isValid()
155 isValid(spv::StorageClass V) { in isValid()
176 isValid(spv::Dim V) { in isValid()
192 isValid(spv::SamplerAddressingMode V) { in isValid()
206 isValid(spv::SamplerFilterMode V) { in isValid()
[all …]

12345678910>>...22