Home
last modified time | relevance | path

Searched refs:blockIndex (Results 1 – 25 of 58) 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/lzma/C/
DMtDec.c283 UInt64 blockIndex; in ThreadFunc2() local
308 blockIndex = p->blockIndex++; in ThreadFunc2()
312 res = MtDec_Progress_GetError_Spec(p, 0, 0, blockIndex, &wasInterrupted); in ThreadFunc2()
406 res = MtDec_Progress_GetError_Spec(p, 0, 0, blockIndex, &wasInterrupted); in ThreadFunc2()
555 res = MtDec_GetError_Spec(p, blockIndex, &wasInterrupted); in ThreadFunc2()
662 MtDec_Interrupt(p, blockIndex); in ThreadFunc2()
675 res = MtDec_Progress_GetError_Spec(p, inDelta, outDelta, blockIndex, &wasInterrupted); in ThreadFunc2()
777 MtDec_Interrupt(p, blockIndex); in ThreadFunc2()
1040 p->blockIndex = 1; // it must be larger than not_defined index (0) in MtDec_Code()
DMtCoder.c196 bi = mtc->blockIndex; in ThreadFunc2()
198 if (++mtc->blockIndex >= mtc->numBlocksMax) in ThreadFunc2()
199 mtc->blockIndex = 0; in ThreadFunc2()
507 p->blockIndex = 0; in MtCoder_Code()
DLzFindMt.c447 UInt32 blockIndex = 0; in HashThreadFunc() local
461 PRF(printf("Hash thread block = %d pos = %d\n", (unsigned)blockIndex, mt->MatchFinder->pos)); in HashThreadFunc()
493 UInt32 *heads = mt->hashBuf + GET_HASH_BLOCK_OFFSET(blockIndex++); in HashThreadFunc()
758 UInt32 blockIndex = 0; in BtThreadFunc() local
763 PRF(printf(" BT thread block = %d pos = %d\n", (unsigned)blockIndex, mt->pos)); in BtThreadFunc()
775 BtFillBlock(mt, blockIndex++); in BtThreadFunc()
DMtCoder.h117 unsigned blockIndex; member
DMtDec.h147 UInt64 blockIndex; member
D7z.h179 UInt32 *blockIndex, /* index of solid block */
/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/vk-gl-cts/framework/opengl/
DgluProgramInterfaceQuery.hpp61 deUint32 blockIndex; //!< GL_BLOCK_INDEX member
74 , blockIndex (~0u /* GL_INVALID_INDEX */) in InterfaceVariableInfo()
/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/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/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/astc-encoder/Test/
Dastc_test_functional.py1508 blockIndex = command.index("4x4")
1511 command[blockIndex] = badSize
1649 blockIndex = command.index("4x4")
1652 command[blockIndex] = badSize
1882 blockIndex = command.index("rgba")
1885 command[blockIndex] = badSwizzle
1927 blockIndex = command.index("rgba")
1930 command[blockIndex] = badSwizzle
/third_party/lzma/CPP/7zip/Archive/
DXzHandler.cpp609 unsigned blockIndex = 0; in Open2() local
625 if (blockIndex >= _stat.NumBlocks) in Open2()
628 CBlockInfo &block = _blocks[blockIndex++]; in Open2()
649 CBlockInfo &block = _blocks[blockIndex++]; in Open2()
654 _blocksArraySize = blockIndex; in Open2()
/third_party/lzma/DOC/
D7zC.txt124 UInt32 *blockIndex, /* index of solid block */
133 blockIndex,
/third_party/node/deps/v8/tools/turbolizer/src/
Drange-view.ts607 let blockIndex = 0;
609 const instrCount = this.view.blocksData.blockInstructionCountMap.get(blockIndex);
610 headerEl.appendChild(elementForBlockIndex(blockIndex, i, instrCount));
611 ++blockIndex;

123