Home
last modified time | relevance | path

Searched refs:shader_data (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/amd/common/
Dac_rgp_elf_object_pack.c133 record->shader_data[i].hash[0]); in ac_rgp_write_msgpack()
138 record->shader_data[i].hw_stage]); in ac_rgp_write_msgpack()
149 if (record->shader_data[i].is_combined) in ac_rgp_write_msgpack()
153 record->shader_data[i].hw_stage]); in ac_rgp_write_msgpack()
157 record->shader_data[i].hw_stage]); in ac_rgp_write_msgpack()
161 record->shader_data[i].sgpr_count); in ac_rgp_write_msgpack()
165 record->shader_data[i].vgpr_count); in ac_rgp_write_msgpack()
169 record->shader_data[i].scratch_memory_size); in ac_rgp_write_msgpack()
173 record->shader_data[i].wavefront_size); in ac_rgp_write_msgpack()
209 if (record->shader_data[i].is_combined) { in get_lowest_shader()
[all …]
Dac_rgp.h66 struct rgp_shader_data shader_data[MESA_VULKAN_SHADER_STAGES]; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sqtt.c693 free(record->shader_data[i].code); in si_destroy_thread_trace()
1056 …record->shader_data[gl_shader_stage].hash[0] = _mesa_hash_data(code, shader->binary.uploaded_code_… in si_sqtt_add_code_object()
1057 record->shader_data[gl_shader_stage].hash[1] = record->shader_data[gl_shader_stage].hash[0]; in si_sqtt_add_code_object()
1058 record->shader_data[gl_shader_stage].code_size = shader->binary.uploaded_code_size; in si_sqtt_add_code_object()
1059 record->shader_data[gl_shader_stage].code = code; in si_sqtt_add_code_object()
1060 record->shader_data[gl_shader_stage].vgpr_count = shader->config.num_vgprs; in si_sqtt_add_code_object()
1061 record->shader_data[gl_shader_stage].sgpr_count = shader->config.num_sgprs; in si_sqtt_add_code_object()
1062 record->shader_data[gl_shader_stage].base_address = va & 0xffffffffffff; in si_sqtt_add_code_object()
1063 record->shader_data[gl_shader_stage].elf_symbol_offset = 0; in si_sqtt_add_code_object()
1064 record->shader_data[gl_shader_stage].hw_stage = hw_stage; in si_sqtt_add_code_object()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestgles2.c363 typedef struct shader_data struct
372 } shader_data; argument
375 Render(unsigned int width, unsigned int height, shader_data* data) in Render()
417 shader_data *datas;
485 shader_data *data; in main()
643 datas = (shader_data *)SDL_calloc(state->num_windows, sizeof(shader_data)); in main()
/third_party/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c899 record->shader_data[i].hash[0] = (uint64_t)(uintptr_t)shader; in radv_add_code_object()
900 record->shader_data[i].hash[1] = (uint64_t)(uintptr_t)shader >> 32; in radv_add_code_object()
901 record->shader_data[i].code_size = shader->code_size; in radv_add_code_object()
902 record->shader_data[i].code = code; in radv_add_code_object()
903 record->shader_data[i].vgpr_count = shader->config.num_vgprs; in radv_add_code_object()
904 record->shader_data[i].sgpr_count = shader->config.num_sgprs; in radv_add_code_object()
905 record->shader_data[i].scratch_memory_size = shader->config.scratch_bytes_per_wave; in radv_add_code_object()
906 record->shader_data[i].wavefront_size = shader->info.wave_size; in radv_add_code_object()
907 record->shader_data[i].base_address = va & 0xffffffffffff; in radv_add_code_object()
908 record->shader_data[i].elf_symbol_offset = 0; in radv_add_code_object()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/
Damber.cc164 const ShaderMap& shader_data) { in ExecuteWithShaderData() argument
175 executor.Execute(engine.get(), script, shader_data, opts, GetDelegate()); in ExecuteWithShaderData()
/third_party/vk-gl-cts/external/amber/src/include/amber/
Dshader_info.h60 std::vector<uint32_t> shader_data; member
Damber.h161 const ShaderMap& shader_data);
/third_party/mesa3d/src/amd/vulkan/
Dradv_device_generated_commands.c52 if (locs->shader_data[AC_UD_PUSH_CONSTANTS].sgpr_idx >= 0) { in radv_get_sequence_size()
57 if (locs->shader_data[AC_UD_INLINE_PUSH_CONSTANTS].sgpr_idx >= 0) in radv_get_sequence_size()
59 *cmd_size += (2 + locs->shader_data[AC_UD_INLINE_PUSH_CONSTANTS].num_sgprs) * 4; in radv_get_sequence_size()
1245 if (locs->shader_data[AC_UD_PUSH_CONSTANTS].sgpr_idx >= 0) in radv_prepare_dgc()
1248 if (locs->shader_data[AC_UD_PUSH_CONSTANTS].sgpr_idx >= 0 || in radv_prepare_dgc()
1249 locs->shader_data[AC_UD_INLINE_PUSH_CONSTANTS].sgpr_idx >= 0) { in radv_prepare_dgc()
1253 if (locs->shader_data[AC_UD_PUSH_CONSTANTS].sgpr_idx >= 0) { in radv_prepare_dgc()
1255 … (graphics_pipeline->base.user_data_0[i] + 4 * locs->shader_data[AC_UD_PUSH_CONSTANTS].sgpr_idx - in radv_prepare_dgc()
1260 if (locs->shader_data[AC_UD_INLINE_PUSH_CONSTANTS].sgpr_idx >= 0) { in radv_prepare_dgc()
1262 4 * locs->shader_data[AC_UD_INLINE_PUSH_CONSTANTS].sgpr_idx - in radv_prepare_dgc()
Dradv_shader_args.c44 struct radv_userdata_info *ud_info = &args->user_sgprs_locs.shader_data[idx]; in set_loc_shader()
555 args->user_sgprs_locs.shader_data[i].sgpr_idx = -1; in radv_declare_shader_args()
Dradv_shader.h196 struct radv_userdata_info shader_data[AC_UD_MAX_UD]; member
Dradv_nir_apply_pipeline_layout.c59 if (user_sgprs_locs->shader_data[AC_UD_INDIRECT_DESCRIPTOR_SETS].sgpr_idx != -1) { in load_desc_ptr()
Dradv_cmd_buffer.c981 return &shader->info.user_sgprs_locs.shader_data[idx]; in radv_lookup_user_sgpr()
3298 &vs_shader->info.user_sgprs_locs.shader_data[AC_UD_VS_PROLOG_INPUTS]; in emit_prolog_inputs()
3907 … loc = &pipeline->base.gs_copy_shader->info.user_sgprs_locs.shader_data[AC_UD_STREAMOUT_BUFFERS]; in radv_emit_streamout_buffers()
6578 &pipeline->base.gs_copy_shader->info.user_sgprs_locs.shader_data[AC_UD_VIEW_INDEX]; in radv_emit_view_index()
7514 …const int8_t nggc_sgpr_idx = v->info.user_sgprs_locs.shader_data[AC_UD_NGG_CULLING_SETTINGS].sgpr_… in radv_emit_ngg_culling_state()
7547 const int8_t vp_sgpr_idx = v->info.user_sgprs_locs.shader_data[AC_UD_NGG_VIEWPORT].sgpr_idx; in radv_emit_ngg_culling_state()
Dradv_nir_to_llvm.c110 if (user_sgprs_locs->shader_data[AC_UD_INDIRECT_DESCRIPTOR_SETS].sgpr_idx != -1) { in load_descriptor_sets()
/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
113 SDL_snprintf(dword, sizeof(dword), "0x%8.8x", shader_data[i]); in PrintShaderData()
751 LPDWORD shader_data = NULL; in D3D_CreateRenderer() local
755 shader_data = (DWORD*)pCode->lpVtbl->GetBufferPointer(pCode); in D3D_CreateRenderer()
757 PrintShaderData(shader_data, shader_size); in D3D_CreateRenderer()
763 const DWORD shader_data[] = { in D3D_CreateRenderer()
781 if (shader_data != NULL) { in D3D_CreateRenderer()
782 result = IDirect3DDevice9_CreatePixelShader(data->device, shader_data, &data->ps_yuv); in D3D_CreateRenderer()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_uniforms.c129 uint32_t shader_data) in write_texture_p0() argument
134 cl_aligned_u32(uniforms, shader_data | sampler->p0); in write_texture_p0()
/third_party/vk-gl-cts/external/amber/src/samples/
Damber.cc637 shader_file << disassemble(options.spv_env, sh.shader_data)