Home
last modified time | relevance | path

Searched refs:TGSI_FILE_CONSTANT (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_dynamic_indexing.c79 else if (decl->Declaration.File == TGSI_FILE_CONSTANT) { in dIndexing_decl()
127 if (reg->Register.File == TGSI_FILE_CONSTANT) { in remove_dynamic_indexes()
178 if ((reg->Register.File == TGSI_FILE_CONSTANT) && in remove_dynamic_indexes()
232 inst.Src[j].Register.File == TGSI_FILE_CONSTANT) { in remove_dynamic_indexes()
290 src->Register.File == TGSI_FILE_CONSTANT) || in dIndexing_inst()
297 if (src->Register.File == TGSI_FILE_CONSTANT) in dIndexing_inst()
Dtgsi_point_sprite.c144 else if (decl->Declaration.File == TGSI_FILE_CONSTANT) { in psprite_decl()
259 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_CONSTANT, in psprite_prolog()
311 tgsi_transform_src_reg(&inst.Src[1], TGSI_FILE_CONSTANT, in psprite_emit_vertex_inst()
452 TGSI_FILE_CONSTANT, ts->point_ivp, TGSI_SWIZZLE_W, false); in psprite_inst()
Dtgsi_transform.h124 decl.Declaration.File = TGSI_FILE_CONSTANT; in tgsi_transform_const_decl()
259 if (file == TGSI_FILE_CONSTANT) { in tgsi_transform_src_reg_xyzw()
273 if (file == TGSI_FILE_CONSTANT) { in tgsi_transform_src_reg()
Dtgsi_scan.c251 if (src->Register.File == TGSI_FILE_CONSTANT) { in scan_src_operand()
645 case TGSI_FILE_CONSTANT: in scan_declaration()
/external/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_depth_clamp.c180 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_last_vertex_stage()
182 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_last_vertex_stage()
197 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_last_vertex_stage()
276 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_fs()
278 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_fs()
285 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_fs()
287 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_fs()
Dst_cb_drawpixels_shader.c154 TGSI_FILE_CONSTANT, ctx->scale_const, in transform_instr()
155 TGSI_FILE_CONSTANT, ctx->bias_const); in transform_instr()
205 src->Register.File = TGSI_FILE_CONSTANT; in transform_instr()
Dst_atifs_to_tgsi.c638 if (file == TGSI_FILE_CONSTANT) { in set_src()
722 SET_SRC(&inst, 1, TGSI_FILE_CONSTANT, MAX_NUM_FRAGMENT_CONSTANTS_ATI, X, X, X, X); in transform_instr()
723 SET_SRC(&inst, 2, TGSI_FILE_CONSTANT, MAX_NUM_FRAGMENT_CONSTANTS_ATI, Y, Y, Y, Y); in transform_instr()
738 SET_SRC(&inst, 1, TGSI_FILE_CONSTANT, MAX_NUM_FRAGMENT_CONSTANTS_ATI, Z, Z, Z, Z); in transform_instr()
764 SET_SRC(&inst, 1, TGSI_FILE_CONSTANT, MAX_NUM_FRAGMENT_CONSTANTS_ATI, W, W, W, W); in transform_instr()
811 SET_SRC(&inst, 2, TGSI_FILE_CONSTANT, MAX_NUM_FRAGMENT_CONSTANTS_ATI + 1, X, Y, Z, W); in transform_instr()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_tgsi.c46 case TGSI_FILE_CONSTANT: in virgl_tgsi_transform_declaration()
96 if (inst->Src[i].Register.File == TGSI_FILE_CONSTANT && in virgl_tgsi_transform_instruction()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c132 case TGSI_FILE_CONSTANT: return RC_FILE_CONSTANT; in translate_register_file()
315 for(i = 0; i <= ttr->info->file_max[TGSI_FILE_CONSTANT]; ++i) { in r300_tgsi_to_rc()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi.c193 emit.imm_start = emit.info.file_max[TGSI_FILE_CONSTANT] + 1; in svga_tgsi_vgpu9_translate()
Dsvga_state_tgsi_transform.c408 return (info->dim_indirect_files & (1u << TGSI_FILE_CONSTANT)) || in has_dynamic_indexing()
Dsvga_tgsi_insn.c71 case TGSI_FILE_CONSTANT: return SVGA3DREG_CONST; in translate_file()
237 if (reg->Register.File == TGSI_FILE_CONSTANT) { in translate_src_register()
1020 emit->info.file_max[TGSI_FILE_CONSTANT] + 1; in get_tex_dimensions()
2039 src->Register.File == TGSI_FILE_CONSTANT && in emit_mov()
3129 unsigned offset = emit->info.file_max[TGSI_FILE_CONSTANT] + 1; in emit_vs_postamble()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_vertprog.c373 case TGSI_FILE_CONSTANT: in tgsi_src()
406 (fsrc->Register.File == TGSI_FILE_CONSTANT || in tgsi_src()
501 case TGSI_FILE_CONSTANT: in nvfx_vertprog_parse_instruction()
906 case TGSI_FILE_CONSTANT: in nvfx_vertprog_prepare()
Dnvfx_fragprog.c385 case TGSI_FILE_CONSTANT: in tgsi_src()
498 case TGSI_FILE_CONSTANT: in nvfx_fragprog_parse_instruction()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h65 TGSI_FILE_CONSTANT, enumerator
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h70 TGSI_FILE_CONSTANT =1, enumerator
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c502 return ureg_src_register(TGSI_FILE_CONSTANT, index); in ureg_DECL_constant()
917 assert(dst.File != TGSI_FILE_CONSTANT); in ureg_emit_dst()
1478 TGSI_FILE_CONSTANT, in emit_decls()
1492 TGSI_FILE_CONSTANT, in emit_decls()
Dtgsi_scan.c274 if (file == TGSI_FILE_CONSTANT) { in tgsi_scan_shader()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_shader.c135 info.file_max[TGSI_FILE_CONSTANT] + 1, in softpipe_shader_db()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_translate.c241 case TGSI_FILE_CONSTANT: in src_vector()
977 == TGSI_FILE_CONSTANT) { in i915_translate_token()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c571 src = ureg_src_register(TGSI_FILE_CONSTANT, idx - 4096); in nine_float_constant_src()
574 src = ureg_src_register(TGSI_FILE_CONSTANT, idx); in nine_float_constant_src()
593 src = ureg_src_register(TGSI_FILE_CONSTANT, idx); in nine_integer_constant_src()
599 src = ureg_src_register(TGSI_FILE_CONSTANT, slot_idx); in nine_integer_constant_src()
621 src = ureg_src_register(TGSI_FILE_CONSTANT, r); in nine_boolean_constant_src()
627 src = ureg_src_register(TGSI_FILE_CONSTANT, slot_idx); in nine_boolean_constant_src()
1898 assert(rep.File == TGSI_FILE_CONSTANT || rep.File == TGSI_FILE_IMMEDIATE); in DECL_SPECIAL()
3690 struct ureg_src c0 = ureg_src_register(TGSI_FILE_CONSTANT, 0); in shader_add_vs_viewport_transform()
3691 struct ureg_src c1 = ureg_src_register(TGSI_FILE_CONSTANT, 1); in shader_add_vs_viewport_transform()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c508 case TGSI_FILE_CONSTANT: in dump_info()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_base.cpp898 m_sh_info.indirect_files |= 1 << TGSI_FILE_CONSTANT; in emit_load_ubo_vec4()
1028 m_sh_info.indirect_files |= 1 << TGSI_FILE_CONSTANT; in load_uniform_indirect()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c486 case TGSI_FILE_CONSTANT: in ntt_store_def()
990 ntt_ureg_src_indirect(c, ureg_src_register(TGSI_FILE_CONSTANT, in ntt_emit_load_uniform()
1025 src = ureg_src_register(TGSI_FILE_CONSTANT, in ntt_emit_load_ubo_vec4()
1028 src = ureg_src_indirect(ureg_src_register(TGSI_FILE_CONSTANT, 0), in ntt_emit_load_ubo_vec4()
Dtgsi_to_nir.c290 file == TGSI_FILE_CONSTANT); in ttn_emit_declaration()
293 if ((file == TGSI_FILE_CONSTANT) && decl->Declaration.Dimension && in ttn_emit_declaration()
448 case TGSI_FILE_CONSTANT: in ttn_emit_declaration()
684 case TGSI_FILE_CONSTANT: { in ttn_src_for_file_and_index()

12