/third_party/vk-gl-cts/data/gles3/shaders/ |
D | uniform_block.test | 19 } uniformBlock; 23 gl_Position = uniformBlock.uniformMember; 64 } uniformBlock; 68 o_color = uniformBlock.uniformMember; 85 } uniformBlock; 89 gl_Position = uniformBlock.uniformMember; 130 } uniformBlock; 134 o_color = uniformBlock.uniformMember; 151 } uniformBlock; 155 gl_Position = uniformBlock.uniformMember; [all …]
|
/third_party/vk-gl-cts/data/gles31/shaders/es32/ |
D | uniform_block.test | 19 } uniformBlock; 23 gl_Position = uniformBlock.uniformMember; 64 } uniformBlock; 68 o_color = uniformBlock.uniformMember; 85 } uniformBlock; 89 gl_Position = uniformBlock.uniformMember; 130 } uniformBlock; 134 o_color = uniformBlock.uniformMember; 151 } uniformBlock; 155 gl_Position = uniformBlock.uniformMember; [all …]
|
/third_party/vk-gl-cts/data/gles31/shaders/es31/ |
D | uniform_block.test | 19 } uniformBlock; 23 gl_Position = uniformBlock.uniformMember; 64 } uniformBlock; 68 o_color = uniformBlock.uniformMember; 85 } uniformBlock; 89 gl_Position = uniformBlock.uniformMember; 130 } uniformBlock; 134 o_color = uniformBlock.uniformMember; 151 } uniformBlock; 155 gl_Position = uniformBlock.uniformMember; [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RecordUniformBlocksWithLargeArrayMember.cpp | 361 for (auto &uniformBlock : uniformBlockMayTranslation) in RecordUniformBlocksWithLargeArrayMember() local 363 if (uniformBlockNotAllowTranslation.count(uniformBlock.first) == 0) in RecordUniformBlocksWithLargeArrayMember() 365 usedRegisterCount += uniformBlockUsedRegisterCount[uniformBlock.first]; in RecordUniformBlocksWithLargeArrayMember() 370 uniformBlockOptimizedMap[uniformBlock.first] = uniformBlock.second; in RecordUniformBlocksWithLargeArrayMember() 374 for (auto &uniformBlock : uniformBlockWithLargeArrayMember) in RecordUniformBlocksWithLargeArrayMember() local 376 if (uniformBlockOptimizedMap.count(uniformBlock.first) == 0) in RecordUniformBlocksWithLargeArrayMember() 378 slowCompilingUniformBlockSet.insert(uniformBlock.second->name().data()); in RecordUniformBlocksWithLargeArrayMember()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramVk.cpp | 433 DefaultUniformBlock &uniformBlock = mDefaultUniformBlocks[shaderType]; in setUniformImpl() local 434 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location]; in setUniformImpl() 444 &uniformBlock.uniformData); in setUniformImpl() 452 DefaultUniformBlock &uniformBlock = mDefaultUniformBlocks[shaderType]; in setUniformImpl() local 453 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location]; in setUniformImpl() 471 reinterpret_cast<GLint *>(uniformBlock.uniformData.data() + elementOffset); in setUniformImpl() 496 const DefaultUniformBlock &uniformBlock = mDefaultUniformBlocks[shaderType]; in getUniformImpl() local 497 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location]; in getUniformImpl() 504 const uint8_t *ptrToElement = uniformBlock.uniformData.data() + layoutInfo.offset + in getUniformImpl() 511 v, layoutInfo, &uniformBlock.uniformData); in getUniformImpl() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramVk.cpp | 391 for (auto &uniformBlock : mDefaultUniformBlocks) in reset() local 393 uniformBlock.storage.release(contextVk); in reset() 810 DefaultUniformBlock &uniformBlock = mDefaultUniformBlocks[shaderType]; in setUniformImpl() local 811 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location]; in setUniformImpl() 821 &uniformBlock.uniformData); in setUniformImpl() 829 DefaultUniformBlock &uniformBlock = mDefaultUniformBlocks[shaderType]; in setUniformImpl() local 830 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location]; in setUniformImpl() 848 reinterpret_cast<GLint *>(uniformBlock.uniformData.data() + elementOffset); in setUniformImpl() 873 const DefaultUniformBlock &uniformBlock = mDefaultUniformBlocks[shaderType]; in getUniformImpl() local 874 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location]; in getUniformImpl() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Program.cpp | 420 const UniformBlock &uniformBlock = *uniformBlocks[uniformBlockIndex]; in getActiveUniformBlockiv() local 425 *params = static_cast<GLint>(uniformBlock.dataSize); in getActiveUniformBlockiv() 428 …*params = static_cast<GLint>(uniformBlock.name.size() + 1 + (uniformBlock.isArrayElement() ? 3 : 0… in getActiveUniformBlockiv() 431 *params = static_cast<GLint>(uniformBlock.memberUniformIndexes.size()); in getActiveUniformBlockiv() 435 …for(unsigned int blockMemberIndex = 0; blockMemberIndex < uniformBlock.memberUniformIndexes.size()… in getActiveUniformBlockiv() 437 …params[blockMemberIndex] = static_cast<GLint>(uniformBlock.memberUniformIndexes[blockMemberIndex]); in getActiveUniformBlockiv() 442 *params = static_cast<GLint>(uniformBlock.isReferencedByVertexShader()); in getActiveUniformBlockiv() 445 *params = static_cast<GLint>(uniformBlock.isReferencedByFragmentShader()); in getActiveUniformBlockiv() 459 const UniformBlock &uniformBlock = *uniformBlocks[blockIndex]; in getUniformBlockIndex() local 460 if(uniformBlock.name == baseName) in getUniformBlockIndex() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | ProgramD3D.cpp | 1111 D3DUniformBlock uniformBlock; in load() local 1114 stream->readInt(&uniformBlock.mShaderRegisterIndexes[shaderType]); in load() 1115 stream->readBool(&uniformBlock.mUseStructuredBuffers[shaderType]); in load() 1116 stream->readInt(&uniformBlock.mByteWidths[shaderType]); in load() 1117 stream->readInt(&uniformBlock.mStructureByteStrides[shaderType]); in load() 1119 mD3DUniformBlocks.push_back(uniformBlock); in load() 1403 for (const D3DUniformBlock &uniformBlock : mD3DUniformBlocks) in save() local 1407 stream->writeIntOrNegOne(uniformBlock.mShaderRegisterIndexes[shaderType]); in save() 1408 stream->writeBool(uniformBlock.mUseStructuredBuffers[shaderType]); in save() 1409 stream->writeInt(uniformBlock.mByteWidths[shaderType]); in save() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | ProgramMtl.mm | 935 DefaultUniformBlock &uniformBlock = mDefaultUniformBlocks[shaderType]; 936 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location]; 946 &uniformBlock.uniformData); 954 DefaultUniformBlock &uniformBlock = mDefaultUniformBlocks[shaderType]; 955 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location]; 973 reinterpret_cast<GLint *>(uniformBlock.uniformData.data() + elementOffset); 998 const DefaultUniformBlock &uniformBlock = mDefaultUniformBlocks[shaderType]; 999 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location]; 1006 const uint8_t *ptrToElement = uniformBlock.uniformData.data() + layoutInfo.offset + 1013 v, layoutInfo, &uniformBlock.uniformData); [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | ProgramExecutable.cpp | 354 InterfaceBlock uniformBlock; in load() local 355 LoadInterfaceBlock(stream, &uniformBlock); in load() 356 mUniformBlocks.push_back(uniformBlock); in load() 358 mActiveUniformBlockBindings.set(uniformBlockIndex, uniformBlock.binding != 0); in load() 571 for (const InterfaceBlock &uniformBlock : getUniformBlocks()) in save() local 573 WriteInterfaceBlock(stream, uniformBlock); in save()
|
D | ProgramLinkedResources.cpp | 1565 for (const auto &uniformBlock : uniformBlocks) in LinkValidateProgramGlobalNames() local 1569 if (!uniformBlock.instanceName.empty()) in LinkValidateProgramGlobalNames() 1574 for (const auto &field : uniformBlock.fields) in LinkValidateProgramGlobalNames() 1580 BlockAndFieldPair blockAndFieldPair(&uniformBlock, &field); in LinkValidateProgramGlobalNames() 1597 if (uniformBlock.isSameInterfaceBlockAtLinkTime(*prevUniformBlock)) in LinkValidateProgramGlobalNames() 1616 BlockAndFieldPair blockAndFieldPair(&uniformBlock, &field); in LinkValidateProgramGlobalNames()
|
D | validationES.cpp | 594 const InterfaceBlock &uniformBlock = program->getUniformBlockByIndex(uniformBlockIndex); in ValidateProgramDrawStates() local 606 if (uniformBufferSize < uniformBlock.dataSize && in ValidateProgramDrawStates() 7641 const InterfaceBlock &uniformBlock = in ValidateGetActiveUniformBlockivBase() local 7643 *length = static_cast<GLsizei>(uniformBlock.memberIndexes.size()); in ValidateGetActiveUniformBlockivBase()
|
D | Program.cpp | 4017 InterfaceBlock &uniformBlock = mState.mExecutable->mUniformBlocks[blockIndex]; in initInterfaceBlockBindings() local 4018 bindUniformBlock({blockIndex}, uniformBlock.binding); in initInterfaceBlockBindings()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | ProgramD3D.cpp | 1070 D3DInterfaceBlock uniformBlock; in load() local 1073 stream->readInt(&uniformBlock.mShaderRegisterIndexes[shaderType]); in load() 1075 mD3DUniformBlocks.push_back(uniformBlock); in load() 1354 for (const D3DInterfaceBlock &uniformBlock : mD3DUniformBlocks) in save() local 1358 stream->writeIntOrNegOne(uniformBlock.mShaderRegisterIndexes[shaderType]); in save() 2115 for (const gl::InterfaceBlock &uniformBlock : mState.getUniformBlocks()) in initializeUniformBlocks() local 2117 unsigned int uniformBlockElement = uniformBlock.isArray ? uniformBlock.arrayElement : 0; in initializeUniformBlocks() 2123 if (uniformBlock.isActive(shaderType)) in initializeUniformBlocks() 2127 shadersD3D[shaderType]->getUniformBlockRegister(uniformBlock.name); in initializeUniformBlocks() 2206 const D3DInterfaceBlock &uniformBlock = mD3DUniformBlocks[uniformBlockIndex]; in updateUniformBufferCache() local [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Program.cpp | 3790 for (const auto &uniformBlock : uniformBlocks) in linkValidateGlobalNames() local 3794 if (!uniformBlock.instanceName.empty()) in linkValidateGlobalNames() 3799 for (const auto &field : uniformBlock.fields) in linkValidateGlobalNames() 3805 BlockAndFieldPair blockAndFieldPair(&uniformBlock, &field); in linkValidateGlobalNames() 3823 if (uniformBlock.isSameInterfaceBlockAtLinkTime(*prevUniformBlock)) in linkValidateGlobalNames() 3842 BlockAndFieldPair blockAndFieldPair(&uniformBlock, &field); in linkValidateGlobalNames() 4307 InterfaceBlock &uniformBlock = mState.mUniformBlocks[blockIndex]; in initInterfaceBlockBindings() local 4308 bindUniformBlock(blockIndex, uniformBlock.binding); in initInterfaceBlockBindings() 4624 for (const InterfaceBlock &uniformBlock : mState.getUniformBlocks()) in serialize() local 4626 WriteInterfaceBlock(&stream, uniformBlock); in serialize() [all …]
|
D | validationES.cpp | 2747 const InterfaceBlock &uniformBlock = program->getUniformBlockByIndex(uniformBlockIndex); in ValidateDrawStates() local 2759 if (uniformBufferSize < uniformBlock.dataSize) in ValidateDrawStates() 5995 const InterfaceBlock &uniformBlock = in ValidateGetActiveUniformBlockivBase() local 5997 *length = static_cast<GLsizei>(uniformBlock.memberIndexes.size()); in ValidateGetActiveUniformBlockivBase()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | TranslatorVulkan.cpp | 159 const TVariable *uniformBlock = DeclareInterfaceBlock( in DeclareDefaultUniforms() local 171 replacementType->setInterfaceBlockField(uniformBlock->getType().getInterfaceBlock(), in DeclareDefaultUniforms()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | ProgramGL.cpp | 804 for (const gl::InterfaceBlock &uniformBlock : mState.getUniformBlocks()) in setUniformBlockBinding() local 806 const std::string &mappedNameWithIndex = uniformBlock.mappedNameWithArrayIndex(); in setUniformBlockBinding()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | ProgramGL.cpp | 812 for (const gl::InterfaceBlock &uniformBlock : mState.getUniformBlocks()) in setUniformBlockBinding() local 814 const std::string &mappedNameWithIndex = uniformBlock.mappedNameWithArrayIndex(); in setUniformBlockBinding()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsUniformBlockCase.cpp | 767 void collectUniqueBasicTypes (std::set<glu::DataType>& basicTypes, const UniformBlock& uniformBlock) in collectUniqueBasicTypes() argument 769 for (UniformBlock::ConstIterator iter = uniformBlock.begin(); iter != uniformBlock.end(); ++iter) in collectUniqueBasicTypes()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 908 void collectUniqueBasicTypes (std::set<glu::DataType>& basicTypes, const UniformBlock& uniformBlock) in collectUniqueBasicTypes() argument 910 for (UniformBlock::ConstIterator iter = uniformBlock.begin(); iter != uniformBlock.end(); ++iter) in collectUniqueBasicTypes()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 908 void collectUniqueBasicTypes (std::set<glu::DataType>& basicTypes, const UniformBlock& uniformBlock) in collectUniqueBasicTypes() argument 910 for (UniformBlock::ConstIterator iter = uniformBlock.begin(); iter != uniformBlock.end(); ++iter) in collectUniqueBasicTypes()
|