Home
last modified time | relevance | path

Searched refs:sysval (Results 1 – 25 of 43) sorted by relevance

12

/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_rt_intrinsics.c102 nir_ssa_def *sysval = NULL; in lower_rt_intrinsics_impl() local
107 sysval = stack_base_addr; in lower_rt_intrinsics_impl()
171 sysval = nir_extract_bits(b, data, 2, suboffset * 8, in lower_rt_intrinsics_impl()
181 sysval = nir_load_global_constant(b, addr, byte_size, in lower_rt_intrinsics_impl()
188 sysval = nir_channels(b, hotzone, 0xe); in lower_rt_intrinsics_impl()
192 sysval = globals.launch_size; in lower_rt_intrinsics_impl()
196 sysval = world_ray_in.orig; in lower_rt_intrinsics_impl()
200 sysval = world_ray_in.dir; in lower_rt_intrinsics_impl()
204 sysval = object_ray_in.orig; in lower_rt_intrinsics_impl()
208 sysval = object_ray_in.dir; in lower_rt_intrinsics_impl()
[all …]
Dbrw_nir_lower_cs_intrinsics.c54 nir_ssa_def *sysval; in lower_cs_intrinsics_convert_block() local
62 sysval = nir_u2u64(b, &intrinsic->dest.ssa); in lower_cs_intrinsics_convert_block()
64 sysval, in lower_cs_intrinsics_convert_block()
65 sysval->parent_instr); in lower_cs_intrinsics_convert_block()
208 sysval = local_id; in lower_cs_intrinsics_convert_block()
210 sysval = local_index; in lower_cs_intrinsics_convert_block()
230 sysval = in lower_cs_intrinsics_convert_block()
241 sysval = nir_u2u64(b, sysval); in lower_cs_intrinsics_convert_block()
243 nir_ssa_def_rewrite_uses(&intrinsic->dest.ssa, sysval); in lower_cs_intrinsics_convert_block()
/third_party/mesa3d/src/panfrost/util/
Dpan_sysval.c107 unsigned sysval = ~0; in panfrost_sysval_for_instr() local
112 sysval = panfrost_nir_sysval_for_intrinsic(intr); in panfrost_sysval_for_instr()
120 sysval = PAN_SYSVAL(TEXTURE_SIZE, in panfrost_sysval_for_instr()
134 return sysval; in panfrost_sysval_for_instr()
140 int sysval) in pan_lookup_sysval() argument
144 void *cached = _mesa_hash_table_u64_search(sysval_to_id, sysval); in pan_lookup_sysval()
153 _mesa_hash_table_u64_insert(sysval_to_id, sysval, (void *) ((uintptr_t) id + 1)); in pan_lookup_sysval()
154 sysvals->sysvals[id] = sysval; in pan_lookup_sysval()
Dpan_ir.h69 #define PAN_SYSVAL_TYPE(sysval) ((sysval) & 0xffff) argument
70 #define PAN_SYSVAL_ID(sysval) ((sysval) >> 16) argument
146 int sysval);
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_sysvals_to_varyings.c42 #define SYSVAL_TO_VARYING(opt, sysval, varying) \ in nir_lower_sysvals_to_varyings() argument
43 case SYSTEM_VALUE_ ## sysval: \ in nir_lower_sysvals_to_varyings()
Dnir_intrinsics.py46 indices, flags, sysval, bit_sizes): argument
72 assert isinstance(sysval, bool)
88 self.sysval = sysval
119 flags=[], sysval=False, bit_sizes=[]): argument
122 indices, flags, sysval, bit_sizes)
692 flags=[CAN_ELIMINATE, CAN_REORDER], sysval=True,
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c216 tgsi_get_sysval_semantic(unsigned sysval) in tgsi_get_sysval_semantic() argument
218 switch (sysval) { in tgsi_get_sysval_semantic()
Dtgsi_from_mesa.h56 tgsi_get_sysval_semantic(unsigned sysval);
/third_party/e2fsprogs/resize/
Dmain.c269 long sysval; in main() local
490 sysval = sysconf(_SC_PAGESIZE); in main()
491 if (sysval > 0) in main()
492 sys_page_size = sysval; in main()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.h65 _mesa_sysval_to_semantic(unsigned sysval);
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c69 in->input.sysval = ~0; in create_input()
1462 instr->input.sysval = slot; in add_sysval_input_compmask()
1464 so->inputs[n].sysval = true; in add_sysval_input_compmask()
1477 struct ir3_instruction *sysval = create_input(ctx, compmask); in create_sysval_input() local
1478 add_sysval_input_compmask(ctx, slot, compmask, sysval); in create_sysval_input()
1479 return sysval; in create_sysval_input()
1524 gl_system_value sysval; in nir_intrinsic_barycentric_sysval() local
1529 sysval = SYSTEM_VALUE_BARYCENTRIC_LINEAR_PIXEL; in nir_intrinsic_barycentric_sysval()
1531 sysval = SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL; in nir_intrinsic_barycentric_sysval()
1535 sysval = SYSTEM_VALUE_BARYCENTRIC_LINEAR_CENTROID; in nir_intrinsic_barycentric_sysval()
[all …]
Dir3_dce.c116 (instr->input.sysval == SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL)) in find_and_remove_unused()
Dir3_shader.h598 bool sysval : 1; /* slot is a gl_system_value */ member
994 if (so->inputs[j].sysval && (so->inputs[j].slot == slot)) in ir3_find_sysval_regid()
Dir3_parser.y230 static void add_sysval(unsigned reg, unsigned compmask, gl_system_value sysval) in add_sysval() argument
234 variant->inputs[n].sysval = true; in add_sysval()
235 variant->inputs[n].slot = sysval; in add_sysval()
/third_party/mesa3d/src/compiler/
Dshader_enums.c258 gl_system_value_name(gl_system_value sysval) in gl_system_value_name() argument
338 return NAME(sysval); in gl_system_value_name()
Dshader_enums.h800 const char *gl_system_value_name(gl_system_value sysval);
/third_party/e2fsprogs/misc/
Dbadblocks.c1067 long sysval; in main() local
1088 sysval = sysconf(_SC_PAGESIZE); in main()
1089 if (sysval > 0) in main()
1090 sys_page_size = sysval; in main()
Dmke2fs.c1575 long sysval; in PRS() local
1609 sysval = sysconf(_SC_PAGESIZE); in PRS()
1610 if (sysval > 0) in PRS()
1611 sys_page_size = sysval; in PRS()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_state.c3298 uint32_t sysval = shader->system_values[i]; in upload_sysvals() local
3301 if (BRW_PARAM_DOMAIN(sysval) == BRW_PARAM_DOMAIN_IMAGE) { in upload_sysvals()
3303 unsigned img = BRW_PARAM_IMAGE_IDX(sysval); in upload_sysvals()
3304 unsigned offset = BRW_PARAM_IMAGE_OFFSET(sysval); in upload_sysvals()
3311 } else if (sysval == BRW_PARAM_BUILTIN_ZERO) { in upload_sysvals()
3313 } else if (BRW_PARAM_BUILTIN_IS_CLIP_PLANE(sysval)) { in upload_sysvals()
3314 int plane = BRW_PARAM_BUILTIN_CLIP_PLANE_IDX(sysval); in upload_sysvals()
3315 int comp = BRW_PARAM_BUILTIN_CLIP_PLANE_COMP(sysval); in upload_sysvals()
3317 } else if (sysval == BRW_PARAM_BUILTIN_PATCH_VERTICES_IN) { in upload_sysvals()
3329 } else if (sysval >= BRW_PARAM_BUILTIN_TESS_LEVEL_OUTER_X && in upload_sysvals()
[all …]
/third_party/e2fsprogs/e2fsck/
Dunix.c1399 int sysval, sys_page_size = 4096; in main() local
1858 sysval = sysconf(_SC_PAGESIZE); in main()
1859 if (sysval > 0) in main()
1860 sys_page_size = sysval; in main()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c3545 uint32_t sysval = shader->system_values[i]; in upload_sysvals() local
3548 if (BRW_PARAM_DOMAIN(sysval) == BRW_PARAM_DOMAIN_IMAGE) { in upload_sysvals()
3550 unsigned img = BRW_PARAM_IMAGE_IDX(sysval); in upload_sysvals()
3551 unsigned offset = BRW_PARAM_IMAGE_OFFSET(sysval); in upload_sysvals()
3558 } else if (sysval == BRW_PARAM_BUILTIN_ZERO) { in upload_sysvals()
3560 } else if (BRW_PARAM_BUILTIN_IS_CLIP_PLANE(sysval)) { in upload_sysvals()
3561 int plane = BRW_PARAM_BUILTIN_CLIP_PLANE_IDX(sysval); in upload_sysvals()
3562 int comp = BRW_PARAM_BUILTIN_CLIP_PLANE_COMP(sysval); in upload_sysvals()
3564 } else if (sysval == BRW_PARAM_BUILTIN_PATCH_VERTICES_IN) { in upload_sysvals()
3576 } else if (sysval >= BRW_PARAM_BUILTIN_TESS_LEVEL_OUTER_X && in upload_sysvals()
[all …]
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c944 int sysval = ss->info.sysvals.sysvals[i]; in panfrost_upload_sysvals() local
946 switch (PAN_SYSVAL_TYPE(sysval)) { in panfrost_upload_sysvals()
957 PAN_SYSVAL_ID(sysval), in panfrost_upload_sysvals()
962 PAN_SYSVAL_ID(sysval), in panfrost_upload_sysvals()
983 PAN_SYSVAL_ID(sysval), in panfrost_upload_sysvals()
988 PAN_SYSVAL_ID(sysval), in panfrost_upload_sysvals()
1002 PAN_SYSVAL_ID(sysval), &uniforms[i]); in panfrost_upload_sysvals()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c391 if (vp->inputs[i].sysval) { in fd3_emit_vertex_bufs()
412 assert(!vp->inputs[i].sysval); in fd3_emit_vertex_bufs()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c389 if (vp->inputs[i].sysval) { in fd4_emit_vertex_bufs()
410 assert(!vp->inputs[i].sysval); in fd4_emit_vertex_bufs()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_tess.c575 static LLVMValueRef load_tess_level_default(struct si_shader_context *ctx, unsigned sysval) in load_tess_level_default() argument
583 offset = sysval == SYSTEM_VALUE_TESS_LEVEL_INNER_DEFAULT ? 4 : 0; in load_tess_level_default()

12