Searched refs:spirv (Results 1 - 25 of 137) sorted by relevance

123456

/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dspirv_info_c.py31 def collect_data(spirv, kind):
32 for x in spirv["operand_kinds"]:
48 def collect_opcodes(spirv):
51 for x in spirv["instructions"]:
H A Dvtn_gather_types_c.py31 def find_result_types(spirv):
33 for inst in spirv['instructions']:
/xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
H A Dspirv_info_c.py31 def collect_data(spirv, kind):
32 for x in spirv["operand_kinds"]:
48 def collect_opcodes(spirv):
50 for x in spirv["instructions"]:
H A Dvtn_gather_types_c.py31 def find_result_types(spirv):
32 for inst in spirv['instructions']:
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/
H A Dcompiler.hpp30 #include "spirv/invocation.hpp"
44 case program::il_type::spirv:
45 return spirv::compile_program(prog.source(), dev, log);
69 auto spirv_linked_module = spirv::link_program(bs, dev, opts, log);
H A Dprogram.hpp41 enum class il_type { none, source, spirv }; enumerator in enum:clover::program::il_type
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A DMakefile.sources334 spirv/spirv_info.c \
335 spirv/vtn_gather_types.c
338 spirv/GLSL.ext.AMD.h \
339 spirv/GLSL.std.450.h \
340 spirv/gl_spirv.c \
341 spirv/nir_spirv.h \
342 spirv/OpenCL.std.h \
343 spirv/spirv.h \
344 spirv/spirv_inf
[all...]
H A DAndroid.nir.gen.mk99 $(intermediates)/spirv/spirv_info.c: $(LOCAL_PATH)/spirv/spirv_info_c.py $(LOCAL_PATH)/spirv/spirv.core.grammar.json
103 $(intermediates)/spirv/vtn_gather_types.c:: $(LOCAL_PATH)/spirv/vtn_gather_types_c.py $(LOCAL_PATH)/spirv/spirv.core.grammar.json
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/container/
H A Dbuild-libclc.sh19 cmake -S /llvm-project/libclc -B . -G Ninja -DLLVM_CONFIG=$LLVM_CONFIG -DLIBCLC_TARGETS_TO_BUILD="spirv-mesa3d-;spirv64-mesa3d-" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_SPIRV=/usr/bin/llvm-spirv
27 ln -s /usr/share/clc/spirv-mesa3d-.spv /usr/lib/clc/
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/llvm/
H A Dutil.hpp61 spirv = 1 << 3, enumerator in enum:clover::llvm::debug::flag
71 { "spirv", spirv, "Dump the generated SPIR-V for all kernels." },
H A Dinvocation.cpp58 #include "spirv/invocation.hpp"
374 const auto supported_versions = clover::spirv::supported_versions();
375 const auto max_supported = clover::spirv::to_spirv_version_encoding(supported_versions.back().version);
381 for (auto &ext : clover::spirv::supported_extensions()) {
537 if (has_flag(debug::spirv))
538 debug::log(".spvasm", spirv::print_module(binary, dev.device_version()));
540 return spirv::compile_program(binary, dev, r_log);
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D12.0.6.rst71 - spirv/nir: Fix some texture opcode asserts
72 - spirv/nir: Add support for shadow samplers that return vec4
73 - spirv/nir: Properly handle gather components
80 - spirv/nir: Don't increment coord_components for array lod queries
82 - spirv/nir: Move opcode selection higher up in handle_texture
83 - spirv/nir: Refactor type handling in handle_texture
84 - nir/spirv: Refactor coordinate handling in handle_texture
85 - spirv/nir: Handle texture projectors
86 - spirv/nir: Add support for ImageQuerySamples
94 - spirv
[all...]
H A D20.1.4.rst34 - Amber test leads to NIR validation failed after nir_opt_if (on spirv-fuzz shader)
37 - SPIR-V parsing fails in src/compiler/spirv/spirv_to_nir.c
38 - SPIR-V parsing fails in src/compiler/spirv/vtn_cfg.c
71 - spirv: Skip phis in unreachable blocks in the second phi pass
72 - spirv: Allow block-decorated struct types for constants
H A D20.0.4.rst42 - Revert "spirv: Implement OpCopyObject and OpCopyLogical as blind
H A D12.0.4.rst156 - nir/spirv: Swap the argument order for AtomicCompareExchange
157 - nir/spirv: Use the correct sources for CompareExchange on images
158 - nir/spirv: Break variable decoration handling into a helper
159 - nir/spirv: Refactor variable deocration handling
160 - nir/spirv/cfg: Handle switches whose break block is a loop continue
161 - nir/spirv/cfg: Detect switch_break after loop_break/continue
163 - nir/spirv/cfg: Use a nop intrinsic for tagging the ends of blocks
H A D17.1.5.rst90 - spirv: fix OpBitcast when the src and dst bitsize are different (v3)
105 - spirv: Fix reaching unreachable for compare exchange on images
109 - nir/spirv: Use the type from the deref for atomics
H A D20.0.6.rst55 - spirv: Expand workaround for OpControlBarrier on old GLSLang
85 - spirv: Allow constants and NULLs in SpvOpConvertUToPtr
90 - spirv: Fix passing combined image/samplers through function calls
H A D20.1.6.rst34 - [spirv-fuzz] SPIR-V parsing failed "src->type->type == dest->type->type"
68 - spirv: Only require bare types to match when copying variables
93 - spirv: Don't emit RMW for vector indexing in shared or global
H A D20.1.9.rst36 - \[spirv-fuzz\] Shader generates a wrong image
99 - spirv: extract switch parsing into its own function
132 - spirv: fix emitting switch cases that directly jump to the merge block
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/spirv/
H A Dinvocation.cpp31 #include <spirv-tools/libspirv.hpp>
32 #include <spirv-tools/linker.hpp>
44 #include "compiler/spirv/spirv.h"
525 const auto supported_spirv_versions = clover::spirv::supported_versions();
528 clover::spirv::to_opencl_version_encoding(spirv_version)](const cl_name_version &supported){
538 clover::spirv::version_to_string(spirv_version) +
541 r_log += " " + clover::spirv::version_to_string(version.version);
622 const auto spirv_extensions = spirv::supported_extensions();
755 clover::spirv
[all...]
H A Dinvocation.hpp33 namespace spirv { namespace in namespace:clover
/xsrc/external/mit/MesaLib/dist/src/microsoft/clc/
H A Dcompute_test.cpp38 #include <spirv-tools/libspirv.hpp>
809 clc_binary spirv{}; local in function:ComputeTest::compile
810 if (!clc_compile_c_to_spirv(&args, &logger, &spirv))
814 shader.obj = std::shared_ptr<clc_binary>(new clc_binary(spirv), [](clc_binary *spirv)
816 clc_free_spirv(spirv);
817 delete spirv;
840 clc_binary spirv{}; local in function:ComputeTest::link
841 if (!clc_link_spirv(&link_args, &logger, &spirv))
845 shader.obj = std::shared_ptr<clc_binary>(new clc_binary(spirv), [](clc_binar
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dgl_nir_link_uniforms.c185 assert(!prog->data->spirv ||
186 (prog->data->spirv && !prog->UniformRemapTable));
235 if (prog->data->spirv)
945 struct hash_entry *entry = prog->data->spirv ? NULL :
950 prog->data->spirv)
985 if (!prog->data->spirv) {
1215 if (glsl_type_is_struct(type) && !prog->data->spirv)
1230 if (prog->data->spirv) {
1286 if (glsl_type_is_struct(type) && !prog->data->spirv)
1294 * allocate storage up front for spirv lik
[all...]
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/container/debian/
H A Dx86_test-gl.sh41 llvm-spirv \
69 spirv-tools \
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/
H A Dglsl_scraper.py89 out_file = tempfile.NamedTemporaryFile(suffix='.spirv')
110 spirv = out_file.read()
112 return (spirv, out)
139 (spirv, assembly) = self.__run_glslang()
140 self.dwords = list(dwords(io.BytesIO(spirv)))

Completed in 15 milliseconds

123456