/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_context.c | 204 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/ |
D | standalone.cpp | 184 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 …]
|
D | standalone_scaffolding.cpp | 92 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()
|
D | ir_set_program_inouts.cpp | 123 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()
|
D | link_varyings.cpp | 207 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 …]
|
D | linker.cpp | 1930 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/ |
D | shaderobj.h | 128 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()
|
D | state.c | 84 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()
|
D | arbprogram.c | 51 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()
|
D | context.c | 473 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()
|
D | texstate.c | 748 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/ |
D | brw_context.c | 354 [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 …]
|
D | brw_disk_cache.c | 139 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/ |
D | program.h | 121 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()
|
D | program.c | 66 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/ |
D | radv_pipeline.c | 830 …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/ |
D | si_shader_nir.c | 165 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/ |
D | st_extensions.c | 163 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/ |
D | shader_enums.c | 44 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/ |
D | brw_compiler.c | 128 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/ |
D | anv_pipeline.c | 91 [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()
|
D | anv_nir_lower_multiview.c | 133 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/ |
D | nir_gather_info.c | 57 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/ |
D | ir3_cmdline.c | 144 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/ |
D | tgsi_from_mesa.h | 62 case MESA_SHADER_FRAGMENT: in pipe_shader_type_from_mesa()
|