Home
last modified time | relevance | path

Searched refs:uniformOffset (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/tests/graphite/
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/flutter/skia/src/gpu/vk/
DGrVkUniformHandler.cpp181 static void get_ubo_aligned_offset(uint32_t* uniformOffset, in get_ubo_aligned_offset() argument
194 *uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset()
199 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset()
201 *currentOffset = *uniformOffset + grsltype_to_vk_size(type); in get_ubo_aligned_offset()
DGrVkPipelineStateDataManager.cpp315 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set()
317 buffer = static_cast<char*>(buffer) + uniformOffset; in set()
329 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set()
331 buffer = static_cast<char*>(buffer) + uniformOffset; in set()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnUniformHandler.cpp190 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_offset() local
195 *currentOffset = uniformOffset + elementSize * arrayCount; in get_ubo_offset()
197 *currentOffset = uniformOffset + grsltype_to_size(type); in get_ubo_offset()
199 return uniformOffset; in get_ubo_offset()
DGrDawnProgramDataManager.cpp245 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set()
247 buffer = static_cast<char*>(buffer) + uniformOffset; in set()
259 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set()
261 buffer = static_cast<char*>(buffer) + uniformOffset; in set()
/third_party/skia/src/gpu/
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/src/gpu/vk/
DGrVkUniformHandler.cpp177 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/experimental/graphite/src/mtl/
DMtlCommandBuffer.mm154 size_t uniformOffset) {
160 SkASSERT((uniformOffset & 0xFF) == 0);
162 SkASSERT((uniformOffset & 0xF) == 0);
164 fActiveRenderCommandEncoder->setVertexBuffer(mtlBuffer, uniformOffset,
166 fActiveRenderCommandEncoder->setFragmentBuffer(mtlBuffer, uniformOffset,
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm155 // taking into consideration all alignment requirements. The uniformOffset is set to the offset for
169 uint32_t uniformOffset = *currentOffset + offsetDiff;
172 *currentOffset = uniformOffset + grsltype_to_mtl_size(type) * arrayCount;
174 *currentOffset = uniformOffset + grsltype_to_mtl_size(type);
176 return uniformOffset;
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlPipelineStateDataManager.mm301 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) {
303 buffer = static_cast<char*>(buffer) + uniformOffset;
309 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) {
311 buffer = static_cast<char*>(buffer) + uniformOffset;
323 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) {
325 buffer = static_cast<char*>(buffer) + uniformOffset;
DGrMtlUniformHandler.mm178 // taking into consideration all alignment requirements. The uniformOffset is set to the offset for
180 static void get_ubo_aligned_offset(uint32_t* uniformOffset,
193 *uniformOffset = *currentOffset + offsetDiff;
196 *currentOffset = *uniformOffset + grsltype_to_mtl_size(type) * arrayCount;
198 *currentOffset = *uniformOffset + grsltype_to_mtl_size(type);
/third_party/skia/experimental/graphite/src/
DUniformManager.cpp451 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/
Des31fBasicComputeShaderTests.cpp1568 …const deUint32 uniformOffset = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, unifo… in iterate() local
1573 const deUint32 resVal = *((const deUint32*)((const deUint8*)bufMap.getPtr() + uniformOffset)); in iterate()