| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| brw_link.cpp | 105 if (shader->Stage == MESA_SHADER_FRAGMENT) { 134 lower_if_to_cond_assign(shader->Stage, shader->ir, 16); 154 _mesa_shader_stage_to_string(shader->Stage), 159 "from cache)\n", _mesa_shader_stage_to_string(shader->Stage), 229 unsigned int stage; local 235 for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) { 236 struct gl_linked_shader *shader = shProg->_LinkedShaders[stage]; 251 INTEL_DEBUG(intel_debug_flag_for_shader_stage(shader->Stage)); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| link_varyings.cpp | 47 * a stage whose varyings are arrays indexed by a vertex number (such as 51 get_varying_type(const ir_variable *var, gl_shader_stage stage) 57 stage == MESA_SHADER_TESS_CTRL) || 59 (stage == MESA_SHADER_TESS_CTRL || stage == MESA_SHADER_TESS_EVAL || 60 stage == MESA_SHADER_GEOMETRY)))) { 199 * Validate the types and qualifiers of an output from one stage against the 200 * matching input to another stage. 325 * one shader stage will still match an input of a subsequent stage 720 gl_shader_stage stage = stages[i]; local [all...] |
| link_interface_blocks.cpp | 68 * "It is a link-time error if, within the same stage, the 118 * stage matches an input of the next stage, the precision qualifier 385 const bool extra_array_level = (producer->Stage == MESA_SHADER_VERTEX && 386 consumer->Stage != MESA_SHADER_FRAGMENT) || 387 consumer->Stage == MESA_SHADER_GEOMETRY; 498 * by the previous stage; it is allowed to have superfluous 502 !is_builtin_gl_in_block(var, consumer->Stage) && var->data.used) { 504 "the previous stage\n", var->get_interface_type()->name); 528 const gl_linked_shader *stage = stages[i] local [all...] |
| lower_tess_level.cpp | 447 if ((shader->Stage != MESA_SHADER_TESS_CTRL) && 448 (shader->Stage != MESA_SHADER_TESS_EVAL)) 451 lower_tess_level_visitor v(shader->Stage);
|
| lower_vertex_id.cpp | 131 if (shader->Stage != MESA_SHADER_VERTEX)
|
| opt_dead_builtin_varyings.cpp | 28 * at all or not used by the next stage. It also eliminates unused elements 367 /* This varying is unused in the next stage. Declare 542 if (consumer && consumer->Stage == MESA_SHADER_FRAGMENT && 562 if (producer->Stage == MESA_SHADER_TESS_CTRL) 577 if (consumer->Stage != MESA_SHADER_FRAGMENT) 606 if (consumer->Stage == MESA_SHADER_FRAGMENT) {
|
| test_optpass.cpp | 201 shader->Stage = _mesa_shader_enum_to_shader_stage(shader_type); 206 = new(shader) _mesa_glsl_parse_state(ctx, shader->Stage, shader);
|
| lower_cs_derived.cpp | 228 if (shader->Stage != MESA_SHADER_COMPUTE)
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| brw_link.cpp | 132 lower_if_to_cond_assign(shader->Stage, shader->ir, 16); 154 _mesa_shader_stage_to_string(shader->Stage), 159 "from cache)\n", _mesa_shader_stage_to_string(shader->Stage), 229 unsigned int stage; local 235 for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) { 236 struct gl_linked_shader *shader = shProg->_LinkedShaders[stage]; 251 (INTEL_DEBUG & intel_debug_flag_for_shader_stage(shader->Stage)); 255 _mesa_shader_stage_to_string(shader->Stage), shProg->Name) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| link_varyings.cpp | 47 * a stage whose varyings are arrays indexed by a vertex number (such as 51 get_varying_type(const ir_variable *var, gl_shader_stage stage) 57 stage == MESA_SHADER_TESS_CTRL) || 59 (stage == MESA_SHADER_TESS_CTRL || stage == MESA_SHADER_TESS_EVAL || 60 stage == MESA_SHADER_GEOMETRY)))) { 192 * Validate the types and qualifiers of an output from one stage against the 193 * matching input to another stage. 315 * one shader stage will still match an input of a subsequent stage 708 gl_shader_stage stage = stages[i]; local 1836 const gl_shader_stage stage = (consumer_var != NULL) local [all...] |
| link_interface_blocks.cpp | 65 * "It is a link-time error if, within the same stage, the 365 const bool extra_array_level = (producer->Stage == MESA_SHADER_VERTEX && 366 consumer->Stage != MESA_SHADER_FRAGMENT) || 367 consumer->Stage == MESA_SHADER_GEOMETRY; 424 * by the previous stage; it is allowed to have superfluous 428 !is_builtin_gl_in_block(var, consumer->Stage) && var->data.used) { 430 "the previous stage\n", var->get_interface_type()->name); 454 const gl_linked_shader *stage = stages[i]; local 455 foreach_in_list(ir_instruction, node, stage->ir) { 468 * shaders are in the same shader stage) [all...] |
| lower_tess_level.cpp | 447 if ((shader->Stage != MESA_SHADER_TESS_CTRL) && 448 (shader->Stage != MESA_SHADER_TESS_EVAL)) 451 lower_tess_level_visitor v(shader->Stage);
|
| lower_vertex_id.cpp | 131 if (shader->Stage != MESA_SHADER_VERTEX)
|
| opt_dead_builtin_varyings.cpp | 28 * at all or not used by the next stage. It also eliminates unused elements 367 /* This varying is unused in the next stage. Declare 542 if (consumer && consumer->Stage == MESA_SHADER_FRAGMENT) { 561 if (producer->Stage == MESA_SHADER_TESS_CTRL) 576 if (consumer->Stage != MESA_SHADER_FRAGMENT) 605 if (consumer->Stage == MESA_SHADER_FRAGMENT) {
|
| test_optpass.cpp | 205 shader->Stage = _mesa_shader_enum_to_shader_stage(shader_type); 210 = new(shader) _mesa_glsl_parse_state(ctx, shader->Stage, shader);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| aco_instruction_selection.h | 58 Stage stage; member in struct:aco::isel_context
|
| aco_ir.h | 1917 /* Stage combinations merged to run on a single HWStage */ 1951 struct Stage { 1952 constexpr Stage() = default; 1954 explicit constexpr Stage(HWStage hw_, SWStage sw_) : sw(sw_), hw(hw_) {} 1957 constexpr bool has(SWStage stage) const 1959 return (static_cast<uint8_t>(sw) & static_cast<uint8_t>(stage)); 1964 constexpr bool operator==(const Stage& other) const { return sw == other.sw && hw == other.hw; } 1966 constexpr bool operator!=(const Stage& other) const { return sw != other.sw || hw != other.hw; } 1971 /* Active hardware stage */ 1975 /* possible settings of Program::stage */ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_glsl_to_nir.cpp | 109 if (nir->info.stage != MESA_SHADER_VERTEX || nir->info.io_lowered) 355 gl_shader_stage stage) 359 st->ctx->Const.ShaderCompilerOptions[prog->info.stage].NirOptions; 363 /* Set the next shader stage hint for VS and TES. */ 365 (nir->info.stage == MESA_SHADER_VERTEX || 366 nir->info.stage == MESA_SHADER_TESS_EVAL)) { 368 unsigned prev_stages = (1 << (prog->info.stage + 1)) - 1; 395 nir->info.stage == MESA_SHADER_VERTEX || 396 nir->info.stage == MESA_SHADER_GEOMETRY) { 400 } else if (nir->info.stage == MESA_SHADER_FRAGMENT | [all...] |
| st_glsl_to_ir.cpp | 74 gl_shader_stage stage = shader->Stage; local 76 &ctx->Const.ShaderCompilerOptions[stage]; 83 lower_variable_index_to_cond_assign(stage, ir, 90 enum pipe_shader_type ptarget = pipe_shader_type_from_mesa(stage); 125 if (stage == MESA_SHADER_FRAGMENT && pscreen->get_param(pscreen, PIPE_CAP_FBFETCH))
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| glspirv.c | 126 gl_shader_stage shader_type = shader->Stage; 128 /* We only support one shader per stage. The gl_spirv spec doesn't seem 139 "per stage.\n"); 147 linked->Stage = shader_type; 219 gl_shader_stage stage, 222 struct gl_linked_shader *linked_shader = prog->_LinkedShaders[stage]; 263 stage, entry_point_name, 269 assert(nir->info.stage == stage); 275 _mesa_shader_stage_to_abbrev(nir->info.stage), [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| glspirv.c | 126 gl_shader_stage shader_type = shader->Stage; 128 /* We only support one shader per stage. The gl_spirv spec doesn't seem 139 "per stage.\n"); 147 linked->Stage = shader_type; 186 gl_shader_stage stage, 191 struct gl_linked_shader *linked_shader = prog->_LinkedShaders[stage]; 224 stage, entry_point_name, 231 assert(nir->info.stage == stage); 237 _mesa_shader_stage_to_abbrev(nir->info.stage), [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_glsl_to_ir.cpp | 68 gl_shader_stage stage = shader->Stage; local 70 &ctx->Const.ShaderCompilerOptions[stage]; 77 lower_variable_index_to_cond_assign(stage, ir, 84 enum pipe_shader_type ptarget = pipe_shader_type_from_mesa(stage); 119 if (stage == MESA_SHADER_FRAGMENT)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| device9.c | 2631 DWORD Stage, 2634 user_assert(Stage < NINE_MAX_SAMPLERS_PS || 2635 Stage == D3DDMAPSAMPLER || 2636 (Stage >= D3DVERTEXTEXTURESAMPLER0 && 2637 Stage <= D3DVERTEXTEXTURESAMPLER3), D3DERR_INVALIDCALL); 2640 if (Stage >= D3DDMAPSAMPLER) 2641 Stage = Stage - D3DDMAPSAMPLER + NINE_MAX_SAMPLERS_PS; 2643 *ppTexture = (IDirect3DBaseTexture9 *)This->state.texture[Stage]; 2645 if (This->state.texture[Stage]) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/ |
| device9.c | 2462 DWORD Stage, 2465 user_assert(Stage < NINE_MAX_SAMPLERS_PS || 2466 Stage == D3DDMAPSAMPLER || 2467 (Stage >= D3DVERTEXTEXTURESAMPLER0 && 2468 Stage <= D3DVERTEXTEXTURESAMPLER3), D3DERR_INVALIDCALL); 2471 if (Stage >= D3DDMAPSAMPLER) 2472 Stage = Stage - D3DDMAPSAMPLER + NINE_MAX_SAMPLERS_PS; 2474 *ppTexture = (IDirect3DBaseTexture9 *)This->state.texture[Stage]; 2476 if (This->state.texture[Stage]) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/ |
| helpers.h | 60 VkShaderStageFlagBits stage; member in struct:QoShaderModuleCreateInfo 73 void create_program(enum chip_class chip_class, aco::Stage stage, 150 void add_stage(VkShaderStageFlagBits stage, VkShaderModule module, const char *name="main"); 151 void add_stage(VkShaderStageFlagBits stage, QoShaderModuleCreateInfo module, const char *name="main");
|