Home
last modified time | relevance | path

Searched full:glslang (Results 1 – 25 of 825) sorted by relevance

12345678910>>...33

/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp39 // Visit the nodes in the glslang intermediate tree representation to
55 // Glslang includes
56 #include "../glslang/MachineIndependent/localintermediate.h"
57 #include "../glslang/MachineIndependent/SymbolTable.h"
58 #include "../glslang/Include/Common.h"
61 #include "glslang/build_info.h"
122 // The main holder of information for translating glslang to SPIR-V.
126 class TGlslangToSpvTraverser : public glslang::TIntermTraverser {
128 …TGlslangToSpvTraverser(unsigned int spvVersion, const glslang::TIntermediate*, spv::SpvBuildLogger…
129 glslang::SpvOptions& options);
[all …]
/external/deqp-deps/glslang/
DBUILD.gn34 import("//build_overrides/glslang.gni")
55 out_file = "${target_gen_dir}/include/glslang/build_info.h"
124 "glslang/GenericCodeGen/CodeGen.cpp",
125 "glslang/GenericCodeGen/Link.cpp",
126 "glslang/Include/BaseTypes.h",
127 "glslang/Include/Common.h",
128 "glslang/Include/ConstantUnion.h",
129 "glslang/Include/InfoSink.h",
130 "glslang/Include/InitializeGlobals.h",
131 "glslang/Include/PoolAlloc.h",
[all …]
DAndroid.bp3 // - glslang
59 out: ["glslang/build_info.h"],
60 …name $(location CHANGES.md)) -i $(location build_info.h.tmpl) -o $(location glslang/build_info.h)",
88 "glslang/OSDependent",
91 "glslang/OSDependent/Unix/ossource.cpp",
114 "glslang/MachineIndependent",
115 "glslang/HLSL",
118 // "glslang/MachineIndependent/glslang.m4",
119 // "glslang/MachineIndependent/glslang.y",
120 "glslang/MachineIndependent/glslang_tab.cpp",
[all …]
DBUILD.bazel55 outs = ["glslang/build_info.h"],
56 …name $(location CHANGES.md)) -i $(location build_info.h.tmpl) -o $(location glslang/build_info.h)",
80 name = "glslang",
83 "glslang/GenericCodeGen/*.cpp",
84 "glslang/HLSL/*.cpp",
85 "glslang/MachineIndependent/*.cpp",
86 "glslang/MachineIndependent/preprocessor/*.cpp",
89 "glslang/HLSL/pch.h",
90 "glslang/MachineIndependent/pch.h",
96 ["glslang/OSDependent/Windows/ossource.cpp"],
[all …]
DREADME.md5 …[As scheduled](https://github.com/KhronosGroup/glslang/blob/9eef54b2513ca6b40b47b07d24f453848b65c0…
13 **SPIRV Folder, 1-May, 2020.** Glslang, when installed through CMake,
15 This `SPIRV` folder is being moved to `glslang/SPIRV`.
22 …atus](https://travis-ci.org/KhronosGroup/glslang.svg?branch=master)](https://travis-ci.org/Khronos…
23 …68/branch/master?svg=true)](https://ci.appveyor.com/project/Khronoswebmaster/glslang/branch/master)
25 # Glslang Components and Status
37 An HLSL front-end for translation of an approximation of HLSL to glslang's AST form.
42 …e 362](https://github.com/KhronosGroup/glslang/issues/362) and [issue 701](https://github.com/Khro…
46 Translates glslang's AST to the Khronos-specified SPIR-V intermediate language.
66 Also see the Khronos landing page for glslang as a reference front end:
[all …]
DCHANGES.md1 # Revision history for `glslang`
12 [As scheduled](https://github.com/KhronosGroup/glslang/blob/9eef54b2513ca6b40b47b07d24f453848b65c0d…
21 * `glslang/include/revision.h`
22 * `glslang/include/revision.template`
28 the glslang build-time generated header `glslang/build_info.h`.
30 The new public API to obtain the `glslang` version is `glslang::GetVersion()`.
33 * `glslang` shared objects produced by CMake are now `SONAME` versioned using
Dlicense-checker.cfg26 "glslang/OSDependent/Web/glslang.*.js",
27 "glslang/MachineIndependent/glslang_tab.cpp",
28 "glslang/MachineIndependent/glslang_tab.cpp.h",
51 "glslang/MachineIndependent/glslang_tab.cpp",
52 "glslang/MachineIndependent/glslang_tab.cpp.h"
/external/deqp-deps/glslang/glslang/MachineIndependent/
DpropagateNoContraction.cpp36 // Visit the nodes in the glslang intermediate tree representation to
71 typedef std::unordered_multimap<ObjectAccessChain, glslang::TIntermOperator*> NodeMapping;
73 typedef std::unordered_map<glslang::TIntermTyped*, ObjectAccessChain> AccessChainMapping;
78 typedef std::unordered_set<glslang::TIntermBranch*> ReturnBranchNodeSet;
82 bool isPreciseObjectNode(glslang::TIntermTyped* node) in isPreciseObjectNode()
88 bool isDereferenceOperation(glslang::TOperator op) in isDereferenceOperation()
91 case glslang::EOpIndexDirect: in isDereferenceOperation()
92 case glslang::EOpIndexDirectStruct: in isDereferenceOperation()
93 case glslang::EOpIndexIndirect: in isDereferenceOperation()
94 case glslang::EOpVectorSwizzle: in isDereferenceOperation()
[all …]
Dglslang_tab.cpp70 #line 69 "MachineIndependent/glslang.y"
93 using namespace glslang;
685 #line 133 "MachineIndependent/glslang.y"
4003 … yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep, glslang::TParseContext* pParseContext) in yy_symbol_value_print()
4026 … yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep, glslang::TParseContext* pParseContext) in yy_symbol_print()
4065 int yyrule, glslang::TParseContext* pParseContext) in yy_reduce_print()
4394 yysymbol_kind_t yykind, YYSTYPE *yyvaluep, glslang::TParseContext* pParseContext) in yydestruct()
4417 yyparse (glslang::TParseContext* pParseContext) in yyparse()
4673 #line 371 "MachineIndependent/glslang.y" in yyparse()
4681 #line 377 "MachineIndependent/glslang.y" in yyparse()
[all …]
Diomapper.h51 namespace glslang {
93 struct TDefaultIoResolverBase : public glslang::TIoMapResolver {
112 virtual TResourceType getResourceType(const glslang::TType& type) = 0;
147 static int getLayoutSet(const glslang::TType& type) { in getLayoutSet()
154 static bool isSamplerType(const glslang::TType& type) { in isSamplerType()
155 return type.getBasicType() == glslang::EbtSampler && type.getSampler().isPureSampler(); in isSamplerType()
158 static bool isTextureType(const glslang::TType& type) { in isTextureType()
159 return (type.getBasicType() == glslang::EbtSampler && in isTextureType()
163 static bool isUboType(const glslang::TType& type) { in isUboType()
167 static bool isImageType(const glslang::TType& type) { in isImageType()
[all …]
/external/deqp-deps/glslang/glslang/OSDependent/Web/
DCMakeLists.txt35 add_executable(glslang.js "glslang.js.cpp")
36 glslang_set_link_args(glslang.js)
37 target_link_libraries(glslang.js glslang SPIRV)
42 target_link_libraries(glslang.js "-Os")
45 set_target_properties(glslang.js PROPERTIES
46 OUTPUT_NAME "glslang"
48 em_link_pre_js(glslang.js "${CMAKE_CURRENT_SOURCE_DIR}/glslang.pre.js")
50 target_link_libraries(glslang.js "--llvm-lto 1")
51 target_link_libraries(glslang.js "--closure 1")
52 target_link_libraries(glslang.js "-s MODULARIZE=1")
[all …]
Dglslang.js.cpp45 #include "../../../glslang/Public/ShaderLang.h"
183 glslang::EShTargetLanguageVersion spirv_version, in convert_glsl_to_spirv()
204 case glslang::EShTargetSpv_1_0: in convert_glsl_to_spirv()
205 case glslang::EShTargetSpv_1_1: in convert_glsl_to_spirv()
206 case glslang::EShTargetSpv_1_2: in convert_glsl_to_spirv()
207 case glslang::EShTargetSpv_1_3: in convert_glsl_to_spirv()
208 case glslang::EShTargetSpv_1_4: in convert_glsl_to_spirv()
209 case glslang::EShTargetSpv_1_5: in convert_glsl_to_spirv()
217 glslang::InitializeProcess(); in convert_glsl_to_spirv()
221 glslang::TShader shader(stage); in convert_glsl_to_spirv()
[all …]
/external/deqp-deps/glslang/glslang/CInterface/
Dglslang_c_interface.cpp33 #include "glslang/Include/glslang_c_interface.h"
37 #include "glslang/Include/ShHandle.h"
39 #include "glslang/Include/ResourceLimits.h"
40 #include "glslang/MachineIndependent/Versions.h"
44 static_assert(int(GLSLANG_SOURCE_COUNT) == glslang::EShSourceCount, "");
45 static_assert(int(GLSLANG_CLIENT_COUNT) == glslang::EShClientCount, "");
46 static_assert(int(GLSLANG_TARGET_COUNT) == glslang::EShTargetCount, "");
47 static_assert(int(GLSLANG_TARGET_CLIENT_VERSION_COUNT) == glslang::EShTargetClientVersionCount, "");
48 static_assert(int(GLSLANG_TARGET_LANGUAGE_VERSION_COUNT) == glslang::EShTargetLanguageVersionCount,…
58 glslang::TShader* shader;
[all …]
/external/deqp-deps/glslang/StandAlone/
DStandAlone.cpp46 #include "./../glslang/Include/ShHandle.h"
47 #include "./../glslang/Public/ShaderLang.h"
62 #include "../glslang/OSDependent/osinclude.h"
65 #include "glslang/build_info.h"
142 std::vector<std::unique_ptr<glslang::TWorkItem>> WorkItems;
148 // Parse either a .conf file provided by the user or the default from glslang::DefaultTBuiltInResou…
153 Resources = glslang::DefaultTBuiltInResource; in ProcessConfigFile()
157 glslang::DecodeResourceLimits(&Resources, configString); in ProcessConfigFile()
181 glslang::EShClient Client = glslang::EShClientNone; // will stay EShClientNone if only validating
182 glslang::EShTargetClientVersion ClientVersion; // not valid until Client is set
[all …]
DCMakeLists.txt34 add_library(glslang-default-resource-limits
37 set_property(TARGET glslang-default-resource-limits PROPERTY FOLDER glslang)
38 set_property(TARGET glslang-default-resource-limits PROPERTY POSITION_INDEPENDENT_CODE ON)
40 target_include_directories(glslang-default-resource-limits
51 glslang
53 glslang-default-resource-limits)
102 … install(TARGETS glslang-default-resource-limits EXPORT glslang-default-resource-limitsTargets
104 … install(EXPORT glslang-default-resource-limitsTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake)
/external/deqp/external/glslang/
DCMakeLists.txt1 # cmake file for glslang
10 set(DEFAULT_GLSLANG_SRC_PATH "../glslang")
13 set(GLSLANG_SRC_PATH ${DEFAULT_GLSLANG_SRC_PATH} CACHE STRING "Path to glslang source tree")
21 if (EXISTS ${GLSLANG_ABS_PATH}/glslang/GenericCodeGen/CodeGen.cpp)
22 message(STATUS "glslang found")
24 # Disable glslang install as part of cmake install.
27 # Do not build glslang binaries.
30 # Overwrite the CMake flags for glslang with the our 3rd party ones.
39 set(GLSLANG_LIBRARIES glslang SPIRV SPVRemapper PARENT_SCOPE)
41 message(FATAL_ERROR "glslang not found")
/external/angle/src/compiler/translator/
Dglslang_wrapper.cpp7 // A wrapper to compile GLSL strings to SPIR-V blobs. glslang here refers to the Khronos
10 // This file is separated as glslang's header contains conflicting macro definitions with ANGLE's.
15 // glslang has issues with some specific warnings.
19 // glslang's version of ShaderLang.h, not to be confused with ANGLE's.
20 #include <glslang/Public/ShaderLang.h>
22 // Other glslang includes.
41 // Run at startup to warm up glslang's internals to avoid hitches on first shader compile.
46 const TBuiltInResource builtInResources(glslang::DefaultTBuiltInResource); in Warmup()
47 glslang::TShader warmUpShader(EShLangVertex); in Warmup()
61 // Generate glslang resources from ANGLE translator resources.
[all …]
/external/deqp-deps/glslang/OGLCompilersDLL/
DInitializeDll.cpp40 #include "../glslang/Include/InitializeGlobals.h"
41 #include "../glslang/Public/ShaderLang.h"
42 #include "../glslang/Include/PoolAlloc.h"
44 namespace glslang { namespace
54 glslang::GetGlobalLock(); in InitProcess()
61 glslang::ReleaseGlobalLock(); in InitProcess()
70 glslang::ReleaseGlobalLock(); in InitProcess()
77 glslang::ReleaseGlobalLock(); in InitProcess()
84 glslang::ReleaseGlobalLock(); in InitProcess()
88 glslang::ReleaseGlobalLock(); in InitProcess()
[all …]
/external/deqp-deps/glslang/gtests/
DTestFixture.h52 #include "glslang/Public/ShaderLang.h"
99 // Base class for glslang integration tests. It contains many handy utility-like
171 // A struct for holding all the information returned by glslang compilation
185 bool compile(glslang::TShader* shader, const std::string& code,
202 (resources ? resources : &glslang::DefaultTBuiltInResource),
214 glslang::EShTargetClientVersion clientTargetVersion,
215 glslang::EShTargetLanguageVersion targetLanguageVersion,
224 glslang::TShader shader(stage);
236 shader.setEnvInput((controls & EShMsgReadHlsl) ? glslang::EShSourceHlsl
237 : glslang::EShSourceGlsl,
[all …]
DSpv.FromFile.cpp87 … Source::GLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
94 … Source::GLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
104 glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
113 … Source::GLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_1, glslang::EShTargetSpv_1_3, in TEST_P()
120 … Source::GLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_1, glslang::EShTargetSpv_1_4, in TEST_P()
129 … Source::GLSL, Semantics::OpenGL, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
138 … Source::GLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
147 … Source::GLSL, Semantics::OpenGL, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
155 … Source::GLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
194 … Source::GLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkShaderToSpirV.cpp35 #include "glslang/Include/InfoSink.h"
36 #include "glslang/Include/ShHandle.h"
37 #include "glslang/MachineIndependent/localintermediate.h"
38 #include "glslang/Public/ShaderLang.h"
74 glslang::InitializeProcess(); in initGlslang()
278 glslang::TShader shader (shaderStage); in compileShaderToSpirV()
279 glslang::TProgram glslangProgram; in compileShaderToSpirV()
286 shader.setEnvTarget(glslang::EshTargetSpv, (glslang::EShTargetLanguageVersion)0x10000); in compileShaderToSpirV()
289 shader.setEnvTarget(glslang::EshTargetSpv, (glslang::EShTargetLanguageVersion)0x10100); in compileShaderToSpirV()
292 shader.setEnvTarget(glslang::EshTargetSpv, (glslang::EShTargetLanguageVersion)0x10200); in compileShaderToSpirV()
[all …]
/external/deqp-deps/glslang/glslang/
DCMakeLists.txt54 set_property(TARGET GenericCodeGen PROPERTY FOLDER glslang)
60 MachineIndependent/glslang.m4
61 MachineIndependent/glslang.y
135 set_property(TARGET MachineIndependent PROPERTY FOLDER glslang)
144 # glslang
165 add_library(glslang ${LIB_TYPE} ${BISON_GLSLParser_OUTPUT_SOURCE} ${GLSLANG_SOURCES} ${GLSLANG_HEAD… target
166 set_target_properties(glslang PROPERTIES
167 FOLDER glslang
171 target_link_libraries(glslang PRIVATE OGLCompiler OSDependent MachineIndependent)
172 target_include_directories(glslang PUBLIC
[all …]
/external/vulkan-validation-layers/scripts/
Dknown_good.json4 "name" : "glslang",
5 "url" : "https://github.com/KhronosGroup/glslang.git",
6 "sub_dir" : "glslang",
7 "build_dir" : "glslang/build",
8 "install_dir" : "glslang/build/install",
102 "repo_name" : "glslang"
115 "glslang" : "GLSLANG_INSTALL_DIR", string
/external/swiftshader/tests/VulkanWrapper/
DCMakeLists.txt44 if (NOT TARGET glslang)
45 message(FATAL_ERROR "Missing required target: glslang")
48 if (NOT TARGET glslang-default-resource-limits)
49 message(FATAL_ERROR "Missing required target: glslang-default-resource-limits")
84 glslang
85 glslang-default-resource-limits
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h53 …#pragma warning(disable : 5026) // 'glslang::TIntermUnary': move constructor was implicitly define…
60 namespace glslang {
1064 } // end namespace glslang
1069 // (Put outside the glslang namespace, as it's used as part of the external interface.)
1073 POOL_ALLOCATOR_NEW_DELETE(glslang::GetThreadPoolAllocator()) in POOL_ALLOCATOR_NEW_DELETE()
1076 virtual const glslang::TSourceLoc& getLoc() const { return loc; } in getLoc()
1077 virtual void setLoc(const glslang::TSourceLoc& l) { loc = l; } in setLoc()
1078 virtual void traverse(glslang::TIntermTraverser*) = 0;
1079 virtual glslang::TIntermTyped* getAsTyped() { return 0; } in getAsTyped()
1080 virtual glslang::TIntermOperator* getAsOperator() { return 0; } in getAsOperator()
[all …]

12345678910>>...33