Home
last modified time | relevance | path

Searched refs:MESA_SHADER_VERTEX (Results 1 – 25 of 123) sorted by relevance

12345

/external/mesa3d/src/intel/common/
Dgen_device_info.c98 [MESA_SHADER_VERTEX] = 24,
101 [MESA_SHADER_VERTEX] = 256,
125 [MESA_SHADER_VERTEX] = 24,
128 [MESA_SHADER_VERTEX] = 256,
159 [MESA_SHADER_VERTEX] = 32,
163 [MESA_SHADER_VERTEX] = 512,
187 [MESA_SHADER_VERTEX] = 32,
191 [MESA_SHADER_VERTEX] = 704,
215 [MESA_SHADER_VERTEX] = 32,
219 [MESA_SHADER_VERTEX] = 512,
[all …]
Dgen_urb_config.c83 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config()
94 [MESA_SHADER_VERTEX] = tess_present && devinfo->gen == 8 ? in gen_get_urb_config()
95 192 : devinfo->urb.min_entries[MESA_SHADER_VERTEX], in gen_get_urb_config()
116 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config()
121 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config()
134 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config()
157 for (int i = MESA_SHADER_VERTEX; in gen_get_urb_config()
171 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config()
179 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen_get_urb_config()
/external/mesa3d/src/compiler/glsl/
Dstandalone.cpp177 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs = 8; in initialize_context()
178 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = 0; in initialize_context()
179 ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents = 128 * 4; in initialize_context()
180 ctx->Const.Program[MESA_SHADER_VERTEX].MaxCombinedUniformComponents = 128 * 4; in initialize_context()
181 ctx->Const.Program[MESA_SHADER_VERTEX].MaxInputComponents = 0; /* not used */ in initialize_context()
182 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = 32; in initialize_context()
189 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents; in initialize_context()
192 ctx->Const.MaxVarying = ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents / 4; in initialize_context()
205 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs = 16; in initialize_context()
206 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = 0; in initialize_context()
[all …]
Dstandalone_scaffolding.cpp92 assert(stage == MESA_SHADER_FRAGMENT || stage == MESA_SHADER_VERTEX); in _mesa_new_shader()
217 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs = 16; in initialize_context_to_defaults()
219 ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents = 512; in initialize_context_to_defaults()
220 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = 32; in initialize_context_to_defaults()
222 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = 0; in initialize_context_to_defaults()
Dstandalone_scaffolding.h83 return MESA_SHADER_VERTEX; in _mesa_shader_enum_to_shader_stage()
96 return MESA_SHADER_VERTEX; in _mesa_shader_enum_to_shader_stage()
Dir_set_program_inouts.cpp119 if (stage == MESA_SHADER_VERTEX && in mark()
176 if (this->shader_stage == MESA_SHADER_VERTEX && in mark_whole_variable()
309 if (this->shader_stage != MESA_SHADER_VERTEX || in try_mark_partial_variable()
/external/mesa3d/src/mesa/main/
Dshaderobj.h126 return MESA_SHADER_VERTEX; in _mesa_shader_enum_to_shader_stage()
148 case MESA_SHADER_VERTEX: in _mesa_shader_stage_to_subroutine_prefix()
170 return MESA_SHADER_VERTEX; in _mesa_shader_stage_from_subroutine_uniform()
190 return MESA_SHADER_VERTEX; in _mesa_shader_stage_from_subroutine()
209 case MESA_SHADER_VERTEX: in _mesa_shader_stage_to_subroutine()
231 case MESA_SHADER_VERTEX: in _mesa_shader_stage_to_subroutine_uniform()
Darbprogram.c54 ctx->DriverFlags.NewShaderConstants[MESA_SHADER_VERTEX]; in flush_vertices_for_program_constants()
269 maxParams = ctx->Const.Program[MESA_SHADER_VERTEX].MaxLocalParams; in get_local_param_pointer()
314 if (index >= ctx->Const.Program[MESA_SHADER_VERTEX].MaxEnvParams) { in get_env_param_pointer()
509 if ((index + count) > ctx->Const.Program[MESA_SHADER_VERTEX].MaxEnvParams) { in _mesa_ProgramEnvParameters4fvEXT()
596 ctx->Const.Program[MESA_SHADER_VERTEX].MaxLocalParams; in _mesa_ProgramLocalParameters4fvEXT()
667 limits = &ctx->Const.Program[MESA_SHADER_VERTEX]; in _mesa_GetProgramivARB()
Dshader_query.cpp80 if (index >= ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs) { in bind_attrib_location()
82 index, ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs); in bind_attrib_location()
147 if (shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_GetActiveAttrib()
199 if (shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) in _mesa_GetAttribLocation()
217 || shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_count_active_attribs()
226 res->StageReferences & (1 << MESA_SHADER_VERTEX)) in _mesa_count_active_attribs()
237 || shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_longest_attribute_name_length()
246 res->StageReferences & (1 << MESA_SHADER_VERTEX)) { in _mesa_longest_attribute_name_length()
946 return MESA_SHADER_VERTEX; in stage_from_enum()
Dstate.c76 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in update_program()
250 if (ctx->DriverFlags.NewShaderConstants[MESA_SHADER_VERTEX]) { in update_program_constants()
252 ctx->DriverFlags.NewShaderConstants[MESA_SHADER_VERTEX]; in update_program_constants()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vs_surface_state.c54 (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()
Dbrw_context.c350 [MESA_SHADER_VERTEX] = true, in brw_initialize_context_constants()
543 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeInstructions = 16 * 1024; in brw_initialize_context_constants()
544 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAluInstructions = 0; in brw_initialize_context_constants()
545 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTexInstructions = 0; in brw_initialize_context_constants()
546 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTexIndirections = 0; in brw_initialize_context_constants()
547 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeAluInstructions = 0; in brw_initialize_context_constants()
548 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeTexInstructions = 0; in brw_initialize_context_constants()
549 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeTexIndirections = 0; in brw_initialize_context_constants()
550 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeAttribs = 16; in brw_initialize_context_constants()
551 ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeTemps = 256; in brw_initialize_context_constants()
[all …]
Dgen7_urb.c188 [MESA_SHADER_VERTEX] = in gen7_upload_urb()
199 entry_size[MESA_SHADER_VERTEX] = vs_size; in gen7_upload_urb()
207 if (brw->urb.vsize == entry_size[MESA_SHADER_VERTEX] && in gen7_upload_urb()
215 brw->urb.vsize = entry_size[MESA_SHADER_VERTEX]; in gen7_upload_urb()
231 for (int i = MESA_SHADER_VERTEX; i <= MESA_SHADER_GEOMETRY; i++) { in gen7_upload_urb()
Dgen6_urb.c67 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()
Dbrw_vs.c53 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]) { in brw_select_clip_planes()
183 compiler->scalar_stage[MESA_SHADER_VERTEX]); in brw_codegen_vs_prog()
285 struct gl_program *prog = brw->programs[MESA_SHADER_VERTEX]; in brw_vs_populate_key()
337 (struct brw_program *) brw->programs[MESA_SHADER_VERTEX]; in brw_upload_vs_prog()
349 if (brw_disk_cache_upload_program(brw, MESA_SHADER_VERTEX)) in brw_upload_vs_prog()
352 vp = (struct brw_program *) brw->programs[MESA_SHADER_VERTEX]; in brw_upload_vs_prog()
Dbrw_disk_cache.c119 case MESA_SHADER_VERTEX: in read_and_upload()
197 case MESA_SHADER_VERTEX: in read_and_upload()
330 brw->ctx._Shader->CurrentProgram[MESA_SHADER_VERTEX]; in brw_disk_cache_write_render_programs()
338 MESA_SHADER_VERTEX); in brw_disk_cache_write_render_programs()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c296 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/intel/compiler/
Dbrw_compiler.c117 for (int i = MESA_SHADER_VERTEX; i < MESA_SHADER_STAGES; i++) in brw_compiler_create()
120 compiler->scalar_stage[MESA_SHADER_VERTEX] = in brw_compiler_create()
171 STATIC_ASSERT(MESA_SHADER_VERTEX == 0); in brw_prog_data_size()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_context.c205 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = I915_TEX_UNITS; in i915CreateContext()
208 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = in i915CreateContext()
211 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits + in i915CreateContext()
263 ctx->Const.ShaderCompilerOptions[MESA_SHADER_VERTEX].EmitNoIndirectSampler = in i915CreateContext()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c161 assert(nir->info.stage == MESA_SHADER_VERTEX || in si_nir_scan_shader()
206 nir->info.stage == MESA_SHADER_VERTEX); in si_nir_scan_shader()
212 if (nir->info.stage == MESA_SHADER_VERTEX) in si_nir_scan_shader()
306 if (nir->info.stage != MESA_SHADER_VERTEX) in si_nir_scan_shader()
648 if (nir->info.stage == MESA_SHADER_VERTEX || in si_nir_build_llvm()
653 nir->info.stage == MESA_SHADER_VERTEX); in si_nir_build_llvm()
667 if (nir->info.stage == MESA_SHADER_VERTEX) in si_nir_build_llvm()
/external/mesa3d/src/mesa/program/
Dprogram.c64 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()
Dprogram.h119 return MESA_SHADER_VERTEX; in _mesa_program_enum_to_shader_stage()
143 case MESA_SHADER_VERTEX: in _mesa_shader_stage_to_program()
/external/mesa3d/src/compiler/
Dshader_enums.c40 ENUM(MESA_SHADER_VERTEX), in gl_shader_stage_name()
59 case MESA_SHADER_VERTEX: return "vertex"; in _mesa_shader_stage_to_string()
78 case MESA_SHADER_VERTEX: return "VS"; in _mesa_shader_stage_to_abbrev()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c130 case MESA_SHADER_VERTEX: in load_glsl()
355 stage = MESA_SHADER_VERTEX; in main()
406 case MESA_SHADER_VERTEX: in main()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1321 &pipeline->shaders[MESA_SHADER_VERTEX]->info.vs.es_info; in calculate_gs_ring_sizes()
1359 if (pipeline->shaders[MESA_SHADER_VERTEX]) in radv_get_vertex_shader()
1360 return pipeline->shaders[MESA_SHADER_VERTEX]; in radv_get_vertex_shader()
1552 return &pipeline->shaders[MESA_SHADER_VERTEX]->info.vs.outinfo; in get_vs_output_info()
1706 if(shaders[MESA_SHADER_VERTEX]) { in radv_link_shaders()
1707 ordered_shaders[shader_count++] = shaders[MESA_SHADER_VERTEX]; in radv_link_shaders()
1789 keys[MESA_SHADER_VERTEX].vs.instance_rate_inputs = key->instance_rate_inputs; in radv_fill_shader_keys()
1792 keys[MESA_SHADER_VERTEX].vs.as_ls = true; in radv_fill_shader_keys()
1803 keys[MESA_SHADER_VERTEX].vs.as_es = true; in radv_fill_shader_keys()
1980 keys[MESA_SHADER_VERTEX].vs.export_prim_id = in radv_create_shaders()
[all …]

12345