Home
last modified time | relevance | path

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

12

/external/mesa3d/src/panfrost/util/
Dpan_sysval.c77 unsigned sysval = ~0; in panfrost_sysval_for_instr() local
82 sysval = panfrost_nir_sysval_for_intrinsic(intr); in panfrost_sysval_for_instr()
90 sysval = PAN_SYSVAL(TEXTURE_SIZE, in panfrost_sysval_for_instr()
104 return sysval; in panfrost_sysval_for_instr()
110 int sysval = panfrost_sysval_for_instr(instr, NULL); in panfrost_nir_assign_sysval_body() local
111 if (sysval < 0) in panfrost_nir_assign_sysval_body()
116 if (_mesa_hash_table_u64_search(ctx->sysval_to_id, sysval)) in panfrost_nir_assign_sysval_body()
122 _mesa_hash_table_u64_insert(ctx->sysval_to_id, sysval, (void *) ((uintptr_t) id + 1)); in panfrost_nir_assign_sysval_body()
123 ctx->sysvals[id] = sysval; in panfrost_nir_assign_sysval_body()
Dpan_ir.h40 #define PAN_SYSVAL_TYPE(sysval) ((sysval) & 0xffff) argument
41 #define PAN_SYSVAL_ID(sysval) ((sysval) >> 16) argument
/external/mesa3d/src/intel/compiler/
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 nir_src_for_ssa(sysval), in lower_cs_intrinsics_convert_block()
65 sysval->parent_instr); in lower_cs_intrinsics_convert_block()
155 sysval = local_id; in lower_cs_intrinsics_convert_block()
157 sysval = local_index; in lower_cs_intrinsics_convert_block()
177 sysval = in lower_cs_intrinsics_convert_block()
188 sysval = nir_u2u64(b, sysval); in lower_cs_intrinsics_convert_block()
190 nir_ssa_def_rewrite_uses(&intrinsic->dest.ssa, nir_src_for_ssa(sysval)); in lower_cs_intrinsics_convert_block()
/external/mesa3d/src/compiler/nir/
Dnir_intrinsics.py35 indices, flags, sysval, bit_sizes): argument
61 assert isinstance(sysval, bool)
73 self.sysval = sysval
172 flags=[], sysval=False, bit_sizes=[]): argument
175 indices, flags, sysval, bit_sizes)
618 flags=[CAN_ELIMINATE, CAN_REORDER], sysval=True,
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c214 tgsi_get_sysval_semantic(unsigned sysval) in tgsi_get_sysval_semantic() argument
216 switch (sysval) { in tgsi_get_sysval_semantic()
Dtgsi_from_mesa.h56 tgsi_get_sysval_semantic(unsigned sysval);
/external/e2fsprogs/resize/
Dmain.c270 long sysval; in main() local
496 sysval = sysconf(_SC_PAGESIZE); in main()
497 if (sysval > 0) in main()
498 sys_page_size = sysval; in main()
/external/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c59 in->input.sysval = ~0; in create_input()
1342 instr->input.sysval = slot; in add_sysval_input_compmask()
1344 so->inputs[n].sysval = true; in add_sysval_input_compmask()
1355 struct ir3_instruction *sysval = create_input(ctx, compmask); in create_sysval_input() local
1356 add_sysval_input_compmask(ctx, slot, compmask, sysval); in create_sysval_input()
1357 return sysval; in create_sysval_input()
1394 gl_system_value sysval; in nir_intrinsic_barycentric_sysval() local
1399 sysval = SYSTEM_VALUE_BARYCENTRIC_LINEAR_PIXEL; in nir_intrinsic_barycentric_sysval()
1401 sysval = SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL; in nir_intrinsic_barycentric_sysval()
1405 sysval = SYSTEM_VALUE_BARYCENTRIC_LINEAR_CENTROID; in nir_intrinsic_barycentric_sysval()
[all …]
Dir3_dce.c131 (instr->input.sysval == SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL)) in find_and_remove_unused()
Dir3_shader.h601 bool sysval : 1; /* slot is a gl_system_value */ member
974 if (so->inputs[j].sysval && (so->inputs[j].slot == slot)) in ir3_find_sysval_regid()
Dir3_parser.y174 static void add_sysval(unsigned reg, unsigned compmask, gl_system_value sysval) in add_sysval() argument
178 variant->inputs[n].sysval = true; in add_sysval()
179 variant->inputs[n].slot = sysval; in add_sysval()
Dir3_shader.c506 if (so->inputs[i].sysval) { in input_name()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.h65 _mesa_sysval_to_semantic(unsigned sysval);
/external/mesa3d/src/compiler/
Dshader_enums.c231 gl_system_value_name(gl_system_value sysval) in gl_system_value_name() argument
309 return NAME(sysval); in gl_system_value_name()
Dshader_enums.h705 const char *gl_system_value_name(gl_system_value sysval);
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_assemble.c282 memcpy(state->sysval, program->sysvals, sizeof(state->sysval[0]) * state->sysval_count); in panfrost_shader_compile()
Dpan_cmdstream.c810 int sysval = ss->sysval[i]; in panfrost_upload_sysvals() local
812 switch (PAN_SYSVAL_TYPE(sysval)) { in panfrost_upload_sysvals()
823 PAN_SYSVAL_ID(sysval), in panfrost_upload_sysvals()
828 PAN_SYSVAL_ID(sysval), in panfrost_upload_sysvals()
837 PAN_SYSVAL_ID(sysval), in panfrost_upload_sysvals()
Dpan_context.h236 unsigned sysval[MAX_SYSVAL_COUNT]; member
/external/e2fsprogs/misc/
Dbadblocks.c1070 long sysval; in main() local
1091 sysval = sysconf(_SC_PAGESIZE); in main()
1092 if (sysval > 0) in main()
1093 sys_page_size = sysval; in main()
/external/mesa3d/src/gallium/drivers/iris/
Diris_state.c3286 uint32_t sysval = shader->system_values[i]; in upload_sysvals() local
3289 if (BRW_PARAM_DOMAIN(sysval) == BRW_PARAM_DOMAIN_IMAGE) { in upload_sysvals()
3291 unsigned img = BRW_PARAM_IMAGE_IDX(sysval); in upload_sysvals()
3292 unsigned offset = BRW_PARAM_IMAGE_OFFSET(sysval); in upload_sysvals()
3299 } else if (sysval == BRW_PARAM_BUILTIN_ZERO) { in upload_sysvals()
3301 } else if (BRW_PARAM_BUILTIN_IS_CLIP_PLANE(sysval)) { in upload_sysvals()
3302 int plane = BRW_PARAM_BUILTIN_CLIP_PLANE_IDX(sysval); in upload_sysvals()
3303 int comp = BRW_PARAM_BUILTIN_CLIP_PLANE_COMP(sysval); in upload_sysvals()
3305 } else if (sysval == BRW_PARAM_BUILTIN_PATCH_VERTICES_IN) { in upload_sysvals()
3317 } else if (sysval >= BRW_PARAM_BUILTIN_TESS_LEVEL_OUTER_X && in upload_sysvals()
[all …]
/external/e2fsprogs/e2fsck/
Dunix.c1407 int sysval, sys_page_size = 4096; in main() local
1867 sysval = sysconf(_SC_PAGESIZE); in main()
1868 if (sysval > 0) in main()
1869 sys_page_size = sysval; in main()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c392 if (vp->inputs[i].sysval) { in fd3_emit_vertex_bufs()
413 assert(!vp->inputs[i].sysval); in fd3_emit_vertex_bufs()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c392 if (vp->inputs[i].sysval) { in fd4_emit_vertex_bufs()
413 assert(!vp->inputs[i].sysval); in fd4_emit_vertex_bufs()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_tess.c582 static LLVMValueRef load_tess_level_default(struct si_shader_context *ctx, unsigned sysval) in load_tess_level_default() argument
590 offset = sysval == SYSTEM_VALUE_TESS_LEVEL_INNER_DEFAULT ? 4 : 0; in load_tess_level_default()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c903 if (!vs->inputs[i].sysval) in setup_stateobj()
1075 if (vs->inputs[i].sysval) in fd6_program_create()

12