Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrSPIRVUniformHandler.cpp197 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_offset() local
202 *currentOffset = uniformOffset + elementSize * arrayCount; in get_ubo_offset()
204 *currentOffset = uniformOffset + grsltype_to_size(type); in get_ubo_offset()
206 return uniformOffset; in get_ubo_offset()
DGrUniformDataManager.cpp281 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set()
282 buffer = static_cast<char*>(buffer) + uniformOffset; in set()
294 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set()
295 buffer = static_cast<char*>(buffer) + uniformOffset; in set()
/external/skqp/src/gpu/vk/
DGrVkUniformHandler.cpp179 static void get_ubo_aligned_offset(uint32_t* uniformOffset, in get_ubo_aligned_offset() argument
192 *uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset()
197 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset()
199 *currentOffset = *uniformOffset + grsltype_to_vk_size(type); in get_ubo_aligned_offset()
DGrVkPipelineStateDataManager.cpp341 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set()
343 buffer = static_cast<char*>(buffer) + uniformOffset; in set()
355 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set()
357 buffer = static_cast<char*>(buffer) + uniformOffset; in set()
/external/skia/src/gpu/vk/
DGrVkUniformHandler.cpp204 int32_t uniformOffset = *currentOffset + offsetDiff; in get_aligned_offset() local
210 *currentOffset = uniformOffset + elementSize * arrayCount; in get_aligned_offset()
212 *currentOffset = uniformOffset + grsltype_to_vk_size(type, layout); in get_aligned_offset()
214 return uniformOffset; in get_aligned_offset()
/external/skia/src/gpu/mtl/
DGrMtlUniformHandler.mm187 // taking into consideration all alignment requirements. The uniformOffset is set to the offset for
201 uint32_t uniformOffset = *currentOffset + offsetDiff;
204 *currentOffset = uniformOffset + grsltype_to_mtl_size(type) * arrayCount;
206 *currentOffset = uniformOffset + grsltype_to_mtl_size(type);
208 return uniformOffset;
/external/skqp/src/gpu/mtl/
DGrMtlUniformHandler.mm173 // taking into consideration all alignment requirements. The uniformOffset is set to the offset for
175 static void get_ubo_aligned_offset(uint32_t* uniformOffset,
184 *uniformOffset = *currentOffset + offsetDiff;
189 *currentOffset = *uniformOffset + elementSize * arrayCount;
191 *currentOffset = *uniformOffset + grsltype_to_mtl_size(type);
DGrMtlPipelineStateDataManager.mm342 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) {
344 buffer = static_cast<char*>(buffer) + uniformOffset;
356 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) {
358 buffer = static_cast<char*>(buffer) + uniformOffset;
/external/deqp/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()