Searched refs:shader_size (Results 1 – 10 of 10) sorted by relevance
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineStateBuilder.cpp | 18 typedef size_t shader_size; typedef 129 shader_size vertSize = *((shader_size*) ((char*) cached.data() + offset)); in loadShadersFromCache() 130 offset += sizeof(shader_size); in loadShadersFromCache() 138 shader_size fragSize = *((shader_size*) ((char*) cached.data() + offset)); in loadShadersFromCache() 139 offset += sizeof(shader_size); in loadShadersFromCache() 147 shader_size geomSize = *((shader_size*) ((char*) cached.data() + offset)); in loadShadersFromCache() 148 offset += sizeof(shader_size); in loadShadersFromCache() 194 size_t dataLength = (sizeof(shader_size) + sizeof(SkSL::Program::Inputs)) * 3 + vert.length() + in storeShadersInCache() 200 *((shader_size*) (data.get() + offset)) = (shader_size) vert.length(); in storeShadersInCache() 201 offset += sizeof(shader_size); in storeShadersInCache() [all …]
|
/external/mesa3d/src/gallium/drivers/lima/ |
D | lima_program.c | 362 vs->bo = lima_bo_create(screen, vs->shader_size, 0); in lima_update_vs_state() 368 memcpy(lima_bo_map(vs->bo), vs->shader, vs->shader_size); in lima_update_vs_state() 430 fs->bo = lima_bo_create(screen, fs->shader_size, 0); in lima_update_fs_state() 436 memcpy(lima_bo_map(fs->bo), fs->shader, fs->shader_size); in lima_update_fs_state()
|
D | lima_context.h | 49 int shader_size; member 66 int shader_size; member
|
D | lima_draw.c | 288 VS_CMD_SHADER_ADDRESS(ctx->vs->bo->va, ctx->vs->shader_size); in lima_pack_vs_cmd() 289 VS_CMD_SHADER_INFO(ctx->vs->prefetch, ctx->vs->shader_size); in lima_pack_vs_cmd() 1150 job->dump, ctx->vs->bo->map, ctx->vs->shader_size, false, in lima_draw_vbo() 1154 job->dump, ctx->fs->bo->map, ctx->fs->shader_size, false, in lima_draw_vbo()
|
/external/libdrm/tests/amdgpu/ |
D | basic_tests.c | 2344 uint32_t shader_size; in amdgpu_dispatch_load_cs_shader() local 2350 shader_size = sizeof(bufferclear_cs_shader_gfx9); in amdgpu_dispatch_load_cs_shader() 2354 shader_size = sizeof(buffercopy_cs_shader_gfx9); in amdgpu_dispatch_load_cs_shader() 2358 shader_size = sizeof(memcpy_ps_hang); in amdgpu_dispatch_load_cs_shader() 2365 memcpy(ptr, shader, shader_size); in amdgpu_dispatch_load_cs_shader() 2996 uint32_t shader_size, patchinfo_code_size; in amdgpu_draw_load_ps_shader() local 3004 shader_size = sizeof(ps_const_shader_gfx9); in amdgpu_draw_load_ps_shader() 3011 shader_size = sizeof(ps_tex_shader_gfx9); in amdgpu_draw_load_ps_shader() 3018 shader_size = sizeof(memcpy_ps_hang); in amdgpu_draw_load_ps_shader() 3020 memcpy(ptr, shader, shader_size); in amdgpu_draw_load_ps_shader() [all …]
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_program.c | 390 uint32_t shader_size; in v3d_get_compiled_shader() local 396 program_id, variant_id, &shader_size); in v3d_get_compiled_shader() 401 if (shader_size) { in v3d_get_compiled_shader() 402 u_upload_data(v3d->state_uploader, 0, shader_size, 8, in v3d_get_compiled_shader()
|
/external/mesa3d/src/intel/tools/ |
D | aubinator_viewer.cpp | 273 size_t shader_size; member 358 window->shader, window->shader_size, in display_shader_window() 393 FILE *f = open_memstream(&window->shader, &window->shader_size); in new_shader_window()
|
/external/mesa3d/src/mesa/main/ |
D | shaderapi.c | 1990 int len, shader_size = 0; in _mesa_read_shader_source() local 2011 shader_size = ftell(f); in _mesa_read_shader_source() 2013 assert(shader_size); in _mesa_read_shader_source() 2016 shader_size++; in _mesa_read_shader_source() 2018 buffer = malloc(shader_size); in _mesa_read_shader_source() 2021 len = fread(buffer, 1, shader_size, f); in _mesa_read_shader_source()
|
/external/mesa3d/src/gallium/drivers/lima/ir/gp/ |
D | codegen.c | 607 comp->prog->shader_size = num_instr * sizeof(gpir_codegen_instr); in gpir_codegen_prog()
|
/external/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | codegen.c | 816 comp->prog->shader_size = size * sizeof(uint32_t); in ppir_codegen_prog()
|