/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_program.c | 79 enum brw_param_builtin *system_values, in iris_finalize_program() argument 87 shader->system_values = system_values; in iris_finalize_program() 97 ralloc_steal(shader, shader->system_values); in iris_finalize_program() 486 enum brw_param_builtin *system_values = in iris_setup_uniforms() local 558 system_values[ucp_idx[ucp] + i] = in iris_setup_uniforms() 571 system_values[patch_vert_idx] = in iris_setup_uniforms() 594 uint32_t *img_sv = &system_values[img_idx[img]]; in iris_setup_uniforms() 628 system_values[variable_group_size_idx + i] = in iris_setup_uniforms() 641 system_values[work_dim_idx] = BRW_PARAM_BUILTIN_WORK_DIM; in iris_setup_uniforms() 689 system_values = reralloc(mem_ctx, system_values, enum brw_param_builtin, in iris_setup_uniforms() [all …]
|
D | iris_disk_cache.c | 117 blob_write_bytes(&blob, shader->system_values, in iris_disk_cache_store() 183 uint32_t *system_values = NULL; in iris_disk_cache_retrieve() local 192 system_values = in iris_disk_cache_retrieve() 194 blob_copy_bytes(&blob, system_values, in iris_disk_cache_retrieve() 239 iris_finalize_program(shader, prog_data, so_decls, system_values, in iris_disk_cache_retrieve()
|
D | iris_context.h | 518 enum brw_param_builtin *system_values; member 998 enum brw_param_builtin *system_values,
|
D | iris_state.c | 3463 uint32_t sysval = shader->system_values[i]; in upload_sysvals()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_disk_cache.c | 116 blob_write_bytes(&blob, shader->system_values, in crocus_disk_cache_store() 168 uint32_t *system_values = NULL; in crocus_disk_cache_retrieve() local 177 system_values = in crocus_disk_cache_retrieve() 179 blob_copy_bytes(&blob, system_values, in crocus_disk_cache_retrieve() 219 prog_data, prog_data_size, so_decls, system_values, in crocus_disk_cache_retrieve()
|
D | crocus_program.c | 453 enum brw_param_builtin *system_values = in crocus_setup_uniforms() local 523 system_values[ucp_idx[ucp] + i] = in crocus_setup_uniforms() 535 system_values[patch_vert_idx] = in crocus_setup_uniforms() 557 uint32_t *img_sv = &system_values[img_idx[img]]; in crocus_setup_uniforms() 590 system_values[variable_group_size_idx + i] = in crocus_setup_uniforms() 637 system_values = reralloc(mem_ctx, system_values, enum brw_param_builtin, in crocus_setup_uniforms() 665 ralloc_free(system_values); in crocus_setup_uniforms() 666 system_values = NULL; in crocus_setup_uniforms() 689 *out_system_values = system_values; in crocus_setup_uniforms() 1192 enum brw_param_builtin *system_values; in crocus_compile_vs() local [all …]
|
D | crocus_program_cache.c | 192 enum brw_param_builtin *system_values, in crocus_upload_shader() argument 221 shader->system_values = system_values; in crocus_upload_shader() 230 ralloc_steal(shader, shader->system_values); in crocus_upload_shader()
|
D | crocus_context.h | 381 enum brw_param_builtin *system_values; member
|
D | crocus_state.c | 3550 uint32_t sysval = shader->system_values[i]; in upload_sysvals()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 960 const struct lp_bld_tgsi_system_values *system_values, in generate_vs() argument 985 params.system_values = system_values; in generate_vs() 1950 struct lp_bld_tgsi_system_values system_values; in draw_llvm_generate() local 1952 memset(&system_values, 0, sizeof(system_values)); in draw_llvm_generate() 2002 system_values.instance_id = LLVMGetParam(variant_func, 7); in draw_llvm_generate() 2004 system_values.base_instance = LLVMGetParam(variant_func, 9); in draw_llvm_generate() 2006 system_values.draw_id = LLVMGetParam(variant_func, 11); in draw_llvm_generate() 2007 system_values.view_index = LLVMGetParam(variant_func, 12); in draw_llvm_generate() 2016 lp_build_name(system_values.instance_id, "instance_id"); in draw_llvm_generate() 2018 lp_build_name(system_values.base_instance, "start_instance"); in draw_llvm_generate() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_cs.c | 325 struct lp_bld_tgsi_system_values system_values; in generate_compute() local 327 memset(&system_values, 0, sizeof(system_values)); in generate_compute() 358 …system_values.thread_id = LLVMGetUndef(LLVMArrayType(LLVMVectorType(int32_type, cs_type.length), 3… in generate_compute() 360 …system_values.thread_id = LLVMBuildInsertValue(builder, system_values.thread_id, tid_vals[i], i, "… in generate_compute() 363 system_values.block_id = LLVMGetUndef(LLVMVectorType(int32_type, 3)); in generate_compute() 365 …system_values.block_id = LLVMBuildInsertElement(builder, system_values.block_id, gtids[i], lp_buil… in generate_compute() 368 system_values.grid_size = LLVMGetUndef(LLVMVectorType(int32_type, 3)); in generate_compute() 370 …system_values.grid_size = LLVMBuildInsertElement(builder, system_values.grid_size, gstids[i], lp_b… in generate_compute() 372 system_values.work_dim = work_dim_arg; in generate_compute() 392 system_values.subgroup_id = subgroup_id; in generate_compute() [all …]
|
D | lp_state_fs.c | 662 struct lp_bld_tgsi_system_values system_values; in generate_fs_loop() local 664 memset(&system_values, 0, sizeof(system_values)); in generate_fs_loop() 667 system_values.front_facing = in generate_fs_loop() 670 system_values.front_facing = in generate_fs_loop() 671 LLVMBuildSExt(gallivm->builder, system_values.front_facing, in generate_fs_loop() 673 system_values.view_index = in generate_fs_loop() 975 system_values.sample_mask_in = LLVMBuildLoad(builder, post_depth_sample_mask_in, ""); in generate_fs_loop() 978 system_values.sample_mask_in = sample_mask_in; in generate_fs_loop() 992 system_values.sample_id = sample_loop_state.counter; in generate_fs_loop() 993 system_values.sample_mask_in = LLVMBuildAnd(builder, system_values.sample_mask_in, in generate_fs_loop() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_nir_soa.c | 1736 result[0] = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.instance_id); in emit_sysval_intrin() 1739 result[0] = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.base_instance); in emit_sysval_intrin() 1742 result[0] = bld->system_values.basevertex; in emit_sysval_intrin() 1745 result[0] = bld->system_values.firstvertex; in emit_sysval_intrin() 1748 result[0] = bld->system_values.vertex_id; in emit_sysval_intrin() 1751 result[0] = bld->system_values.prim_id; in emit_sysval_intrin() 1756 …tmp[i] = LLVMBuildExtractElement(gallivm->builder, bld->system_values.block_id, lp_build_const_int… in emit_sysval_intrin() 1765 result[i] = LLVMBuildExtractValue(gallivm->builder, bld->system_values.thread_id, i, ""); in emit_sysval_intrin() 1769 …r(&bld_base->uint_bld, LLVMBuildExtractElement(gallivm->builder, bld->system_values.block_size, lp… in emit_sysval_intrin() 1770 …r(&bld_base->uint_bld, LLVMBuildExtractElement(gallivm->builder, bld->system_values.block_size, lp… in emit_sysval_intrin() [all …]
|
D | lp_bld_tgsi_soa.c | 1135 res = bld->system_values.prim_id; in emit_fetch_gs_input() 1223 res = bld->system_values.prim_id; in emit_fetch_tcs_input() 1326 res = bld->system_values.prim_id; in emit_fetch_tes_input() 1489 res = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.instance_id); in emit_fetch_system_value() 1494 res = bld->system_values.vertex_id; in emit_fetch_system_value() 1499 res = bld->system_values.vertex_id_nobase; in emit_fetch_system_value() 1504 res = bld->system_values.basevertex; in emit_fetch_system_value() 1509 res = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.base_instance); in emit_fetch_system_value() 1514 res = bld->system_values.prim_id; in emit_fetch_system_value() 1520 res = bld->system_values.invocation_id; in emit_fetch_system_value() [all …]
|
D | lp_bld_tgsi.h | 273 const struct lp_bld_tgsi_system_values *system_values; member 575 struct lp_bld_tgsi_system_values system_values; member
|
D | lp_bld_nir.h | 274 struct lp_bld_tgsi_system_values system_values; member
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_meta.c | 443 gl_system_value system_values[] = { in dzn_meta_blits_get_vs() local 448 NIR_PASS_V(nir, dxil_nir_lower_system_values_to_zero, system_values, in dzn_meta_blits_get_vs() 449 ARRAY_SIZE(system_values)); in dzn_meta_blits_get_vs()
|
/third_party/mesa3d/src/microsoft/spirv_to_dxil/ |
D | dxil_spirv_nir.c | 612 gl_system_value system_values[] = {SYSTEM_VALUE_FIRST_VERTEX, in dxil_spirv_nir_passes() local 615 NIR_PASS_V(nir, dxil_nir_lower_system_values_to_zero, system_values, in dxil_spirv_nir_passes() 616 ARRAY_SIZE(system_values)); in dxil_spirv_nir_passes()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir.c | 1407 gl_system_value* system_values, in dxil_nir_lower_system_values_to_zero() argument 1410 zero_system_values_state state = { system_values, count }; in dxil_nir_lower_system_values_to_zero()
|
/third_party/mesa3d/src/microsoft/clc/ |
D | clc_compiler_test.cpp | 1906 TEST_F(ComputeTest, system_values) in TEST_F() argument
|