Home
last modified time | relevance | path

Searched refs:shader_size (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_disk_cache.c57 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()
Dlima_context.h50 int shader_size; member
81 int shader_size; member
Dlima_program.c317 fs->bo = lima_bo_create(screen, fs->state.shader_size, 0); in lima_fs_upload_shader()
323 memcpy(lima_bo_map(fs->bo), fs->shader, fs->state.shader_size); in lima_fs_upload_shader()
491 vs->bo = lima_bo_create(screen, vs->state.shader_size, 0); in lima_vs_upload_shader()
497 memcpy(lima_bo_map(vs->bo), vs->shader, vs->state.shader_size); in lima_vs_upload_shader()
Dlima_draw.c294 VS_CMD_SHADER_ADDRESS(ctx->vs->bo->va, ctx->vs->state.shader_size); in lima_pack_vs_cmd()
295 VS_CMD_SHADER_INFO(ctx->vs->state.prefetch, ctx->vs->state.shader_size); in lima_pack_vs_cmd()
1181 job->dump, ctx->vs->bo->map, ctx->vs->state.shader_size, false, in lima_draw_vbo()
1183 lima_dump_shader(job->dump, ctx->vs->bo->map, ctx->vs->state.shader_size, false); in lima_draw_vbo()
1186 job->dump, ctx->fs->bo->map, ctx->fs->state.shader_size, false, in lima_draw_vbo()
1188 lima_dump_shader(job->dump, ctx->fs->bo->map, ctx->fs->state.shader_size, true); in lima_draw_vbo()
/third_party/libdrm/tests/amdgpu/
Dbasic_tests.c2160 uint32_t shader_size; in amdgpu_dispatch_load_cs_shader() local
2166 shader_size = sizeof(bufferclear_cs_shader_gfx9); in amdgpu_dispatch_load_cs_shader()
2170 shader_size = sizeof(buffercopy_cs_shader_gfx9); in amdgpu_dispatch_load_cs_shader()
2174 shader_size = sizeof(memcpy_ps_hang); in amdgpu_dispatch_load_cs_shader()
2181 memcpy(ptr, shader, shader_size); in amdgpu_dispatch_load_cs_shader()
2812 uint32_t shader_size, patchinfo_code_size; in amdgpu_draw_load_ps_shader() local
2820 shader_size = sizeof(ps_const_shader_gfx9); in amdgpu_draw_load_ps_shader()
2827 shader_size = sizeof(ps_tex_shader_gfx9); in amdgpu_draw_load_ps_shader()
2834 shader_size = sizeof(memcpy_ps_hang); in amdgpu_draw_load_ps_shader()
2836 memcpy(ptr, shader, shader_size); in amdgpu_draw_load_ps_shader()
[all …]
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_program.c390 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()
/third_party/flutter/skia/third_party/externals/sdl/src/render/direct3d/
DSDL_render_d3d.c94 static void PrintShaderData(LPDWORD shader_data, DWORD shader_size) in PrintShaderData() argument
100 for (i = 0; i < shader_size / sizeof(DWORD); ++i) { in PrintShaderData()
752 DWORD shader_size = 0; in D3D_CreateRenderer() local
756 shader_size = pCode->lpVtbl->GetBufferSize(pCode); in D3D_CreateRenderer()
757 PrintShaderData(shader_data, shader_size); in D3D_CreateRenderer()
/third_party/mesa3d/src/intel/tools/
Daubinator_viewer.cpp273 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()
/third_party/mesa3d/src/mesa/main/
Dshaderapi.c2039 int len, shader_size = 0; in _mesa_read_shader_source() local
2081 shader_size = ftell(f); in _mesa_read_shader_source()
2083 assert(shader_size); in _mesa_read_shader_source()
2086 shader_size++; in _mesa_read_shader_source()
2088 buffer = malloc(shader_size); in _mesa_read_shader_source()
2091 len = fread(buffer, 1, shader_size, f); in _mesa_read_shader_source()
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp20 typedef size_t shader_size; typedef
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dcodegen.c607 comp->prog->state.shader_size = num_instr * sizeof(gpir_codegen_instr); in gpir_codegen_prog()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dcodegen.c817 comp->prog->state.shader_size = size * sizeof(uint32_t); in ppir_codegen_prog()