/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_disk_cache.c | 57 blob_write_bytes(&blob, shader->shader, shader->state.shader_size); in lima_vs_disk_cache_store() 85 blob_write_bytes(&blob, shader->shader, shader->state.shader_size); in lima_fs_disk_cache_store() 125 shader->shader = rzalloc_size(shader, shader->state.shader_size); in lima_vs_disk_cache_retrieve() 128 blob_copy_bytes(&blob, shader->shader, shader->state.shader_size); in lima_vs_disk_cache_retrieve() 177 shader->shader = rzalloc_size(shader, shader->state.shader_size); in lima_fs_disk_cache_retrieve() 180 blob_copy_bytes(&blob, shader->shader, shader->state.shader_size); in lima_fs_disk_cache_retrieve()
|
D | lima_context.h | 51 int shader_size; member 85 int shader_size; member
|
D | lima_program.c | 331 fs->bo = lima_bo_create(screen, fs->state.shader_size, 0); in lima_fs_upload_shader() 337 memcpy(lima_bo_map(fs->bo), fs->shader, fs->state.shader_size); in lima_fs_upload_shader() 505 vs->bo = lima_bo_create(screen, vs->state.shader_size, 0); in lima_vs_upload_shader() 511 memcpy(lima_bo_map(vs->bo), vs->shader, vs->state.shader_size); in lima_vs_upload_shader()
|
D | lima_draw.c | 309 VS_CMD_SHADER_ADDRESS(ctx->vs->bo->va, ctx->vs->state.shader_size); in lima_pack_vs_cmd() 310 VS_CMD_SHADER_INFO(ctx->vs->state.prefetch, ctx->vs->state.shader_size); in lima_pack_vs_cmd() 1182 job->dump, ctx->vs->bo->map, ctx->vs->state.shader_size, false, in lima_draw_vbo() 1184 lima_dump_shader(job->dump, ctx->vs->bo->map, ctx->vs->state.shader_size, false); in lima_draw_vbo() 1187 job->dump, ctx->fs->bo->map, ctx->fs->state.shader_size, false, in lima_draw_vbo() 1189 lima_dump_shader(job->dump, ctx->fs->bo->map, ctx->fs->state.shader_size, true); in lima_draw_vbo()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_hardcode.c | 76 size_t shader_size; member 109 .shader_size = sizeof(pvr_simple_compute_shader), 205 data->compute.shader_size, in pvr_hard_code_compute_pipeline()
|
/third_party/libdrm/tests/amdgpu/ |
D | basic_tests.c | 2498 uint32_t shader_size; in amdgpu_dispatch_load_cs_shader() local 2505 shader_size = sizeof(bufferclear_cs_shader_gfx9); in amdgpu_dispatch_load_cs_shader() 2508 shader_size = sizeof(bufferclear_cs_shader_gfx10); in amdgpu_dispatch_load_cs_shader() 2514 shader_size = sizeof(buffercopy_cs_shader_gfx9); in amdgpu_dispatch_load_cs_shader() 2517 shader_size = sizeof(buffercopy_cs_shader_gfx10); in amdgpu_dispatch_load_cs_shader() 2522 shader_size = sizeof(memcpy_ps_hang); in amdgpu_dispatch_load_cs_shader() 2529 memcpy(ptr, shader, shader_size); in amdgpu_dispatch_load_cs_shader() 3236 uint32_t shader_size, patchinfo_code_size; in amdgpu_draw_load_ps_shader() local 3245 shader_size = sizeof(ps_const_shader_gfx9); in amdgpu_draw_load_ps_shader() 3251 shader_size = sizeof(ps_const_shader_gfx10); in amdgpu_draw_load_ps_shader() [all …]
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_program.c | 397 uint32_t shader_size; in v3d_get_compiled_shader() local 403 program_id, variant_id, &shader_size); in v3d_get_compiled_shader() 406 if (shader_size) { in v3d_get_compiled_shader() 407 u_upload_data(v3d->state_uploader, 0, shader_size, 8, in v3d_get_compiled_shader() 412 v3d_disk_cache_store(v3d, key, shader, qpu_insts, shader_size); in v3d_get_compiled_shader()
|
/third_party/mesa3d/src/intel/tools/ |
D | aubinator_viewer.cpp | 275 size_t shader_size; member 360 window->shader, window->shader_size, in display_shader_window() 395 FILE *f = open_memstream(&window->shader, &window->shader_size); in new_shader_window()
|
/third_party/mesa3d/src/mesa/main/ |
D | shaderapi.c | 2000 int len, shader_size = 0; in _mesa_read_shader_source() local 2046 shader_size = ftell(f); in _mesa_read_shader_source() 2048 assert(shader_size); in _mesa_read_shader_source() 2051 shader_size++; in _mesa_read_shader_source() 2053 buffer = malloc(shader_size); in _mesa_read_shader_source() 2056 len = fread(buffer, 1, shader_size, f); in _mesa_read_shader_source()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/ |
D | codegen.c | 607 comp->prog->state.shader_size = num_instr * sizeof(gpir_codegen_instr); in gpir_codegen_prog()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | codegen.c | 861 comp->prog->state.shader_size = size * sizeof(uint32_t); in ppir_codegen_prog()
|