Home
last modified time | relevance | path

Searched refs:input_semantic_name (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_program.c578 ubyte input_semantic_name[PIPE_MAX_SHADER_INPUTS]; in st_translate_fragment_program() local
628 input_semantic_name[slot] = TGSI_SEMANTIC_POSITION; in st_translate_fragment_program()
633 input_semantic_name[slot] = TGSI_SEMANTIC_COLOR; in st_translate_fragment_program()
639 input_semantic_name[slot] = TGSI_SEMANTIC_COLOR; in st_translate_fragment_program()
645 input_semantic_name[slot] = TGSI_SEMANTIC_FOG; in st_translate_fragment_program()
650 input_semantic_name[slot] = TGSI_SEMANTIC_FACE; in st_translate_fragment_program()
655 input_semantic_name[slot] = TGSI_SEMANTIC_PRIMID; in st_translate_fragment_program()
660 input_semantic_name[slot] = TGSI_SEMANTIC_LAYER; in st_translate_fragment_program()
665 input_semantic_name[slot] = TGSI_SEMANTIC_VIEWPORT_INDEX; in st_translate_fragment_program()
670 input_semantic_name[slot] = TGSI_SEMANTIC_CLIPDIST; in st_translate_fragment_program()
[all …]
Dst_cb_drawpixels_shader.c108 if (ctx->info.input_semantic_name[i] == sem_texcoord && in transform_instr()
199 if (ctx->info.input_semantic_name[reg] == TGSI_SEMANTIC_COLOR && in transform_instr()
203 } else if (ctx->info.input_semantic_name[reg] == sem_texcoord && in transform_instr()
Dst_cb_bitmap_shader.c78 if (ctx->info.input_semantic_name[i] == semantic && in transform_instr()
Dst_atifs_to_tgsi.c700 if (ctx->info.input_semantic_name[i] == TGSI_SEMANTIC_FOG) { in transform_instr()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_derived.c90 fsInfo->input_semantic_name[i], in compute_vertex_info()
93 if (fsInfo->input_semantic_name[i] == TGSI_SEMANTIC_COLOR && in compute_vertex_info()
99 if (fsInfo->input_semantic_name[i] == TGSI_SEMANTIC_FACE) { in compute_vertex_info()
108 } else if (fsInfo->input_semantic_name[i] == in compute_vertex_info()
112 } else if (fsInfo->input_semantic_name[i] == TGSI_SEMANTIC_LAYER) { in compute_vertex_info()
Dlp_setup_point.c248 if (shader->info.base.input_semantic_name[slot] == TGSI_SEMANTIC_GENERIC) { in setup_point_coefficients()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c120 assert(fsInfo->input_semantic_name[i] == TGSI_SEMANTIC_COLOR); in softpipe_compute_vertex_info()
126 switch (fsInfo->input_semantic_name[i]) { in softpipe_compute_vertex_info()
145 fsInfo->input_semantic_name[i], in softpipe_compute_vertex_info()
148 if (fsInfo->input_semantic_name[i] == TGSI_SEMANTIC_COLOR && in softpipe_compute_vertex_info()
169 if (fsInfo->input_semantic_name[i] == in softpipe_compute_vertex_info()
173 } else if (fsInfo->input_semantic_name[i] == TGSI_SEMANTIC_LAYER) { in softpipe_compute_vertex_info()
Dsp_setup.c658 if (fsInfo->input_semantic_name[fragSlot] == TGSI_SEMANTIC_FACE) { in setup_tri_coefficients()
1041 if (fsInfo->input_semantic_name[fragSlot] == TGSI_SEMANTIC_FACE) { in setup_line_coefficients()
1316 if (fsInfo->input_semantic_name[fragSlot] == TGSI_SEMANTIC_FACE) { in sp_setup_point()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_link.c59 ARRAY_SIZE(inshader_info->input_semantic_name)); in svga_link_shaders()
65 unsigned sem_name = inshader_info->input_semantic_name[i]; in svga_link_shaders()
112 tgsi_semantic_names[inshader_info->input_semantic_name[i]], in svga_link_shaders()
Dsvga_state_vs.c294 switch (fs->base.info.input_semantic_name[i]) { in compile_passthrough_vs()
299 fs->base.info.input_semantic_name[i], in compile_passthrough_vs()
Dsvga_swtnl_state.c253 const unsigned sem_name = fs->base.info.input_semantic_name[i]; in svga_swtnl_update_vdecl()
Dsvga_shader.c55 if (info->input_semantic_name[i] == TGSI_SEMANTIC_GENERIC) { in svga_get_generic_inputs_mask()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_derived.c73 switch (fs->info.input_semantic_name[i]) { in calculate_vertex_layout()
100 debug_printf("Unknown input type %d\n", fs->info.input_semantic_name[i]); in calculate_vertex_layout()
Di915_fpc_translate.c207 sem_name = p->shader->info.input_semantic_name[index]; in src_vector()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_flatshade.c184 if (semantic_name == fs->info.input_semantic_name[j] && in find_interp()
219 if (fs->info.input_semantic_name[i] == TGSI_SEMANTIC_COLOR) { in flatshade_init_state()
Ddraw_gs.c145 if (shader->info.input_semantic_name[slot] == TGSI_SEMANTIC_PRIMID) { in tgsi_fetch_gs_input()
152 shader->info.input_semantic_name[slot], in tgsi_fetch_gs_input()
243 if (shader->info.input_semantic_name[slot] == TGSI_SEMANTIC_PRIMID) { in llvm_fetch_gs_input()
252 shader->info.input_semantic_name[slot], in llvm_fetch_gs_input()
Ddraw_pipe_wide_point.c245 const unsigned sn = fs->info.input_semantic_name[i]; in widepoint_first_point()
Ddraw_pipe_clip.c797 if (semantic_name == fs->info.input_semantic_name[j] && in find_interp()
854 if (fs->info.input_semantic_name[i] == TGSI_SEMANTIC_COLOR) { in clip_init_state()
Ddraw_pt_fetch_shade_pipeline.c95 if (vs->info.input_semantic_name[i] == TGSI_SEMANTIC_INSTANCEID) { in fetch_pipeline_prepare()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.h49 ubyte input_semantic_name[PIPE_MAX_SHADER_INPUTS]; /**< TGSI_SEMANTIC_x */ member
Dtgsi_scan.c136 name = info->input_semantic_name[input]; in scan_src_operand()
489 info->input_semantic_name[reg] = (ubyte) semName; in scan_declaration()
Dtgsi_lowering.c1627 if (info->input_semantic_name[i] == TGSI_SEMANTIC_COLOR) in tgsi_transform_lowering()
1629 if (info->input_semantic_name[i] == TGSI_SEMANTIC_FACE) in tgsi_transform_lowering()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_fs.c55 switch (info->input_semantic_name[i]) { in r300_shader_read_fs_inputs()
83 info->input_semantic_name[i]); in r300_shader_read_fs_inputs()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c1561 unsigned name = sel->info.input_semantic_name[i]; in si_create_shader_selector()
1583 if (sel->info.input_semantic_name[i] == TGSI_SEMANTIC_COLOR) { in si_create_shader_selector()
1899 unsigned name = psinfo->input_semantic_name[i]; in si_emit_spi_map()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp479 ubyte semantic_name = swr_fs->info.base.input_semantic_name[attrib]; in CompileFS()

12