/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_large_constants.c | 42 void *constant_data; member 63 return memcmp(a->constant_data, b->constant_data, a_size); in var_info_cmp() 117 info->constant_data = rzalloc_size(mem_ctx, var_size); in handle_constant_store() 124 char *dst = (char *)info->constant_data + offset; in handle_constant_store() 330 shader->constant_data = rerzalloc_size(shader, shader->constant_data, in nir_opt_large_constants() 336 memcpy((char *)shader->constant_data + info->var->data.location, in nir_opt_large_constants() 337 info->constant_data, info->constant_data_size); in nir_opt_large_constants()
|
D | nir_opt_constant_folding.c | 250 uint8_t *data = (uint8_t*)b->shader->constant_data + base; in try_fold_intrinsic() 399 ralloc_free(shader->constant_data); in nir_opt_constant_folding() 400 shader->constant_data = NULL; in nir_opt_constant_folding()
|
D | nir_sweep.c | 165 ralloc_steal(nir, nir->constant_data); in nir_sweep()
|
D | nir_clone.c | 786 ns->constant_data = ralloc_size(ns, s->constant_data_size); in nir_shader_clone() 787 memcpy(ns->constant_data, s->constant_data, s->constant_data_size); in nir_shader_clone()
|
D | nir_serialize.c | 2144 blob_write_bytes(blob, nir->constant_data, nir->constant_data_size); in nir_serialize() 2197 ctx.nir->constant_data = in nir_deserialize() 2199 blob_copy_bytes(blob, ctx.nir->constant_data, in nir_deserialize()
|
D | nir.h | 3730 void *constant_data; member
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_print_asm.cpp | 82 if (program->constant_data.empty()) in print_constant_data() 86 for (unsigned i = 0; i < program->constant_data.size(); i += 32) { in print_constant_data() 88 unsigned line_size = std::min<size_t>(program->constant_data.size() - i, 32); in print_constant_data() 90 unsigned size = std::min<size_t>(program->constant_data.size() - (i + j), 4); in print_constant_data() 92 memcpy(&v, &program->constant_data[i + j], size); in print_constant_data()
|
D | aco_instruction_selection_setup.cpp | 810 while (ctx->program->constant_data.size() % 4u) in init_context() 811 ctx->program->constant_data.push_back(0); in init_context() 812 ctx->constant_data_offset = ctx->program->constant_data.size(); in init_context() 813 ctx->program->constant_data.insert(ctx->program->constant_data.end(), in init_context() 814 (uint8_t*)shader->constant_data, in init_context() 815 (uint8_t*)shader->constant_data + shader->constant_data_size); in init_context()
|
D | aco_print_ir.cpp | 886 if (program->constant_data.size()) { in aco_print_program() 888 for (unsigned i = 0; i < program->constant_data.size(); i += 32) { in aco_print_program() 890 unsigned line_size = std::min<size_t>(program->constant_data.size() - i, 32); in aco_print_program() 892 unsigned size = std::min<size_t>(program->constant_data.size() - (i + j), 4); in aco_print_program() 894 memcpy(&v, &program->constant_data[i + j], size); in aco_print_program()
|
D | aco_assembler.cpp | 1019 while (program->constant_data.size() % 4u) in emit_program() 1020 program->constant_data.push_back(0); in emit_program() 1022 code.insert(code.end(), (uint32_t*)program->constant_data.data(), in emit_program() 1023 (uint32_t*)(program->constant_data.data() + program->constant_data.size())); in emit_program()
|
D | aco_ir.h | 2099 std::vector<uint8_t> constant_data; variable
|
/third_party/mesa3d/src/gallium/frontends/clover/nir/ |
D | invocation.cpp | 523 assert(nir->constant_data == NULL); in spirv_to_nir() 524 nir->constant_data = rzalloc_size(nir, nir->constant_data_size); in spirv_to_nir() 525 nir_gather_explicit_io_initializers(nir, nir->constant_data, in spirv_to_nir() 577 const char *ptr = reinterpret_cast<const char *>(nir->constant_data); in spirv_to_nir() 584 nir->constant_data = NULL; in spirv_to_nir()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_kernel.c | 405 assert(nir->constant_data == NULL); in brw_kernel_from_spirv() 406 nir->constant_data = rzalloc_size(nir, nir->constant_data_size); in brw_kernel_from_spirv() 407 nir_gather_explicit_io_initializers(nir, nir->constant_data, in brw_kernel_from_spirv()
|
D | brw_vec4_tcs.cpp | 479 g.add_const_data(nir->constant_data, nir->constant_data_size); in brw_compile_tcs()
|
D | brw_vec4_gs_visitor.cpp | 839 g.add_const_data(nir->constant_data, nir->constant_data_size); in brw_compile_gs()
|
D | brw_shader.cpp | 1441 g.add_const_data(nir->constant_data, nir->constant_data_size); in brw_compile_tes()
|
D | brw_fs.cpp | 7628 g.add_const_data(nir->constant_data, nir->constant_data_size); in brw_compile_fs() 7880 g.add_const_data(nir->constant_data, nir->constant_data_size); in brw_compile_cs() 8093 assert(memcmp(resume_shaders[i]->constant_data, in brw_compile_bs() 8094 shader->constant_data, in brw_compile_bs() 8098 g.add_const_data(shader->constant_data, shader->constant_data_size); in brw_compile_bs()
|
D | brw_vec4_generator.cpp | 2291 brw_append_data(p, nir->constant_data, nir->constant_data_size, 32); in brw_vec4_generate_assembly()
|
D | brw_vec4.cpp | 2661 g.add_const_data(nir->constant_data, nir->constant_data_size); in brw_compile_vs()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_analyze_ubo_ranges.c | 661 v->constant_data = rzalloc_size(v, v->constant_data_size); in ir3_nir_lower_load_constant() 662 memcpy(v->constant_data, nir->constant_data, nir->constant_data_size); in ir3_nir_lower_load_constant()
|
D | ir3_shader.c | 160 memcpy(&bin[info->constant_data_offset / 4], v->constant_data, in ir3_shader_assemble() 162 ralloc_free(v->constant_data); in ir3_shader_assemble() 163 v->constant_data = NULL; in ir3_shader_assemble()
|
D | ir3_shader.h | 525 void *constant_data; member
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 49 LLVMValueRef constant_data; member 4175 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->constant_data, offset); in visit_intrinsic() 5414 if (!shader->constant_data) in setup_constant_data() 5417 LLVMValueRef data = LLVMConstStringInContext(ctx->ac.context, shader->constant_data, in setup_constant_data() 5426 ctx->constant_data = global; in setup_constant_data()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | genX_cmd_buffer.c | 2621 struct anv_address constant_data = { in emit_binding_table() local 2634 constant_data, constant_data_size, 1); in emit_binding_table() 2638 add_surface_reloc(cmd_buffer, surface_state, constant_data); in emit_binding_table()
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.2.0.rst | 1857 - nir: Add a little more docs about NIR's constant_data.
|