Searched refs:uniformOffset (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/gpu/ |
D | GrSPIRVUniformHandler.cpp | 197 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()
|
D | GrUniformDataManager.cpp | 281 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/ |
D | GrVkUniformHandler.cpp | 179 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()
|
D | GrVkPipelineStateDataManager.cpp | 341 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/ |
D | GrVkUniformHandler.cpp | 204 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/ |
D | GrMtlUniformHandler.mm | 187 // 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/ |
D | GrMtlUniformHandler.mm | 173 // 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);
|
D | GrMtlPipelineStateDataManager.mm | 342 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/ |
D | es31fBasicComputeShaderTests.cpp | 1568 …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()
|