/external/mesa3d/src/compiler/glsl/ |
D | standalone.cpp | 167 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs = 8; in initialize_context() 168 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = 0; in initialize_context() 169 ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents = 128 * 4; in initialize_context() 170 ctx->Const.Program[MESA_SHADER_VERTEX].MaxCombinedUniformComponents = 128 * 4; in initialize_context() 171 ctx->Const.Program[MESA_SHADER_VERTEX].MaxInputComponents = 0; /* not used */ in initialize_context() 172 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = 32; in initialize_context() 179 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents; in initialize_context() 182 ctx->Const.MaxVarying = ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents / 4; in initialize_context() 195 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs = 16; in initialize_context() 196 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = 0; in initialize_context() [all …]
|
D | standalone_scaffolding.cpp | 111 assert(stage == MESA_SHADER_FRAGMENT || stage == MESA_SHADER_VERTEX); in _mesa_new_shader() 237 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs = 16; in initialize_context_to_defaults() 239 ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents = 512; in initialize_context_to_defaults() 240 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = 32; in initialize_context_to_defaults() 242 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = 0; in initialize_context_to_defaults()
|
D | standalone_scaffolding.h | 86 return MESA_SHADER_VERTEX; in _mesa_shader_enum_to_shader_stage() 99 return MESA_SHADER_VERTEX; in _mesa_shader_enum_to_shader_stage()
|
/external/mesa3d/src/intel/common/ |
D | gen_urb_config.c | 107 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config() 118 [MESA_SHADER_VERTEX] = tess_present && devinfo->gen == 8 ? in gen_get_urb_config() 119 192 : devinfo->urb.min_entries[MESA_SHADER_VERTEX], in gen_get_urb_config() 140 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config() 145 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config() 158 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config() 181 for (int i = MESA_SHADER_VERTEX; in gen_get_urb_config() 195 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config() 203 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config() 222 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config() [all …]
|
/external/mesa3d/src/intel/dev/ |
D | gen_device_info.c | 164 [MESA_SHADER_VERTEX] = 24, 167 [MESA_SHADER_VERTEX] = 256, 193 [MESA_SHADER_VERTEX] = 24, 196 [MESA_SHADER_VERTEX] = 256, 229 [MESA_SHADER_VERTEX] = 32, 233 [MESA_SHADER_VERTEX] = 512, 258 [MESA_SHADER_VERTEX] = 32, 262 [MESA_SHADER_VERTEX] = 704, 287 [MESA_SHADER_VERTEX] = 32, 291 [MESA_SHADER_VERTEX] = 512, [all …]
|
/external/mesa3d/src/mesa/main/ |
D | shaderobj.h | 131 return MESA_SHADER_VERTEX; in _mesa_shader_enum_to_shader_stage() 153 case MESA_SHADER_VERTEX: in _mesa_shader_stage_to_subroutine_prefix() 175 return MESA_SHADER_VERTEX; in _mesa_shader_stage_from_subroutine_uniform() 195 return MESA_SHADER_VERTEX; in _mesa_shader_stage_from_subroutine() 215 case MESA_SHADER_VERTEX: in _mesa_shader_stage_to_subroutine() 236 case MESA_SHADER_VERTEX: in _mesa_shader_stage_to_subroutine_uniform()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_cache.c | 100 [MESA_SHADER_VERTEX] = key->vs, in ir3_cache_lookup() 110 for (gl_shader_stage stage = MESA_SHADER_VERTEX; in ir3_cache_lookup() 125 for (gl_shader_stage stage = MESA_SHADER_VERTEX; in ir3_cache_lookup() 138 shader_key.safe_constlen = !!(safe_constlens & (1 << MESA_SHADER_VERTEX)); in ir3_cache_lookup() 143 bs = variants[MESA_SHADER_VERTEX]; in ir3_cache_lookup() 148 variants[MESA_SHADER_VERTEX], in ir3_cache_lookup()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_vs_surface_state.c | 54 (struct brw_program *) brw->programs[MESA_SHADER_VERTEX]; in brw_upload_vs_pull_constants() 59 _mesa_shader_write_subroutine_indices(&brw->ctx, MESA_SHADER_VERTEX); in brw_upload_vs_pull_constants() 80 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_upload_vs_ubo_surfaces() 100 const struct gl_program *vp = brw->programs[MESA_SHADER_VERTEX]; in brw_upload_vs_image_surfaces()
|
D | brw_vs.c | 53 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]) { in brw_select_clip_planes() 144 compiler->scalar_stage[MESA_SHADER_VERTEX]); in brw_codegen_vs_prog() 204 brw_debug_recompile(brw, MESA_SHADER_VERTEX, vp->program.Id, in brw_codegen_vs_prog() 251 struct gl_program *prog = brw->programs[MESA_SHADER_VERTEX]; in brw_vs_populate_key() 302 (struct brw_program *) brw->programs[MESA_SHADER_VERTEX]; in brw_upload_vs_prog() 314 if (brw_disk_cache_upload_program(brw, MESA_SHADER_VERTEX)) in brw_upload_vs_prog() 317 vp = (struct brw_program *) brw->programs[MESA_SHADER_VERTEX]; in brw_upload_vs_prog()
|
D | gen7_urb.c | 214 [MESA_SHADER_VERTEX] = in gen7_upload_urb() 225 entry_size[MESA_SHADER_VERTEX] = vs_size; in gen7_upload_urb() 233 if (brw->urb.vsize == entry_size[MESA_SHADER_VERTEX] && in gen7_upload_urb() 241 brw->urb.vsize = entry_size[MESA_SHADER_VERTEX]; in gen7_upload_urb() 258 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen7_upload_urb()
|
D | brw_context.c | 451 [MESA_SHADER_VERTEX] = true, in brw_initialize_context_constants() 638 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeInstructions = 16 * 1024; in brw_initialize_context_constants() 639 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAluInstructions = 0; in brw_initialize_context_constants() 640 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTexInstructions = 0; in brw_initialize_context_constants() 641 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTexIndirections = 0; in brw_initialize_context_constants() 642 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeAluInstructions = 0; in brw_initialize_context_constants() 643 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeTexInstructions = 0; in brw_initialize_context_constants() 644 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeTexIndirections = 0; in brw_initialize_context_constants() 645 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeAttribs = 16; in brw_initialize_context_constants() 646 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeTemps = 256; in brw_initialize_context_constants() [all …]
|
D | gen6_urb.c | 67 if (nr_vs_entries > devinfo->urb.max_entries[MESA_SHADER_VERTEX]) in gen6_upload_urb() 68 nr_vs_entries = devinfo->urb.max_entries[MESA_SHADER_VERTEX]; in gen6_upload_urb() 78 devinfo->urb.min_entries[MESA_SHADER_VERTEX]); in gen6_upload_urb()
|
/external/mesa3d/src/gallium/drivers/lima/standalone/ |
D | lima_compiler_cmdline.c | 98 case MESA_SHADER_VERTEX: in load_glsl() 119 nir->info.stage == MESA_SHADER_VERTEX || in load_glsl() 142 case MESA_SHADER_VERTEX: in load_glsl() 208 stage = MESA_SHADER_VERTEX; in main() 222 case MESA_SHADER_VERTEX: in main()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_shader_info.c | 40 case MESA_SHADER_VERTEX: { in gather_intrinsic_load_input_info() 84 case MESA_SHADER_VERTEX: in gather_intrinsic_store_output_info() 394 case MESA_SHADER_VERTEX: in gather_info_input_decl() 463 case MESA_SHADER_VERTEX: in gather_info_output_decl() 574 if (nir->info.stage == MESA_SHADER_VERTEX || in radv_nir_shader_info_pass() 582 case MESA_SHADER_VERTEX: in radv_nir_shader_info_pass() 599 case MESA_SHADER_VERTEX: in radv_nir_shader_info_pass() 616 case MESA_SHADER_VERTEX: in radv_nir_shader_info_pass() 633 case MESA_SHADER_VERTEX: in radv_nir_shader_info_pass() 680 case MESA_SHADER_VERTEX: in radv_nir_shader_info_pass() [all …]
|
D | radv_shader_args.c | 83 case MESA_SHADER_VERTEX: in needs_view_index_sgpr() 186 case MESA_SHADER_VERTEX: in allocate_user_sgprs() 192 if (previous_stage == MESA_SHADER_VERTEX) in allocate_user_sgprs() 200 if (previous_stage == MESA_SHADER_VERTEX) { in allocate_user_sgprs() 278 (stage == MESA_SHADER_VERTEX || in declare_vs_specific_input_sgprs() 279 (has_previous_stage && previous_stage == MESA_SHADER_VERTEX))) { in declare_vs_specific_input_sgprs() 339 assert(stage == MESA_SHADER_VERTEX || in declare_streamout_sgprs() 408 (stage == MESA_SHADER_VERTEX || in set_vs_specific_input_locs() 409 (has_previous_stage && previous_stage == MESA_SHADER_VERTEX))) { in set_vs_specific_input_locs() 427 return stage == MESA_SHADER_VERTEX || stage == MESA_SHADER_TESS_EVAL; in is_pre_gs_stage() [all …]
|
D | radv_pipeline.c | 136 else if (pipeline->shaders[MESA_SHADER_VERTEX]) in radv_pipeline_has_ngg() 137 variant = pipeline->shaders[MESA_SHADER_VERTEX]; in radv_pipeline_has_ngg() 152 else if (pipeline->shaders[MESA_SHADER_VERTEX]) in radv_pipeline_has_ngg_passthrough() 153 variant = pipeline->shaders[MESA_SHADER_VERTEX]; in radv_pipeline_has_ngg_passthrough() 1793 &infos[MESA_SHADER_VERTEX].vs.es_info; in gfx9_get_gs_info() 1942 unsigned gs_type = nir[MESA_SHADER_GEOMETRY] ? MESA_SHADER_GEOMETRY : MESA_SHADER_VERTEX; in gfx10_get_ngg_info() 2014 : &infos[MESA_SHADER_VERTEX].so; in gfx10_get_ngg_info() 2024 infos[MESA_SHADER_VERTEX].vs.outinfo.export_prim_id) in gfx10_get_ngg_info() 2072 : infos[MESA_SHADER_VERTEX].wave_size; in gfx10_get_ngg_info() 2196 if (stage == MESA_SHADER_VERTEX) { in radv_get_shader() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_context.c | 296 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeInstructions = R200_VSF_MAX_INST; in r200CreateContext() 297 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeAttribs = 12; in r200CreateContext() 298 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeTemps = R200_VSF_MAX_TEMPS; in r200CreateContext() 299 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeParameters = R200_VSF_MAX_PARAM; in r200CreateContext() 300 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeAddressRegs = 1; in r200CreateContext() 305 ctx->Const.ShaderCompilerOptions[MESA_SHADER_VERTEX].OptimizeForAOS = GL_TRUE; in r200CreateContext()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_pipe.h | 33 [PIPE_SHADER_VERTEX] = MESA_SHADER_VERTEX, in stage_from_pipe() 47 [MESA_SHADER_VERTEX] = PIPE_SHADER_VERTEX, in stage_to_pipe()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_from_mesa.h | 65 case MESA_SHADER_VERTEX: in pipe_shader_type_from_mesa() 88 case PIPE_SHADER_VERTEX: return MESA_SHADER_VERTEX; in tgsi_processor_to_shader_stage()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_compiler.c | 116 for (int i = MESA_SHADER_VERTEX; i < MESA_ALL_SHADER_STAGES; i++) { in brw_compiler_create() 214 insert_u64_bit(&config, compiler->scalar_stage[MESA_SHADER_VERTEX]); in brw_get_compiler_config_value() 233 [MESA_SHADER_VERTEX] = sizeof(struct brw_vs_prog_data), in brw_prog_data_size() 249 [MESA_SHADER_VERTEX] = sizeof(struct brw_vs_prog_key), in brw_prog_key_size()
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_io.c | 132 case MESA_SHADER_VERTEX: in v3d_varying_slot_vpm_offset() 330 assert(c->s->info.stage == MESA_SHADER_VERTEX); in v3d_nir_lower_vertex_input() 357 if (c->s->info.stage == MESA_SHADER_VERTEX) in v3d_nir_lower_io_instr() 366 if (c->s->info.stage == MESA_SHADER_VERTEX || in v3d_nir_lower_io_instr() 587 case MESA_SHADER_VERTEX: in v3d_nir_emit_ff_vpm_outputs() 664 case MESA_SHADER_VERTEX: in v3d_nir_lower_io() 693 if (s->info.stage == MESA_SHADER_VERTEX) { in v3d_nir_lower_io() 705 if (s->info.stage == MESA_SHADER_VERTEX || in v3d_nir_lower_io()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_context.c | 204 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = I915_TEX_UNITS; in i915CreateContext() 207 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = in i915CreateContext() 210 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits + in i915CreateContext() 262 ctx->Const.ShaderCompilerOptions[MESA_SHADER_VERTEX].EmitNoIndirectSampler = in i915CreateContext()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_shader_cache.c | 99 if (prog->info.stage == MESA_SHADER_VERTEX) { in st_serialise_ir_program() 111 if (prog->info.stage == MESA_SHADER_VERTEX || in st_serialise_ir_program() 193 if (prog->info.stage == MESA_SHADER_VERTEX) { in st_deserialise_ir_program() 204 if (prog->info.stage == MESA_SHADER_VERTEX || in st_deserialise_ir_program()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_shader.c | 64 if (shader->stage == MESA_SHADER_VERTEX) in etna_dump_shader() 85 (shader->stage == MESA_SHADER_VERTEX) ? in etna_dump_shader() 93 (shader->stage == MESA_SHADER_VERTEX) ? in etna_dump_shader() 99 if (shader->stage == MESA_SHADER_VERTEX) { in etna_dump_shader() 125 assert(vs->stage == MESA_SHADER_VERTEX); in etna_link_shaders() 371 case MESA_SHADER_VERTEX: return "VERT"; in etna_shader_stage()
|
/external/mesa3d/src/mesa/program/ |
D | program.c | 64 assert(ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents / 4 in _mesa_init_program() 69 assert(ctx->Const.Program[MESA_SHADER_VERTEX].MaxTemps <= (1 << INST_INDEX_BITS)); in _mesa_init_program() 70 assert(ctx->Const.Program[MESA_SHADER_VERTEX].MaxLocalParams <= (1 << INST_INDEX_BITS)); in _mesa_init_program() 74 assert(ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents <= 4 * MAX_UNIFORMS); in _mesa_init_program() 77 assert(ctx->Const.Program[MESA_SHADER_VERTEX].MaxAddressOffset <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
|