/external/deqp-deps/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 38 // Visit the nodes in the glslang intermediate tree representation to 57 // Glslang includes 58 #include "../glslang/MachineIndependent/localintermediate.h" 59 #include "../glslang/MachineIndependent/SymbolTable.h" 60 #include "../glslang/Include/Common.h" 61 #include "../glslang/Include/revision.h" 102 // The main holder of information for translating glslang to SPIR-V. 106 class TGlslangToSpvTraverser : public glslang::TIntermTraverser { 108 …TGlslangToSpvTraverser(unsigned int spvVersion, const glslang::TIntermediate*, spv::SpvBuildLogger… 109 glslang::SpvOptions& options); [all …]
|
D | SpvTools.h | 47 #include "../glslang/MachineIndependent/localintermediate.h" 50 namespace glslang { 68 void SpirvToolsValidate(const glslang::TIntermediate& intermediate, std::vector<unsigned int>& spir… 73 void SpirvToolsLegalize(const glslang::TIntermediate& intermediate, std::vector<unsigned int>& spir… 78 }; // end namespace glslang
|
D | SpvTools.cpp | 49 namespace glslang { namespace 51 // Translate glslang's view of target versioning to what SPIRV-Tools uses. 55 case glslang::EShTargetVulkan_1_0: return spv_target_env::SPV_ENV_VULKAN_1_0; in MapToSpirvToolsEnv() 56 case glslang::EShTargetVulkan_1_1: return spv_target_env::SPV_ENV_VULKAN_1_1; in MapToSpirvToolsEnv() 92 void SpirvToolsValidate(const glslang::TIntermediate& intermediate, std::vector<unsigned int>& spir… in SpirvToolsValidate() 117 void SpirvToolsLegalize(const glslang::TIntermediate&, std::vector<unsigned int>& spirv, in SpirvToolsLegalize() 197 }; // end namespace glslang
|
/external/deqp-deps/glslang/ |
D | BUILD.gn | 34 import("//build_overrides/glslang.gni") 69 "glslang/GenericCodeGen/CodeGen.cpp", 70 "glslang/GenericCodeGen/Link.cpp", 71 "glslang/Include/BaseTypes.h", 72 "glslang/Include/Common.h", 73 "glslang/Include/ConstantUnion.h", 74 "glslang/Include/InfoSink.h", 75 "glslang/Include/InitializeGlobals.h", 76 "glslang/Include/PoolAlloc.h", 77 "glslang/Include/ResourceLimits.h", [all …]
|
D | Android.bp | 26 "glslang/OSDependent", 30 "glslang/OSDependent/Unix/ossource.cpp", 83 "glslang/MachineIndependent", 87 "glslang/GenericCodeGen/CodeGen.cpp", 88 "glslang/GenericCodeGen/Link.cpp", 89 "glslang/MachineIndependent/attribute.cpp", 90 "glslang/MachineIndependent/Constant.cpp", 91 "glslang/MachineIndependent/glslang_tab.cpp", 92 "glslang/MachineIndependent/InfoSink.cpp", 93 "glslang/MachineIndependent/Initialize.cpp", [all …]
|
D | README.md | 1 Also see the Khronos landing page for glslang as a reference front end: 6 regarding the feature level of glslang. 8 glslang chapter 11 …atus](https://travis-ci.org/KhronosGroup/glslang.svg?branch=master)](https://travis-ci.org/Khronos… 12 …68/branch/master?svg=true)](https://ci.appveyor.com/project/Khronoswebmaster/glslang/branch/master) 20 …e 362](https://github.com/KhronosGroup/glslang/issues/362) and [issue 701](https://github.com/Khro… 27 comment in `glslang/MachineIndependent/Versions.cpp`. 65 * [bison][bison]: _optional_, but needed when changing the grammar (glslang.y). 66 * [googletest][googletest]: _optional_, but should use if making any changes to glslang. 76 cd <parent of where you want glslang to be> [all …]
|
D | LICENSE.txt | 1 Here, glslang proper means core GLSL parsing, HLSL parsing, and SPIR-V code 2 generation. Glslang proper requires use of two licenses, one that covers 5 Bison was removed long ago. You can build glslang from the source grammar, 8 Other parts, outside of glslang proper, include: 17 glslang proper 24 The core of glslang-proper, minus the preprocessor is licenced as follows:
|
D | LICENSE | 1 Here, glslang proper means core GLSL parsing, HLSL parsing, and SPIR-V code 2 generation. Glslang proper requires use of two licenses, one that covers 5 Bison was removed long ago. You can build glslang from the source grammar, 8 Other parts, outside of glslang proper, include: 17 glslang proper 24 The core of glslang-proper, minus the preprocessor is licenced as follows:
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | propagateNoContraction.cpp | 36 // Visit the nodes in the glslang intermediate tree representation to 69 typedef std::unordered_multimap<ObjectAccessChain, glslang::TIntermOperator*> NodeMapping; 71 typedef std::unordered_map<glslang::TIntermTyped*, ObjectAccessChain> AccessChainMapping; 76 typedef std::unordered_set<glslang::TIntermBranch*> ReturnBranchNodeSet; 80 bool isPreciseObjectNode(glslang::TIntermTyped* node) in isPreciseObjectNode() 86 bool isDereferenceOperation(glslang::TOperator op) in isDereferenceOperation() 89 case glslang::EOpIndexDirect: in isDereferenceOperation() 90 case glslang::EOpIndexDirectStruct: in isDereferenceOperation() 91 case glslang::EOpIndexIndirect: in isDereferenceOperation() 92 case glslang::EOpVectorSwizzle: in isDereferenceOperation() [all …]
|
D | glslang_tab.cpp.h | 459 #line 70 "MachineIndependent/glslang.y" /* yacc.c:1909 */ 462 glslang::TSourceLoc loc; 464 glslang::TString *string; 472 glslang::TSymbol* symbol; 475 glslang::TSourceLoc loc; 476 glslang::TOperator op; 479 glslang::TIntermNodePair nodePair; 480 glslang::TIntermTyped* intermTypedNode; 481 glslang::TAttributes* attributes; 484 glslang::TPublicType type; [all …]
|
D | glslang_tab.cpp | 65 #line 42 "MachineIndependent/glslang.y" /* yacc.c:339 */ 88 using namespace glslang; 537 #line 70 "MachineIndependent/glslang.y" /* yacc.c:355 */ 540 glslang::TSourceLoc loc; 542 glslang::TString *string; 550 glslang::TSymbol* symbol; 553 glslang::TSourceLoc loc; 554 glslang::TOperator op; 557 glslang::TIntermNodePair nodePair; 558 glslang::TIntermTyped* intermTypedNode; [all …]
|
D | iomapper.cpp | 65 namespace glslang { namespace 358 struct TDefaultIoResolverBase : public glslang::TIoMapResolver 422 …virtual bool validateBinding(EShLanguage /*stage*/, const char* /*name*/, const glslang::TType& ty… 424 …virtual int resolveBinding(EShLanguage /*stage*/, const char* /*name*/, const glslang::TType& type… 426 …int resolveSet(EShLanguage /*stage*/, const char* /*name*/, const glslang::TType& type, bool /*is_… in resolveSet() 437 …int resolveUniformLocation(EShLanguage /*stage*/, const char* name, const glslang::TType& type, bo… in resolveUniformLocation() 539 static int getLayoutSet(const glslang::TType& type) { in getLayoutSet() 546 static bool isSamplerType(const glslang::TType& type) { in isSamplerType() 547 return type.getBasicType() == glslang::EbtSampler && type.getSampler().isPureSampler(); in isSamplerType() 550 static bool isTextureType(const glslang::TType& type) { in isTextureType() [all …]
|
/external/deqp-deps/glslang/glslang/ |
D | CMakeLists.txt | 10 MachineIndependent/glslang.y 78 …dent/glslang_tab.cpp.h -t ${CMAKE_CURRENT_SOURCE_DIR}/MachineIndependent/glslang.y -o ${CMAKE_CURR… 79 # MAIN_DEPENDENCY MachineIndependent/glslang.y 85 add_library(glslang ${LIB_TYPE} ${BISON_GLSLParser_OUTPUT_SOURCE} ${SOURCES} ${HEADERS}) target 86 set_property(TARGET glslang PROPERTY FOLDER glslang) 87 set_property(TARGET glslang PROPERTY POSITION_INDEPENDENT_CODE ON) 88 target_link_libraries(glslang OGLCompiler OSDependent) 89 target_include_directories(glslang PUBLIC ..) 92 set_target_properties(glslang PROPERTIES PREFIX "") 96 target_link_libraries(glslang HLSL) [all …]
|
/external/deqp-deps/glslang/StandAlone/ |
D | StandAlone.cpp | 45 #include "./../glslang/Include/ShHandle.h" 46 #include "./../glslang/Include/revision.h" 47 #include "./../glslang/Public/ShaderLang.h" 62 #include "../glslang/OSDependent/osinclude.h" 136 std::vector<std::unique_ptr<glslang::TWorkItem>> WorkItems; 142 // Parse either a .conf file provided by the user or the default from glslang::DefaultTBuiltInResou… 147 Resources = glslang::DefaultTBuiltInResource; in ProcessConfigFile() 150 glslang::DecodeResourceLimits(&Resources, configString); in ProcessConfigFile() 171 glslang::EShClient Client = glslang::EShClientNone; // will stay EShClientNone if only validating 172 glslang::EShTargetClientVersion ClientVersion; // not valid until Client is set [all …]
|
D | CMakeLists.txt | 1 add_library(glslang-default-resource-limits 3 set_property(TARGET glslang-default-resource-limits PROPERTY FOLDER glslang) 4 set_property(TARGET glslang-default-resource-limits PROPERTY POSITION_INDEPENDENT_CODE ON) 6 target_include_directories(glslang-default-resource-limits 21 glslang 24 glslang-default-resource-limits) 50 install(TARGETS glslang-default-resource-limits
|
/external/deqp/external/glslang/ |
D | CMakeLists.txt | 1 # 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; building with DEQP_SUPPORT_GLSLANG") 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) 43 message(STATUS "glslang not found; GLSL to SPIR-V compilation not available")
|
/external/deqp-deps/glslang/OGLCompilersDLL/ |
D | InitializeDll.cpp | 40 #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/ |
D | TestFixture.h | 52 #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, 223 glslang::TShader shader(stage); 233 shader.setEnvInput((controls & EShMsgReadHlsl) ? glslang::EShSourceHlsl 234 : glslang::EShSourceGlsl, 235 stage, glslang::EShClientVulkan, 100); [all …]
|
D | Initializer.h | 38 #include "glslang/Public/ShaderLang.h" 42 // Initializes glslang on creation, and destroys it on completion. 43 // This object is expected to be a singleton, so that internal glslang state 48 GlslangInitializer() { glslang::InitializeProcess(); } in GlslangInitializer() 50 ~GlslangInitializer() { glslang::FinalizeProcess(); } in ~GlslangInitializer()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkShaderToSpirV.cpp | 36 # include "glslang/Include/InfoSink.h" 37 # include "glslang/Include/ShHandle.h" 38 # include "glslang/MachineIndependent/localintermediate.h" 39 # include "glslang/Public/ShaderLang.h" 72 glslang::InitializeProcess(); in initGlslang() 276 glslang::TShader shader (shaderStage); in compileShaderToSpirV() 277 glslang::TProgram glslangProgram; in compileShaderToSpirV() 284 shader.setEnvTarget(glslang::EshTargetSpv, (glslang::EShTargetLanguageVersion)0x10000); in compileShaderToSpirV() 287 shader.setEnvTarget(glslang::EshTargetSpv, (glslang::EShTargetLanguageVersion)0x10100); in compileShaderToSpirV() 290 shader.setEnvTarget(glslang::EshTargetSpv, (glslang::EShTargetLanguageVersion)0x10200); in compileShaderToSpirV() [all …]
|
/external/vulkan-validation-layers/scripts/ |
D | known_good.json | 4 "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", 98 "repo_name" : "glslang" 111 "glslang" : "GLSLANG_INSTALL_DIR", string
|
/external/deqp-deps/glslang/glslang/Include/ |
D | intermediate.h | 52 …#pragma warning(disable : 5026) // 'glslang::TIntermUnary': move constructor was implicitly define… 59 namespace glslang { 1008 } // end namespace glslang 1013 // (Put outside the glslang namespace, as it's used as part of the external interface.) 1017 POOL_ALLOCATOR_NEW_DELETE(glslang::GetThreadPoolAllocator()) in POOL_ALLOCATOR_NEW_DELETE() 1020 virtual const glslang::TSourceLoc& getLoc() const { return loc; } in getLoc() 1021 virtual void setLoc(const glslang::TSourceLoc& l) { loc = l; } in setLoc() 1022 virtual void traverse(glslang::TIntermTraverser*) = 0; 1023 virtual glslang::TIntermTyped* getAsTyped() { return 0; } in getAsTyped() 1024 virtual glslang::TIntermOperator* getAsOperator() { return 0; } in getAsOperator() [all …]
|
/external/vulkan-validation-layers/ |
D | CMakeLists.txt | 158 …set(GLSLANG_INSTALL_DIR "GLSLANG-NOTFOUND" CACHE PATH "Absolute path to a glslang install director… 159 if(NOT GLSLANG_INSTALL_DIR AND NOT DEFINED ENV{GLSLANG_INSTALL_DIR} AND NOT TARGET glslang) 160 message(FATAL_ERROR "Must define location of glslang binaries -- see BUILD.md") 169 if (NOT TARGET glslang) 170 message(STATUS "Using glslang install located at ${GLSLANG_INSTALL_DIR}") 173 …set(GLSLANG_SPIRV_INCLUDE_DIR "${GLSLANG_INSTALL_DIR}/include" CACHE PATH "Path to glslang spirv h… 175 find_library(GLSLANG_LIB NAMES glslang HINTS ${GLSLANG_SEARCH_PATH}) 183 add_library(glslang STATIC IMPORTED) target 198 set_target_properties(glslang 229 …set(GLSLANG_LIBRARIES glslang OGLCompiler OSDependent HLSL SPIRV SPVRemapper ${SPIRV_TOOLS_LIBRARI… [all …]
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslScanContext.h | 44 #include "../glslang/MachineIndependent/ParseHelper.h" 47 namespace glslang { 61 glslang::TString *string; // for identifiers 84 glslang::TBuiltInVariable mapSemantic(const char*); 107 } // end namespace glslang
|
/external/vulkan-validation-layers/build-android/ |
D | build.py | 209 'source_dir': os.path.join(shaderc_root_dir, 'glslang'), 210 'dest_dir': 'third_party/shaderc/third_party/glslang', 211 'files': ['glslang/OSDependent/osinclude.h', 217 'glslang/GenericCodeGen', 219 'glslang/Include', 220 'glslang/MachineIndependent', 221 'glslang/OSDependent/Unix', 222 'glslang/Public',
|