Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp333 struct gl_shader_program *shader_program, in st_nir_preprocess() argument
349 ~prev_stages & shader_program->data->linked_stages; in st_nir_preprocess()
465 struct gl_shader_program *shader_program) in st_glsl_to_nir_post_opts() argument
505 _mesa_ensure_and_associate_uniform_storage(st->ctx, shader_program, prog, 28); in st_glsl_to_nir_post_opts()
511 if (!shader_program->data->spirv && in st_glsl_to_nir_post_opts()
516 NIR_PASS_V(nir, gl_nir_lower_atomics, shader_program, true); in st_glsl_to_nir_post_opts()
556 for (unsigned i = 0; i < shader_program->data->NumAtomicBuffers; i++) { in st_glsl_to_nir_post_opts()
557 …_index16 state[STATE_LENGTH] = { STATE_ATOMIC_COUNTER_OFFSET, (short)shader_program->data->AtomicB… in st_glsl_to_nir_post_opts()
571 msg = st_finalize_nir(st, prog, shader_program, nir, true, true); in st_glsl_to_nir_post_opts()
577 shader_program->Name); in st_glsl_to_nir_post_opts()
[all …]
Dst_nir.h45 struct gl_shader_program *shader_program,
51 struct gl_shader_program *shader_program);
58 struct gl_shader_program *shader_program,
Dst_program.c731 char *msg = st_finalize_nir(st, prog, prog->shader_program, state.ir.nir, in st_create_common_variant()
1013 fp->shader_program, fp); in st_create_fp_variant()
1034 char *msg = st_finalize_nir(st, fp, fp->shader_program, state.ir.nir, in st_create_fp_variant()
1355 assert(!prog->shader_program); in st_program_string_notify()
Dst_shader_cache.c184 prog->shader_program = shProg; in st_deserialise_nir_program()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_buffers.c34 const struct gl_shader_program *shader_program) in get_block_array_index() argument
82 shader_program->_LinkedShaders[b->shader->info.stage]; in get_block_array_index()
96 bool use_bindings = shader_program->data->spirv; in get_block_array_index()
122 const struct gl_shader_program *shader_program, in get_block_index_offset() argument
128 shader_program->_LinkedShaders[stage]; in get_block_index_offset()
142 bool use_bindings = shader_program->data->spirv; in get_block_index_offset()
163 const struct gl_shader_program *shader_program) in lower_buffer_interface_derefs_impl() argument
215 get_block_index_offset(deref->var, shader_program, in lower_buffer_interface_derefs_impl()
225 shader_program); in lower_buffer_interface_derefs_impl()
332 const struct gl_shader_program *shader_program) in gl_nir_lower_buffers() argument
[all …]
Dgl_nir.h39 const struct gl_shader_program *shader_program,
44 const struct gl_shader_program *shader_program);
46 const struct gl_shader_program *shader_program);
49 const struct gl_shader_program *shader_program);
Dgl_nir_lower_samplers_as_deref.c69 const struct gl_shader_program *shader_program; member
178 if (state->shader_program && var->data.how_declared != nir_var_hidden) { in lower_deref()
180 assert(location < state->shader_program->data->NumUniformStorage && in lower_deref()
181 state->shader_program->data->UniformStorage[location].opaque[stage].active); in lower_deref()
183 binding = state->shader_program->data->UniformStorage[location].opaque[stage].index; in lower_deref()
381 const struct gl_shader_program *shader_program) in gl_nir_lower_samplers_as_deref() argument
387 state.shader_program = shader_program; in gl_nir_lower_samplers_as_deref()
Dgl_nir_lower_atomics.c43 const struct gl_shader_program *shader_program, in lower_deref_instr() argument
110 shader_program->data->UniformStorage[uniform_loc].opaque[shader->info.stage].index; in lower_deref_instr()
144 const struct gl_shader_program *shader_program, in gl_nir_lower_atomics() argument
165 shader_program, shader, in gl_nir_lower_atomics()
Dgl_nir_lower_samplers.c31 const struct gl_shader_program *shader_program) in gl_nir_lower_samplers() argument
36 gl_nir_lower_samplers_as_deref(shader, shader_program); in gl_nir_lower_samplers()
/third_party/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp337 struct gl_shader_program *shader_program; member in texenv_fragment_program
1047 p.shader_program = _mesa_new_shader_program(0); in create_new_program()
1055 p.shader_program->SeparateShader = GL_TRUE; in create_new_program()
1100 p.shader_program->Shaders = in create_new_program()
1101 (gl_shader **)malloc(sizeof(*p.shader_program->Shaders)); in create_new_program()
1102 p.shader_program->Shaders[0] = p.shader; in create_new_program()
1103 p.shader_program->NumShaders = 1; in create_new_program()
1105 _mesa_glsl_link_shader(ctx, p.shader_program); in create_new_program()
1107 if (!p.shader_program->data->LinkStatus) in create_new_program()
1109 p.shader_program->data->InfoLog); in create_new_program()
[all …]
Duniforms.h79 struct gl_shader_program *shader_program,
Dshader_types.h563 struct gl_shader_program *shader_program; member
Duniform_query.cpp928 struct gl_shader_program *shader_program, in associate_uniform_storage() argument
948 &shader_program->data->UniformStorage[location]; in associate_uniform_storage()
1080 struct gl_shader_program *shader_program, in _mesa_ensure_and_associate_uniform_storage() argument
1093 associate_uniform_storage(ctx, shader_program, prog); in _mesa_ensure_and_associate_uniform_storage()
/third_party/glfw/examples/
Dheightmap.c411 GLuint shader_program; in main() local
438 shader_program = make_shader_program(vertex_shader_text, fragment_shader_text); in main()
440 if (shader_program == 0u) in main()
446 glUseProgram(shader_program); in main()
447 uloc_project = glGetUniformLocation(shader_program, "project"); in main()
448 uloc_modelview = glGetUniformLocation(shader_program, "modelview"); in main()
467 make_mesh(shader_program); in main()
/third_party/vk-gl-cts/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
/third_party/vk-gl-cts/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
/third_party/vk-gl-cts/android/cts/master/
Dgles2-master.txt14258 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
14261 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
Dgles2-master-2020-03-01.txt14226 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
14229 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/third_party/vk-gl-cts/android/cts/master/src/
Dgles2-master-2020-03-01.txt14226 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
14229 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/
Dgles2-master.txt14226 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
14229 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
Dgles2-master-PASS.txt2585 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
2587 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
/third_party/vk-gl-cts/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
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/
Dgles2-master.txt16484 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
16487 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/master/
Dgles2-master.txt16484 dEQP-GLES2.functional.lifetime.attach.deleted_name.shader_program
16487 dEQP-GLES2.functional.lifetime.attach.deleted_input.shader_program
/third_party/vk-gl-cts/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

12