Home
last modified time | relevance | path

Searched refs:blockName (Results 1 - 25 of 60) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DShaderD3D.cpp210 unsigned int ShaderD3D::getUniformBlockRegister(const std::string &blockName) const in getUniformBlockRegister()
212 ASSERT(mUniformBlockRegisterMap.count(blockName) > 0); in getUniformBlockRegister()
213 return mUniformBlockRegisterMap.find(blockName)->second; in getUniformBlockRegister()
216 bool ShaderD3D::shouldUniformBlockUseStructuredBuffer(const std::string &blockName) const in shouldUniformBlockUseStructuredBuffer()
218 ASSERT(mUniformBlockUseStructuredBufferMap.count(blockName) > 0); in shouldUniformBlockUseStructuredBuffer()
219 return mUniformBlockUseStructuredBufferMap.find(blockName)->second; in shouldUniformBlockUseStructuredBuffer()
222 unsigned int ShaderD3D::getShaderStorageBlockRegister(const std::string &blockName) const in getShaderStorageBlockRegister()
224 ASSERT(mShaderStorageBlockRegisterMap.count(blockName) > 0); in getShaderStorageBlockRegister()
225 return mShaderStorageBlockRegisterMap.find(blockName)->second; in getShaderStorageBlockRegister()
H A DShaderD3D.h56 unsigned int getUniformBlockRegister(const std::string &blockName) const;
57 bool shouldUniformBlockUseStructuredBuffer(const std::string &blockName) const;
58 unsigned int getShaderStorageBlockRegister(const std::string &blockName) const;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DProgramGL.h128 bool getUniformBlockSize(const std::string &blockName,
137 bool getShaderStorageBlockSize(const std::string &blockName,
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcSeparableProgramsTransformFeedbackTests.cpp184 const char* blockName[STAGES_COUNT] = { "", ";\n", " gl_out[];\n", ";\n", ";\n" }; in iterate() local
194 vertexBlockPostfix = blockName; in iterate()
H A DglcUniformBlockCase.hpp244 UniformBlock(const char* blockName);
/third_party/glslang/glslang/MachineIndependent/
H A Dreflection.cpp101 const TString& blockName = base.getType().getTypeName(); in addUniform() local
104 baseName = blockName; in addUniform()
108 blockIndex = addBlockName(blockName, base.getType(), intermediate.getBlockSize(base.getType())); in addUniform()
587 const TString& blockName = base->getType().getTypeName(); in addDereferencedUniform() local
591 baseName = blockName; in addDereferencedUniform()
593 blockIndex = addBlockName(blockName, base->getType(), intermediate.getBlockSize(base->getType())); in addDereferencedUniform()
H A DParseHelper.cpp60 blockName(nullptr), in TParseContext()
3954 if (blockName == nullptr && in globalQualifierFixCheck()
4968 void TParseContext::redeclareBuiltinBlock(const TSourceLoc& loc, TTypeList& newTypeList, const TString& blockName, in redeclareBuiltinBlock() argument
4975 if (blockName != "gl_PerVertex" && blockName != "gl_PerFragment" && in redeclareBuiltinBlock()
4976 blockName != "gl_MeshPerVertexNV" && blockName != "gl_MeshPerPrimitiveNV" && in redeclareBuiltinBlock()
4977 blockName != "gl_MeshPerVertexEXT" && blockName != "gl_MeshPerPrimitiveEXT") { in redeclareBuiltinBlock()
4978 error(loc, "cannot redeclare block: ", "block declaration", blockName in redeclareBuiltinBlock()
[all...]
H A DSymbolTable.h896 void setVariableExtensions(const char* blockName, const char* name, int numExts, const char* const extensions[]) in setVariableExtensions() argument
898 TSymbol* symbol = find(TString(blockName)); in setVariableExtensions()
H A DParseHelper.h413 void redeclareBuiltinBlock(const TSourceLoc&, TTypeList& typeList, const TString& blockName, const TString* instanceName, TArraySizes* arraySizes);
528 const TString* blockName; member in glslang::TParseContext
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSSBOLayoutCase.hpp87 BufferBlock (const char* blockName);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DCollectVariables.cpp99 ShaderVariable *FindShaderIOBlockVariable(const ImmutableString &blockName, in FindShaderIOBlockVariable() argument
104 if (blockName == (*infoList)[index].structOrBlockName) in FindShaderIOBlockVariable()
848 // For I/O blocks, additionally store the name of the block as blockName. If the variable is in setCommonVariableProperties()
1160 const ImmutableString &blockName) const in findNamedInterfaceBlock()
1162 InterfaceBlock *namedBlock = FindVariable(blockName, mUniformBlocks); in findNamedInterfaceBlock()
1165 namedBlock = FindVariable(blockName, mShaderStorageBlocks); in findNamedInterfaceBlock()
H A DTranslatorVulkan.cpp555 ImmutableStringBuilder blockName(strlen(vk::kXfbEmulationBufferBlockName) + 2); in AddXfbEmulationSupport()
556 blockName << vk::kXfbEmulationBufferBlockName; in AddXfbEmulationSupport()
557 blockName.appendDecimal(bufferIndex); in AddXfbEmulationSupport()
567 TMemoryQualifier::Create(), 0, blockName, varName); in AddXfbEmulationSupport()
H A DResourcesHLSL.cpp805 const TString &blockName = TString(interfaceBlock.name().data()) + arrayIndexString; in uniformBlockString() local
808 hlsl += "cbuffer " + blockName + " : register(b" + str(registerIndex) + in uniformBlockString()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
H A DvktSSBOLayoutCase.hpp98 BufferBlock (const char* blockName);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DProgramExecutableVk.cpp544 const std::string blockName = block.mappedName; in addInterfaceBlockDescriptorSetDesc() local
546 const ShaderInterfaceVariableInfo &info = mVariableInfoMap.get(shaderType, blockName); in addInterfaceBlockDescriptorSetDesc()
568 std::string blockName(sh::vk::kAtomicCountersBlockName); in addAtomicCounterBufferDescriptorSetDesc()
570 const ShaderInterfaceVariableInfo &info = mVariableInfoMap.get(shaderType, blockName); in addAtomicCounterBufferDescriptorSetDesc()
1342 std::string blockName(sh::vk::kAtomicCountersBlockName); in updateAtomicCounterBuffersDescriptorSet()
1343 const ShaderInterfaceVariableInfo &info = mVariableInfoMap.get(shaderType, blockName); in updateAtomicCounterBuffersDescriptorSet()
/third_party/vk-gl-cts/modules/glshared/
H A DglsUniformBlockCase.hpp185 UniformBlock (const char* blockName);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
H A DvktSSBOLayoutCase.hpp98 BufferBlock (const char* blockName);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
H A DvktTransformFeedbackFuzzLayoutCase.hpp195 InterfaceBlock (const std::string& blockName);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
H A DvktUniformBlockCase.hpp200 UniformBlock (const std::string& blockName);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DProgramLinkedResources.h96 bool(const std::string &blockName, const std::string &blockMappedName, size_t *sizeOut)>;
H A DProgram.h606 GLchar *blockName) const;
610 GLchar *blockName) const;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
H A DvktTransformFeedbackFuzzLayoutCase.hpp195 InterfaceBlock (const std::string& blockName);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/
H A DvktUniformBlockCase.hpp200 UniformBlock (const std::string& blockName);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawMultipleInterpolationTests.cpp164 const std::string blockName = "ifb"; in initPrograms() local
169 std::pair<std::string, std::string>{"blockClosure" , (m_params.useStructure ? "} " + blockName + ";\n" : "")}, in initPrograms()
171 std::pair<std::string, std::string>{"accessPrefix" , (m_params.useStructure ? blockName + "." : "")}, in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawMultipleInterpolationTests.cpp166 const std::string blockName = "ifb"; in initPrograms() local
171 std::pair<std::string, std::string>{"blockClosure" , (m_params.useStructure ? "} " + blockName + ";\n" : "")}, in initPrograms()
173 std::pair<std::string, std::string>{"accessPrefix" , (m_params.useStructure ? blockName + "." : "")}, in initPrograms()

Completed in 37 milliseconds

123