Home
last modified time | relevance | path

Searched refs:shader_program (Results 1 – 25 of 42) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp226 struct gl_shader_program *shader_program, in st_nir_assign_uniform_locations() argument
246 bool found = shader_program->UniformHash->get(val, uniform->name); in st_nir_assign_uniform_locations()
312 struct gl_shader_program *shader_program, in st_glsl_to_nir() argument
328 nir_shader *nir = glsl_to_nir(shader_program, stage, options); in st_glsl_to_nir()
340 struct gl_shader_program *shader_program) in st_glsl_to_nir_post_opts() argument
373 _mesa_associate_uniform_storage(st->ctx, shader_program, prog, true); in st_glsl_to_nir_post_opts()
378 NIR_PASS_V(nir, nir_lower_atomics, shader_program); in st_glsl_to_nir_post_opts()
384 shader_program->Name); in st_glsl_to_nir_post_opts()
418 struct gl_shader_program *shader_program, in set_st_program() argument
429 stvp->shader_program = shader_program; in set_st_program()
[all …]
Dst_nir.h41 struct gl_shader_program *shader_program,
46 struct gl_shader_program *shader_program);
Dst_program.h150 struct gl_shader_program *shader_program; member
213 struct gl_shader_program *shader_program; member
267 struct gl_shader_program *shader_program; member
290 struct gl_shader_program *shader_program; member
Dst_program.c445 if (!stvp->glsl_to_tgsi && !stvp->shader_program) { in st_translate_vertex_program()
461 if (stvp->shader_program) { in st_translate_vertex_program()
462 struct gl_program *prog = stvp->shader_program->last_vert_prog; in st_translate_vertex_program()
570 st_finalize_nir(st, &stvp->Base, stvp->shader_program, in st_create_vp_variant()
669 if (!stfp->glsl_to_tgsi && !stfp->shader_program) { in st_translate_fragment_program()
904 if (stfp->shader_program) in st_translate_fragment_program()
1090 st_finalize_nir(st, &stfp->Base, stfp->shader_program, tgsi.ir.nir); in st_create_fp_variant()
1473 if (stgp->shader_program) { in st_translate_geometry_program()
1530 st_finalize_nir(st, &prog->Base, prog->shader_program, in st_get_basic_variant()
1574 if (sttcp->shader_program) in st_translate_tessctrl_program()
[all …]
Dst_glsl_to_tgsi.cpp169 struct gl_shader_program *shader_program; member
1142 fail_link(this->shader_program, in visit()
4034 *base += this->shader_program->data->UniformStorage[location].opaque[shader].index; in get_deref_offsets()
4035 *index += this->shader_program->data->UniformStorage[location].opaque[shader].index; in get_deref_offsets()
4478 shader_program = NULL; in glsl_to_tgsi_visitor()
4557 if (v->shader_program != NULL) in count_resources()
4558 _mesa_update_shader_textures_used(v->shader_program, prog); in count_resources()
6646 if (program->shader_program->SeparateShader) in st_translate_program()
6650 if (program->shader_program->_LinkedShaders[i]) { in st_translate_program()
6681 struct gl_shader_program *shader_program, in get_mesa_program_tgsi() argument
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_lower_samplers.c90 lower_sampler(nir_tex_instr *instr, const struct gl_shader_program *shader_program, in lower_sampler() argument
120 assert(location < shader_program->data->NumUniformStorage && in lower_sampler()
121 shader_program->data->UniformStorage[location].opaque[stage].active); in lower_sampler()
124 shader_program->data->UniformStorage[location].opaque[stage].index; in lower_sampler()
134 lower_impl(nir_function_impl *impl, const struct gl_shader_program *shader_program, in lower_impl() argument
145 shader_program, stage, &b); in lower_impl()
154 const struct gl_shader_program *shader_program) in nir_lower_samplers() argument
160 progress |= lower_impl(function->impl, shader_program, in nir_lower_samplers()
Dnir_lower_samplers_as_deref.c69 const struct gl_shader_program *shader_program; member
130 assert(location < state->shader_program->data->NumUniformStorage && in lower_deref()
131 state->shader_program->data->UniformStorage[location].opaque[stage].active); in lower_deref()
133 binding = state->shader_program->data->UniformStorage[location].opaque[stage].index; in lower_deref()
226 const struct gl_shader_program *shader_program) in nir_lower_samplers_as_deref() argument
232 state.shader_program = shader_program; in nir_lower_samplers_as_deref()
Dnir_lower_atomics.c40 const struct gl_shader_program *shader_program, in lower_instr() argument
103 shader_program->data->UniformStorage[uniform_loc].opaque[shader->info.stage].index); in lower_instr()
177 const struct gl_shader_program *shader_program) in nir_lower_atomics() argument
187 shader_program, shader); in nir_lower_atomics()
Dnir.h2524 const struct gl_shader_program *shader_program);
2526 const struct gl_shader_program *shader_program);
2679 const struct gl_shader_program *shader_program);
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp333 struct gl_shader_program *shader_program; member in texenv_fragment_program
1056 p.shader_program = _mesa_new_shader_program(0); in create_new_program()
1064 p.shader_program->SeparateShader = GL_TRUE; in create_new_program()
1121 p.shader_program->Shaders = in create_new_program()
1122 (gl_shader **)malloc(sizeof(*p.shader_program->Shaders)); in create_new_program()
1123 p.shader_program->Shaders[0] = p.shader; in create_new_program()
1124 p.shader_program->NumShaders = 1; in create_new_program()
1126 _mesa_glsl_link_shader(ctx, p.shader_program); in create_new_program()
1128 if (!p.shader_program->data->LinkStatus) in create_new_program()
1130 p.shader_program->data->InfoLog); in create_new_program()
[all …]
/external/mesa3d/src/mesa/program/
Dir_to_mesa.h43 *shader_program,
49 struct gl_shader_program *shader_program,
Dir_to_mesa.cpp219 struct gl_shader_program *shader_program; member in __anon8fb3a92c0211::ir_to_mesa_visitor
685 linker_error(this->shader_program, in visit()
1698 struct gl_shader_program *shader_program, in get_sampler_uniform_value() argument
1707 calc_sampler_offsets(shader_program, sampler, &offset, &array_elements, in get_sampler_uniform_value()
1710 assert(shader_program->data->UniformStorage[location].opaque[shader].active); in get_sampler_uniform_value()
1711 return shader_program->data->UniformStorage[location].opaque[shader].index + in get_sampler_uniform_value()
2151 inst->sampler = get_sampler_uniform_value(ir->sampler, shader_program, in visit()
2393 struct gl_shader_program *shader_program, in add_uniform_to_shader() argument
2474 *shader_program, in _mesa_generate_parameters_list_for_uniforms()
2479 add_uniform_to_shader add(ctx, shader_program, params); in _mesa_generate_parameters_list_for_uniforms()
[all …]
/external/deqp/android/cts/master/
Dgles2-master.txt14218 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
14221 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/android/cts/mnc/src/
Dgles2-master.txt14021 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
14024 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/android/cts/nyc/src/
Dgles2-master.txt13908 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
13911 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/android/cts/mnc/
Dgles2-master.txt14021 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
14024 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/src/
Dgles2-master.txt13950 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
13953 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/
Dgles2-master.txt13950 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
13953 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/android/cts/nyc/
Dgles2-master.txt13908 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
13911 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/
Dgles2-master.txt16300 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
16303 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/
Dgles2-master.txt16446 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
16449 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/
Dgles2-master.txt16291 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
16294 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/master/
Dgles2-master.txt17159 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
17162 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/
Dgles2-master.txt17027 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
17030 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/
Dgles2-master.txt17283 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
17286 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program

12