Home
last modified time | relevance | path

Searched refs:uniformOffset (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/tests/graphite/
H A DCommandBufferTest.cpp79 size_t uniformOffset = 0; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local
96 commandBuffer->bindUniformBuffer(uniformBuffer, uniformOffset); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
98 uniformOffset += sizeof(UniformData); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
136 commandBuffer->bindUniformBuffer(uniformBuffer, uniformOffset); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/skia/src/gpu/vk/
H A DGrVkUniformHandler.cpp162 // add taking into consideration all alignment requirements. The uniformOffset is set to the offset
177 int32_t uniformOffset = *currentOffset + offsetDiff; in get_aligned_offset() local
183 *currentOffset = uniformOffset + elementSize * arrayCount; in get_aligned_offset()
185 *currentOffset = uniformOffset + grsltype_to_vk_size(type, layout); in get_aligned_offset()
187 return uniformOffset; in get_aligned_offset()
/third_party/skia/src/gpu/
H A DGrSPIRVUniformHandler.cpp174 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_offset() local
179 *currentOffset = uniformOffset + elementSize * arrayCount; in get_ubo_offset()
181 *currentOffset = uniformOffset + grsltype_to_size(type); in get_ubo_offset()
183 return uniformOffset; in get_ubo_offset()
/third_party/skia/experimental/graphite/src/
H A DUniformManager.cpp437 // taking into consideration all alignment requirements. The uniformOffset is set to the offset for
451 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset() local
454 *currentOffset = uniformOffset + sltype_to_mtl_size(type) * arrayCount; in get_ubo_aligned_offset()
456 *currentOffset = uniformOffset + sltype_to_mtl_size(type); in get_ubo_aligned_offset()
458 return uniformOffset; in get_ubo_aligned_offset()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fBasicComputeShaderTests.cpp1568 const deUint32 uniformOffset = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_OFFSET);
1573 const deUint32 resVal = *((const deUint32*)((const deUint8*)bufMap.getPtr() + uniformOffset));

Completed in 6 milliseconds