Home
last modified time | relevance | path

Searched refs:blockIndex (Results 1 – 25 of 63) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DStagingDescriptorAllocatorD3D12.cpp56 const Index blockIndex = buffer.freeBlockIndices.back(); in AllocateCPUDescriptors() local
65 buffer.heap->GetCPUDescriptorHandleForHeapStart().ptr + (blockIndex * mBlockSize)}; in AllocateCPUDescriptors()
88 for (Index blockIndex = 0; blockIndex < freeBlockIndicesSize; blockIndex++) { in AllocateCPUHeap() local
89 newBuffer.freeBlockIndices.push_back(blockIndex); in AllocateCPUHeap()
119 const Index blockIndex = (baseDescriptor.ptr - heapStart.ptr) / mBlockSize; in Deallocate() local
121 freeBlockIndices.emplace_back(blockIndex); in Deallocate()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp176 …const deUint32 blockIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM_BLOCK, … in iterate() local
177 …o blockInfo = getProgramInterfaceBlockInfo(gl, program.getProgram(), GL_UNIFORM_BLOCK, blockIndex); in iterate()
191 gl.uniformBlockBinding(program.getProgram(), blockIndex, 0); in iterate()
198 …const deUint32 blockIndex = gl.getProgramResourceIndex(program.getProgram(), GL_SHADER_STORAGE_B… in iterate() local
199 …tProgramResourceInt(gl, program.getProgram(), GL_SHADER_STORAGE_BLOCK, blockIndex, GL_BUFFER_DATA_… in iterate()
213 …const deUint32 blockIndex = gl.getProgramResourceIndex(program.getProgram(), GL_SHADER_STORAGE_… in iterate() local
214 …tProgramResourceInt(gl, program.getProgram(), GL_SHADER_STORAGE_BLOCK, blockIndex, GL_BUFFER_DATA_… in iterate()
298 …const deUint32 blockIndex = gl.getProgramResourceIndex(program.getProgram(), GL_SHADER_STORAGE_… in iterate() local
299 …Info = getProgramInterfaceBlockInfo(gl, program.getProgram(), GL_SHADER_STORAGE_BLOCK, blockIndex); in iterate()
321 …const deUint32 blockIndex = gl.getProgramResourceIndex(program.getProgram(), GL_SHADER_STORAGE_… in iterate() local
[all …]
/third_party/glslang/glslang/MachineIndependent/
Dreflection.cpp95 int blockIndex = -1; in addUniform() local
110blockIndex = addBlockName(blockName, base.getType(), intermediate.getBlockSize(base.getType())); in addUniform()
115 …blowUpActiveAggregate(base.getType(), baseName, derefs, derefs.end(), offset, blockIndex, 0, -1, 0, in addUniform()
252 … TList<TIntermBinary*>::const_iterator deref, int offset, int blockIndex, int arraySize, in blowUpActiveAggregate() argument
289 …blowUpActiveAggregate(*terminalType, newBaseName, derefs, nextDeref, offset, blockIndex, arraySize, in blowUpActiveAggregate()
373 … blowUpActiveAggregate(derefType, newBaseName, derefs, derefs.end(), offset, blockIndex, 0, in blowUpActiveAggregate()
413blockIndex, 0, dimSize, arrayStride, terminalType->getQualifier().storage, false); in blowUpActiveAggregate()
417 … blowUpActiveAggregate(derefType, newBaseName, derefs, derefs.end(), memberOffsets[i], blockIndex, in blowUpActiveAggregate()
421 … blowUpActiveAggregate(derefType, newBaseName, derefs, derefs.end(), memberOffsets[i], blockIndex, in blowUpActiveAggregate()
425 … blowUpActiveAggregate(derefType, newBaseName, derefs, derefs.end(), offset, blockIndex, 0, in blowUpActiveAggregate()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp44 Uniform::BlockInfo::BlockInfo(const glsl::Uniform& uniform, int blockIndex) in BlockInfo() argument
46 if(blockIndex >= 0) in BlockInfo()
48 index = blockIndex; in BlockInfo()
457 for(GLuint blockIndex = 0; blockIndex < numUniformBlocks; blockIndex++) in getUniformBlockIndex() local
459 const UniformBlock &uniformBlock = *uniformBlocks[blockIndex]; in getUniformBlockIndex()
465 return blockIndex; in getUniformBlockIndex()
1717 unsigned int blockIndex = GL_INVALID_INDEX; in linkUniforms() local
1723 blockIndex = getUniformBlockIndex(uniformBlockName); in linkUniforms()
1724 ASSERT(blockIndex != GL_INVALID_INDEX); in linkUniforms()
1742 if(!defineUniform(shader->getType(), uniform, Uniform::BlockInfo(uniform, blockIndex))) in linkUniforms()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.cpp240 int blockIndex) in UniformBlockEncodingVisitor() argument
245 mBlockIndex(blockIndex) in UniformBlockEncodingVisitor()
300 int blockIndex) in ShaderStorageBlockVisitor() argument
305 mBlockIndex(blockIndex) in ShaderStorageBlockVisitor()
1109 int blockIndex = static_cast<int>(mBlocksOut->size()); in defineInterfaceBlock() local
1116 shaderType, blockIndex)); in defineInterfaceBlock()
1181 int blockIndex) const in getVisitor()
1184 mUniformsOut, shaderType, blockIndex); in getVisitor()
1208 int blockIndex) const in getVisitor()
1211 mBufferVariablesOut, shaderType, blockIndex); in getVisitor()
DProgramLinkedResources.h129 int blockIndex) const = 0;
147 int blockIndex) const override;
167 int blockIndex) const override;
DProgram.h315 GLuint getShaderStorageBlockBinding(GLuint blockIndex) const in getShaderStorageBlockBinding() argument
317 ASSERT(blockIndex < mShaderStorageBlocks.size()); in getShaderStorageBlockBinding()
318 return mShaderStorageBlocks[blockIndex].binding; in getShaderStorageBlockBinding()
738 void getActiveUniformBlockName(const GLuint blockIndex,
742 void getActiveShaderStorageBlockName(const GLuint blockIndex,
DProgram.cpp311 for (unsigned int blockIndex = 0; blockIndex < numBlocks; blockIndex++) in GetInterfaceBlockIndex() local
313 const auto &block = list[blockIndex]; in GetInterfaceBlockIndex()
322 return blockIndex; in GetInterfaceBlockIndex()
2597 void Program::getActiveUniformBlockName(const GLuint blockIndex, in getActiveUniformBlockName() argument
2603 GetInterfaceBlockName(blockIndex, mState.mUniformBlocks, bufSize, length, blockName); in getActiveUniformBlockName()
2606 void Program::getActiveShaderStorageBlockName(const GLuint blockIndex, in getActiveShaderStorageBlockName() argument
2612 GetInterfaceBlockName(blockIndex, mState.mShaderStorageBlocks, bufSize, length, blockName); in getActiveShaderStorageBlockName()
4305 for (unsigned int blockIndex = 0; blockIndex < mState.mUniformBlocks.size(); blockIndex++) in initInterfaceBlockBindings() local
4307 InterfaceBlock &uniformBlock = mState.mUniformBlocks[blockIndex]; in initInterfaceBlockBindings()
4308 bindUniformBlock(blockIndex, uniformBlock.binding); in initInterfaceBlockBindings()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5UniformBlocksArrayIndexing.cpp184 glw::GLuint blockIndex = 0; in iterate() local
189 blockIndex = gl.getUniformBlockIndex(m_program_id, positionBlock.str().c_str()); in iterate()
192 gl.uniformBlockBinding(m_program_id, blockIndex, index_value); in iterate()
/third_party/openGLES/extensions/NV/
DNV_texture_compression_vtc.txt67 RESOLVED: Yes. The blockIndex computation works for
246 inside the image of blockIndex bytes where blockIndex is computed
250 blockIndex = blocksize * (ceil(w/4) * ceil(h/4) * 4*floor(d/4) +
255 blockIndex = blocksize * 4 * (floor(x/4) +
293 Jun 3, 2004 - Update blockIndex to support non-power-of-two dimensions
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_texture_compression_vtc.txt67 RESOLVED: Yes. The blockIndex computation works for
246 inside the image of blockIndex bytes where blockIndex is computed
250 blockIndex = blocksize * (ceil(w/4) * ceil(h/4) * 4*floor(d/4) +
255 blockIndex = blocksize * 4 * (floor(x/4) +
293 Jun 3, 2004 - Update blockIndex to support non-power-of-two dimensions
/third_party/vk-gl-cts/framework/opengl/
DgluProgramInterfaceQuery.hpp61 deUint32 blockIndex; //!< GL_BLOCK_INDEX member
74 , blockIndex (~0u /* GL_INVALID_INDEX */) in InterfaceVariableInfo()
DgluProgramInterfaceQuery.cpp90 info.blockIndex = getProgramResourceUint(gl, program, programInterface, index, GL_BLOCK_INDEX); in getProgramInterfaceVariableInfo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.h131 int blockIndex) const = 0;
156 int blockIndex) const override;
178 int blockIndex) const override;
DProgramLinkedResources.cpp244 int blockIndex) in UniformBlockEncodingVisitor() argument
249 mBlockIndex(blockIndex) in UniformBlockEncodingVisitor()
305 int blockIndex) in ShaderStorageBlockVisitor() argument
310 mBlockIndex(blockIndex) in ShaderStorageBlockVisitor()
1270 int blockIndex = static_cast<int>(mBlocksOut->size()); in defineInterfaceBlock() local
1277 shaderType, blockIndex)); in defineInterfaceBlock()
1349 int blockIndex) const in getVisitor()
1352 mUniformsOut, shaderType, blockIndex); in getVisitor()
1378 int blockIndex) const in getVisitor()
1381 mBufferVariablesOut, shaderType, blockIndex); in getVisitor()
DProgramExecutable.h231 GLuint getShaderStorageBlockBinding(GLuint blockIndex) const in getShaderStorageBlockBinding() argument
233 ASSERT(blockIndex < mShaderStorageBlocks.size()); in getShaderStorageBlockBinding()
234 return mShaderStorageBlocks[blockIndex].binding; in getShaderStorageBlockBinding()
DProgram.h243 GLuint getShaderStorageBlockBinding(GLuint blockIndex) const in getShaderStorageBlockBinding() argument
245 return mExecutable->getShaderStorageBlockBinding(blockIndex); in getShaderStorageBlockBinding()
603 void getActiveUniformBlockName(const UniformBlockIndex blockIndex,
607 void getActiveShaderStorageBlockName(const GLuint blockIndex,
DProgram.cpp327 for (unsigned int blockIndex = 0; blockIndex < numBlocks; blockIndex++) in GetInterfaceBlockIndex() local
329 const auto &block = list[blockIndex]; in GetInterfaceBlockIndex()
338 return blockIndex; in GetInterfaceBlockIndex()
3063 void Program::getActiveUniformBlockName(const UniformBlockIndex blockIndex, in getActiveUniformBlockName() argument
3069 GetInterfaceBlockName(blockIndex, mState.mExecutable->getUniformBlocks(), bufSize, length, in getActiveUniformBlockName()
3073 void Program::getActiveShaderStorageBlockName(const GLuint blockIndex, in getActiveShaderStorageBlockName() argument
3079 GetInterfaceBlockName({blockIndex}, mState.mExecutable->getShaderStorageBlocks(), bufSize, in getActiveShaderStorageBlockName()
4014 for (unsigned int blockIndex = 0; blockIndex < mState.mExecutable->getActiveUniformBlockCount(); in initInterfaceBlockBindings() local
4015 blockIndex++) in initInterfaceBlockBindings()
4017 InterfaceBlock &uniformBlock = mState.mExecutable->mUniformBlocks[blockIndex]; in initInterfaceBlockBindings()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.cpp111 for (size_t blockIndex : mState.getActiveUniformBlockBindingsMask()) in reapplyUBOBindingsIfNeeded() local
113 setUniformBlockBinding(static_cast<GLuint>(blockIndex), blocks[blockIndex].binding); in reapplyUBOBindingsIfNeeded()
807 GLuint blockIndex = in setUniformBlockBinding() local
809 mUniformBlockRealLocationMap.push_back(blockIndex); in setUniformBlockBinding()
826 GLuint blockIndex = mFunctions->getUniformBlockIndex(mProgramID, blockMappedName.c_str()); in getUniformBlockSize() local
827 if (blockIndex == GL_INVALID_INDEX) in getUniformBlockSize()
834 mFunctions->getActiveUniformBlockiv(mProgramID, blockIndex, GL_UNIFORM_BLOCK_DATA_SIZE, in getUniformBlockSize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.cpp111 for (size_t blockIndex : mState.getActiveUniformBlockBindingsMask()) in reapplyUBOBindingsIfNeeded() local
113 setUniformBlockBinding(static_cast<GLuint>(blockIndex), blocks[blockIndex].binding); in reapplyUBOBindingsIfNeeded()
815 GLuint blockIndex = in setUniformBlockBinding() local
817 mUniformBlockRealLocationMap.push_back(blockIndex); in setUniformBlockBinding()
834 GLuint blockIndex = mFunctions->getUniformBlockIndex(mProgramID, blockMappedName.c_str()); in getUniformBlockSize() local
835 if (blockIndex == GL_INVALID_INDEX) in getUniformBlockSize()
842 mFunctions->getActiveUniformBlockiv(mProgramID, blockIndex, GL_UNIFORM_BLOCK_DATA_SIZE, in getUniformBlockSize()
/third_party/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h12470 for(uint32_t blockIndex = 0; blockIndex < blockCount; ++blockIndex) in GetPoolStats() local
12472 const VmaDeviceMemoryBlock* const pBlock = m_Blocks[blockIndex]; in GetPoolStats()
12647 for(size_t blockIndex = 0; blockIndex < m_Blocks.size(); ++blockIndex ) in AllocatePage() local
12649 VmaDeviceMemoryBlock* const pCurrBlock = m_Blocks[blockIndex]; in AllocatePage()
12671 for(size_t blockIndex = m_Blocks.size(); blockIndex--; ) in AllocatePage() local
12673 VmaDeviceMemoryBlock* const pCurrBlock = m_Blocks[blockIndex]; in AllocatePage()
12787 for(size_t blockIndex = 0; blockIndex < m_Blocks.size(); ++blockIndex ) in AllocatePage() local
12789 VmaDeviceMemoryBlock* const pCurrBlock = m_Blocks[blockIndex]; in AllocatePage()
12823 for(size_t blockIndex = m_Blocks.size(); blockIndex--; ) in AllocatePage() local
12825 VmaDeviceMemoryBlock* const pCurrBlock = m_Blocks[blockIndex]; in AllocatePage()
[all …]
/third_party/typescript/src/compiler/transformers/
Dgenerators.ts284 let blockIndex = 0; // The index of the current block.
2642 blockIndex = 0;
2882 …for (; blockIndex < blockActions!.length && blockOffsets![blockIndex] <= operationIndex; blockInde…
2883 const block: CodeBlock = blocks[blockIndex]; constant
2884 const blockAction = blockActions![blockIndex];
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DProgramBinaryTest.cpp337 GLint blockIndex = glGetUniformBlockIndex(program.get(), "block"); in testBinaryAndUBOBlockIndexes() local
338 ASSERT_NE(-1, blockIndex); in testBinaryAndUBOBlockIndexes()
340 glUniformBlockBinding(program.get(), blockIndex, bindIndex); in testBinaryAndUBOBlockIndexes()
/third_party/mesa3d/src/amd/common/
Dac_surface_meta_address_test.c85 unsigned blockIndex = zb * sliceSizeInBlock + yb * pitchInBlock + xb; in gfx9_meta_addr_from_coord() local
86 unsigned coords[] = {x, y, z, sample, blockIndex}; in gfx9_meta_addr_from_coord()
110 address |= (blockIndex >> eq->bit[last].coord[0].ord) << last; in gfx9_meta_addr_from_coord()
/third_party/skia/third_party/externals/d3d12allocator/src/
DD3D12MemAlloc.cpp3461 for(size_t blockIndex = 0; blockIndex < m_Blocks.size(); ++blockIndex ) in AllocatePage() local
3463 NormalBlock* const pCurrBlock = m_Blocks[blockIndex]; in AllocatePage()
3689 for(size_t blockIndex = 0; blockIndex < m_Blocks.size(); ++blockIndex) in Remove() local
3691 if(m_Blocks[blockIndex] == pBlock) in Remove()
3693 m_Blocks.remove(blockIndex); in Remove()
3784 for(size_t blockIndex = blockCount; blockIndex--; ) in SetMinBytes() local
3786 NormalBlock* const block = m_Blocks[blockIndex]; in SetMinBytes()
3794 m_Blocks.remove(blockIndex); in SetMinBytes()

123