Home
last modified time | relevance | path

Searched refs:MESA_SHADER_FRAGMENT (Results 1 – 25 of 130) sorted by relevance

123456

/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_context.c204 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = I915_TEX_UNITS; in i915CreateContext()
209 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxInputComponents = ctx->Const.MaxVarying * 4; in i915CreateContext()
212 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits; in i915CreateContext()
230 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeTemps = I915_MAX_TEMPORARY; in i915CreateContext()
231 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeAttribs = 11; /* 8 tex, 2 color, fog */ in i915CreateContext()
232 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeParameters = I915_MAX_CONSTANT; in i915CreateContext()
233 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeAluInstructions = I915_MAX_ALU_INSN; in i915CreateContext()
234 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeTexInstructions = I915_MAX_TEX_INSN; in i915CreateContext()
235 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeInstructions = (I915_MAX_ALU_INSN + in i915CreateContext()
237 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeTexIndirections = in i915CreateContext()
[all …]
/external/mesa3d/src/compiler/glsl/
Dstandalone.cpp184 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = in initialize_context()
186 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxUniformComponents = 16 * 4; in initialize_context()
187 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxCombinedUniformComponents = 16 * 4; in initialize_context()
188 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxInputComponents = in initialize_context()
190 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxOutputComponents = 0; /* not used */ in initialize_context()
212 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = in initialize_context()
214 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxUniformComponents = 64; in initialize_context()
215 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxCombinedUniformComponents = 64; in initialize_context()
216 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxInputComponents = in initialize_context()
218 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxOutputComponents = 0; /* not used */ in initialize_context()
[all …]
Dstandalone_scaffolding.cpp92 assert(stage == MESA_SHADER_FRAGMENT || stage == MESA_SHADER_VERTEX); in _mesa_new_shader()
224 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = 2; in initialize_context_to_defaults()
225 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxUniformComponents = 64; in initialize_context_to_defaults()
226 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxInputComponents = 32; in initialize_context_to_defaults()
Dir_set_program_inouts.cpp123 if (stage == MESA_SHADER_FRAGMENT) { in mark()
408 assert(this->shader_stage == MESA_SHADER_FRAGMENT); in visit_enter()
436 if (shader_stage == MESA_SHADER_FRAGMENT) { in do_set_program_inouts()
Dlink_varyings.cpp207 consumer_stage != MESA_SHADER_FRAGMENT) || in cross_validate_types_and_qualifiers()
412 case MESA_SHADER_FRAGMENT: in compute_variable_location_slot()
569 assert(sh->Stage != MESA_SHADER_FRAGMENT); in validate_explicit_variable_location()
635 bool validate_last_stage = last_stage != MESA_SHADER_FRAGMENT; in validate_sso_explicit_locations()
1660 (consumer_stage != MESA_SHADER_NONE && consumer_stage != MESA_SHADER_FRAGMENT))) { in record()
2095 if (stage == MESA_SHADER_FRAGMENT && in var_counts_against_varying_limit()
2679 assert(producer->Stage != MESA_SHADER_FRAGMENT); in check_against_output_limit()
2765 for (int i = MESA_SHADER_FRAGMENT - 1; i >= 0; i--) { in link_varyings()
2789 if (first >= MESA_SHADER_FRAGMENT) { in link_varyings()
2809 if (last < MESA_SHADER_FRAGMENT && in link_varyings()
[all …]
Dlinker.cpp1930 if (linked_shader->Stage != MESA_SHADER_FRAGMENT || in link_fs_inout_layout_qualifiers()
2306 if (linked->Stage != MESA_SHADER_FRAGMENT) in link_intrastage_shaders()
2616 || (target_index == MESA_SHADER_FRAGMENT)); in assign_attribute_or_color_locations()
2699 } else if (target_index == MESA_SHADER_FRAGMENT) { in assign_attribute_or_color_locations()
2740 if (target_index == MESA_SHADER_FRAGMENT && var->data.index >= 1 && in assign_attribute_or_color_locations()
2851 if (target_index == MESA_SHADER_FRAGMENT && !prog->IsES) { in assign_attribute_or_color_locations()
2897 } else if (target_index == MESA_SHADER_FRAGMENT || in assign_attribute_or_color_locations()
2910 if (target_index == MESA_SHADER_FRAGMENT && !prog->IsES) { in assign_attribute_or_color_locations()
3097 if (prog->_LinkedShaders[MESA_SHADER_FRAGMENT] == NULL) { in store_fragdepth_layout()
3101 struct exec_list *ir = prog->_LinkedShaders[MESA_SHADER_FRAGMENT]->ir; in store_fragdepth_layout()
[all …]
/external/mesa3d/src/mesa/main/
Dshaderobj.h128 return MESA_SHADER_FRAGMENT; in _mesa_shader_enum_to_shader_stage()
152 case MESA_SHADER_FRAGMENT: in _mesa_shader_stage_to_subroutine_prefix()
174 return MESA_SHADER_FRAGMENT; in _mesa_shader_stage_from_subroutine_uniform()
194 return MESA_SHADER_FRAGMENT; in _mesa_shader_stage_from_subroutine()
213 case MESA_SHADER_FRAGMENT: in _mesa_shader_stage_to_subroutine()
235 case MESA_SHADER_FRAGMENT: in _mesa_shader_stage_to_subroutine_uniform()
Dstate.c84 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in update_program()
137 f->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program); in update_program()
139 f->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program); in update_program()
233 if (ctx->DriverFlags.NewShaderConstants[MESA_SHADER_FRAGMENT]) { in update_program_constants()
235 ctx->DriverFlags.NewShaderConstants[MESA_SHADER_FRAGMENT]; in update_program_constants()
Darbprogram.c51 ctx->DriverFlags.NewShaderConstants[MESA_SHADER_FRAGMENT]; in flush_vertices_for_program_constants()
274 maxParams = ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxLocalParams; in get_local_param_pointer()
305 if (index >= ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxEnvParams) { in get_env_param_pointer()
501 if ((index + count) > ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxEnvParams) { in _mesa_ProgramEnvParameters4fvEXT()
595 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxLocalParams : in _mesa_ProgramLocalParameters4fvEXT()
672 limits = &ctx->Const.Program[MESA_SHADER_FRAGMENT]; in _mesa_GetProgramivARB()
Dcontext.c473 case MESA_SHADER_FRAGMENT: in init_program_limits()
565 consts->Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = MAX_TEXTURE_IMAGE_UNITS; in _mesa_init_constants()
567 consts->Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits); in _mesa_init_constants()
760 assert(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxLocalParams <= MAX_PROGRAM_LOCAL_PARAMS); in check_context_limits()
764 assert(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits > 0); in check_context_limits()
765 assert(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits <= MAX_TEXTURE_IMAGE_UNITS); in check_context_limits()
771 …assert(ctx->Const.MaxTextureUnits == MIN2(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImage… in check_context_limits()
777 …assert(ctx->Const.MaxTextureCoordUnits <= ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImage… in check_context_limits()
Dtexstate.c748 if (prog[MESA_SHADER_FRAGMENT]) { in update_program_texture_state()
751 (prog[MESA_SHADER_FRAGMENT]->info.inputs_read >> VARYING_SLOT_TEX0) & in update_program_texture_state()
877 if (prog[MESA_SHADER_FRAGMENT] == NULL && in _mesa_update_texture_state()
879 prog[MESA_SHADER_FRAGMENT] = ctx->FragmentProgram.Current; in _mesa_update_texture_state()
902 if (!prog[MESA_SHADER_FRAGMENT]) in _mesa_update_texture_state()
921 if (!prog[MESA_SHADER_FRAGMENT] || !prog[MESA_SHADER_VERTEX]) in _mesa_update_texture_state()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c354 [MESA_SHADER_FRAGMENT] = true, in brw_initialize_context_constants()
444 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits); in brw_initialize_context_constants()
558 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeInstructions = 1024; in brw_initialize_context_constants()
559 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeAluInstructions = 1024; in brw_initialize_context_constants()
560 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeTexInstructions = 1024; in brw_initialize_context_constants()
561 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeTexIndirections = 1024; in brw_initialize_context_constants()
562 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeAttribs = 12; in brw_initialize_context_constants()
563 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeTemps = 256; in brw_initialize_context_constants()
564 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeAddressRegs = 0; in brw_initialize_context_constants()
565 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeParameters = 1024; in brw_initialize_context_constants()
[all …]
Dbrw_disk_cache.c139 case MESA_SHADER_FRAGMENT: in read_and_upload()
217 case MESA_SHADER_FRAGMENT: in read_and_upload()
374 prog = brw->ctx._Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in brw_disk_cache_write_render_programs()
382 MESA_SHADER_FRAGMENT); in brw_disk_cache_write_render_programs()
/external/mesa3d/src/mesa/program/
Dprogram.h121 return MESA_SHADER_FRAGMENT; in _mesa_program_enum_to_shader_stage()
123 return MESA_SHADER_FRAGMENT; in _mesa_program_enum_to_shader_stage()
145 case MESA_SHADER_FRAGMENT: in _mesa_shader_stage_to_program()
Dprogram.c66 assert(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxUniformComponents / 4 in _mesa_init_program()
71 assert(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTemps <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
72 assert(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxLocalParams <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
75 assert(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxUniformComponents <= 4 * MAX_UNIFORMS); in _mesa_init_program()
78 assert(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxAddressOffset <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c830 …if (vkms && !vkms->sampleShadingEnable && pipeline->shaders[MESA_SHADER_FRAGMENT]->info.info.ps.fo… in radv_pipeline_init_multisample_state()
1638 ps = pipeline->shaders[MESA_SHADER_FRAGMENT]; in calculate_ps_inputs()
1694 if(shaders[MESA_SHADER_FRAGMENT]) { in radv_link_shaders()
1695 ordered_shaders[shader_count++] = shaders[MESA_SHADER_FRAGMENT]; in radv_link_shaders()
1809 keys[MESA_SHADER_FRAGMENT].fs.multisample = key->multisample; in radv_fill_shader_keys()
1810 keys[MESA_SHADER_FRAGMENT].fs.col_format = key->col_format; in radv_fill_shader_keys()
1811 keys[MESA_SHADER_FRAGMENT].fs.is_int8 = key->is_int8; in radv_fill_shader_keys()
1812 keys[MESA_SHADER_FRAGMENT].fs.is_int10 = key->is_int10; in radv_fill_shader_keys()
1813 keys[MESA_SHADER_FRAGMENT].fs.log2_ps_iter_samples = key->log2_ps_iter_samples; in radv_fill_shader_keys()
1814 keys[MESA_SHADER_FRAGMENT].fs.log2_num_samples = key->log2_num_samples; in radv_fill_shader_keys()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c165 nir->info.stage == MESA_SHADER_FRAGMENT); in si_nir_scan_shader()
215 assert(nir->info.stage != MESA_SHADER_FRAGMENT || in si_nir_scan_shader()
219 if (nir->info.stage == MESA_SHADER_FRAGMENT && in si_nir_scan_shader()
317 if (nir->info.stage == MESA_SHADER_FRAGMENT) { in si_nir_scan_shader()
484 if (sel->nir->info.stage == MESA_SHADER_FRAGMENT) { in si_lower_nir()
649 nir->info.stage == MESA_SHADER_FRAGMENT) { in si_nir_build_llvm()
669 else if (nir->info.stage == MESA_SHADER_FRAGMENT) in si_nir_build_llvm()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c163 pc = &c->Program[MESA_SHADER_FRAGMENT]; in st_init_limits()
164 options = &c->ShaderCompilerOptions[MESA_SHADER_FRAGMENT]; in st_init_limits()
337 c->Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits + in st_init_limits()
343 = _min(c->Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits, in st_init_limits()
347 _min(c->Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits, in st_init_limits()
411 c->Program[MESA_SHADER_FRAGMENT].MaxUniformBlocks + in st_init_limits()
432 c->Program[MESA_SHADER_FRAGMENT].MaxAtomicBuffers; in st_init_limits()
437 … c->MaxAtomicBufferSize = c->Program[MESA_SHADER_FRAGMENT].MaxAtomicCounters * ATOMIC_COUNTER_SIZE; in st_init_limits()
441 c->MaxCombinedAtomicCounters = c->Program[MESA_SHADER_FRAGMENT].MaxAtomicCounters; in st_init_limits()
442 c->MaxCombinedAtomicBuffers = c->Program[MESA_SHADER_FRAGMENT].MaxAtomicBuffers; in st_init_limits()
[all …]
/external/mesa3d/src/compiler/
Dshader_enums.c44 ENUM(MESA_SHADER_FRAGMENT), in gl_shader_stage_name()
60 case MESA_SHADER_FRAGMENT: return "fragment"; in _mesa_shader_stage_to_string()
79 case MESA_SHADER_FRAGMENT: return "FS"; in _mesa_shader_stage_to_abbrev()
/external/mesa3d/src/intel/compiler/
Dbrw_compiler.c128 compiler->scalar_stage[MESA_SHADER_FRAGMENT] = true; in brw_compiler_create()
175 STATIC_ASSERT(MESA_SHADER_FRAGMENT == 4); in brw_prog_data_size()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c91 [MESA_SHADER_FRAGMENT] = DEBUG_WM,
185 if (stage == MESA_SHADER_FRAGMENT) in anv_shader_compile_to_nir()
201 if (stage == MESA_SHADER_FRAGMENT) in anv_shader_compile_to_nir()
854 MESA_SHADER_FRAGMENT, spec_info, in anv_pipeline_compile_fs()
873 MESA_SHADER_FRAGMENT, spec_info, in anv_pipeline_compile_fs()
979 anv_pipeline_add_compiled_stage(pipeline, MESA_SHADER_FRAGMENT, bin); in anv_pipeline_compile_fs()
1348 if (modules[MESA_SHADER_FRAGMENT]) { in anv_pipeline_init()
1350 modules[MESA_SHADER_FRAGMENT], in anv_pipeline_init()
1351 pStages[MESA_SHADER_FRAGMENT]->pName, in anv_pipeline_init()
1352 pStages[MESA_SHADER_FRAGMENT]->pSpecializationInfo); in anv_pipeline_init()
Danv_nir_lower_multiview.c133 if (b->shader->info.stage == MESA_SHADER_FRAGMENT) in build_view_index()
205 if (shader->info.stage != MESA_SHADER_FRAGMENT) { in anv_nir_lower_multiview()
/external/mesa3d/src/compiler/nir/
Dnir_gather_info.c57 if (shader->info.stage == MESA_SHADER_FRAGMENT) { in set_io_mask()
209 assert(shader->info.stage == MESA_SHADER_FRAGMENT); in gather_intrinsic_info()
363 if (shader->info.stage == MESA_SHADER_FRAGMENT) { in nir_shader_gather_info()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c144 case MESA_SHADER_FRAGMENT: in load_glsl()
349 stage = MESA_SHADER_FRAGMENT; in main()
403 case MESA_SHADER_FRAGMENT: in main()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.h62 case MESA_SHADER_FRAGMENT: in pipe_shader_type_from_mesa()

123456