Searched refs:nir (Results 26 - 50 of 81) sorted by relevance

1234

/external/mesa3d/src/gallium/targets/libgl-gdi/
H A DSConscript57 LIBS = wgl + ws_gdi + glapi + compiler + mesa + drivers + gallium + glsl + nir + env['LIBS'],
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_interpolation_map.c26 #include "compiler/nir/nir.h"
61 brw_setup_vue_interpolation(struct brw_vue_map *vue_map, nir_shader *nir, argument
80 foreach_list_typed(nir_variable, var, node, &nir->inputs) {
H A Dbrw_vs.c158 int param_count = vp->program.nir->num_uniforms / 4;
177 brw_nir_setup_glsl_uniforms(vp->program.nir, &vp->program,
181 brw_nir_setup_arb_uniforms(vp->program.nir, &vp->program,
196 vp->program.nir->info->separate_shader);
223 vp->program.nir,
313 if (prog->nir->info->outputs_written &
367 (prog->nir->info->outputs_written &
H A DAndroid.mk169 $(MESA_TOP)/src/compiler/nir \
170 $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \
H A Dbrw_wm_iz.cpp146 (nir->info->inputs_read & (1 << VARYING_SLOT_POS)) != 0;
H A Dbrw_cs.c87 int param_count = cp->program.nir->num_uniforms / 4;
104 brw_nir_setup_glsl_uniforms(cp->program.nir, &cp->program,&prog_data.base,
119 &prog_data, cp->program.nir, st_index,
H A Dbrw_gs.c101 int param_count = gp->program.nir->num_uniforms / 4;
113 brw_nir_setup_glsl_uniforms(gp->program.nir, &gp->program,
137 &prog_data, gp->program.nir, &gp->program,
H A Dbrw_link.cpp234 prog->nir = brw_create_nir(brw, shProg, prog, (gl_shader_stage) stage,
236 infos[stage] = prog->nir->info;
245 nir_foreach_variable(var, &prog->nir->uniforms) {
H A Dbrw_wm.c62 if (prog->nir->info->outputs_read && !key->coherent_fb_fetch) {
150 int param_count = fp->program.nir->num_uniforms / 4;
164 brw_nir_setup_glsl_uniforms(fp->program.nir, &fp->program,
167 brw_nir_setup_arb_uniforms(fp->program.nir, &fp->program,
190 key, &prog_data, fp->program.nir,
339 if (brw->gen == 7 && prog->nir->info->uses_texture_gather) {
377 if (brw->gen == 6 && prog->nir->info->uses_texture_gather) {
H A Dgen6_gs_visitor.cpp67 nir->info->gs.vertices_out);
181 if (nir->info->gs.output_primitive == GL_POINTS) {
210 if (nir->info->gs.output_primitive == GL_POINTS)
222 unsigned num_output_vertices = nir->info->gs.vertices_out;
326 if (nir->info->gs.output_primitive != GL_POINTS) {
628 for (int i = 0; i < (int)nir->info->gs.vertices_out; i++) {
/external/mesa3d/src/amd/vulkan/
H A Dradv_pipeline.c30 #include "nir/nir.h"
31 #include "nir/nir_builder.h"
82 module->nir = NULL;
163 nir_shader *nir; local
165 if (module->nir) {
169 nir = module->nir;
170 nir->options = &nir_options;
171 nir_validate_shader(nir);
461 nir_shader *nir; local
[all...]
H A Dradv_meta_blit.c25 #include "nir/nir_builder.h"
720 fs_1d.nir = build_nir_copy_fragment_shader(GLSL_SAMPLER_DIM_1D);
721 fs_2d.nir = build_nir_copy_fragment_shader(GLSL_SAMPLER_DIM_2D);
722 fs_3d.nir = build_nir_copy_fragment_shader(GLSL_SAMPLER_DIM_3D);
889 ralloc_free(fs_1d.nir);
890 ralloc_free(fs_2d.nir);
891 ralloc_free(fs_3d.nir);
902 fs_1d.nir = build_nir_copy_fragment_shader_depth(GLSL_SAMPLER_DIM_1D);
903 fs_2d.nir = build_nir_copy_fragment_shader_depth(GLSL_SAMPLER_DIM_2D);
904 fs_3d.nir
[all...]
H A Dradv_meta_decompress.c29 #include "nir/nir_builder.h"
127 .nir = build_nir_fs(),
130 if (!fs_module.nir) {
248 ralloc_free(fs_module.nir);
281 struct radv_shader_module vs_module = { .nir = build_nir_vs() };
282 if (!vs_module.nir) {
303 ralloc_free(vs_module.nir);
H A Dradv_meta_fast_clear.c29 #include "nir/nir_builder.h"
131 .nir = build_nir_fs(),
134 if (!fs_module.nir) {
285 ralloc_free(fs_module.nir);
319 struct radv_shader_module vs_module = { .nir = build_nir_vs() };
320 if (!vs_module.nir) {
341 ralloc_free(vs_module.nir);
H A Dradv_meta_buffer.c2 #include "nir/nir_builder.h"
119 struct radv_shader_module fill_cs = { .nir = NULL };
120 struct radv_shader_module copy_cs = { .nir = NULL };
124 fill_cs.nir = build_buffer_fill_shader(device);
125 copy_cs.nir = build_buffer_copy_shader(device);
250 ralloc_free(fill_cs.nir);
251 ralloc_free(copy_cs.nir);
255 ralloc_free(fill_cs.nir);
256 ralloc_free(copy_cs.nir);
H A Dradv_meta_bufimage.c25 #include "nir/nir_builder.h"
124 struct radv_shader_module cs = { .nir = NULL };
128 cs.nir = build_nir_itob_compute_shader(device);
202 ralloc_free(cs.nir);
205 ralloc_free(cs.nir);
319 struct radv_shader_module cs = { .nir = NULL };
323 cs.nir = build_nir_btoi_compute_shader(device);
397 ralloc_free(cs.nir);
400 ralloc_free(cs.nir);
508 struct radv_shader_module cs = { .nir
[all...]
H A Dradv_meta_blit2d.c28 #include "nir/nir_builder.h"
730 struct radv_shader_module fs = { .nir = NULL };
733 fs.nir = build_nir_copy_fragment_shader(device, src_func, name);
737 .nir = build_nir_vertex_shader(),
858 ralloc_free(vs.nir);
859 ralloc_free(fs.nir);
887 struct radv_shader_module fs = { .nir = NULL };
889 fs.nir = build_nir_copy_fragment_shader_depth(device, src_func, name);
893 .nir = build_nir_vertex_shader(),
1011 ralloc_free(vs.nir);
[all...]
H A Dradv_meta_resolve.c29 #include "nir/nir_builder.h"
145 .nir = build_nir_fs(),
148 if (!fs_module.nir) {
253 ralloc_free(fs_module.nir);
282 struct radv_shader_module vs_module = { .nir = build_nir_vs() };
283 if (!vs_module.nir) {
304 ralloc_free(vs_module.nir);
/external/mesa3d/src/gallium/targets/libgl-xlib/
H A DSConscript35 nir,
/external/mesa3d/src/amd/common/
H A Dac_nir_to_llvm.h128 struct nir_shader *nir,
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_shader.c273 ralloc_free(shader->nir);
287 nir_shader *nir; local
290 nir = cso->ir.nir;
296 nir = ir3_tgsi_to_nir(cso->tokens);
299 shader->nir = ir3_optimize_nir(shader, nir, NULL);
301 DBG("dump nir%d: type=%d", shader->id, shader->type);
302 nir_print_shader(shader->nir, stdout);
475 return so->nir
[all...]
/external/mesa3d/src/intel/blorp/
H A Dblorp_priv.h29 #include "compiler/nir/nir.h"
323 struct nir_shader *nir,
331 struct nir_shader *nir,
/external/mesa3d/src/mesa/
H A DAndroid.libmesa_glsl_utils.mk39 $(MESA_TOP)/src/compiler/nir \
64 $(MESA_TOP)/src/compiler/nir \
/external/mesa3d/src/mesa/state_tracker/
H A Dst_program.c41 #include "compiler/nir/nir.h"
387 nir_shader *nir = st_glsl_to_nir(st, &stvp->Base, stvp->shader_program, local
391 stvp->tgsi.ir.nir = nir;
485 vpv->tgsi.ir.nir = nir_shader_clone(NULL, stvp->tgsi.ir.nir);
487 NIR_PASS_V(vpv->tgsi.ir.nir, nir_lower_clamp_color_outputs);
489 NIR_PASS_V(vpv->tgsi.ir.nir, nir_lower_passthrough_edgeflags);
491 st_finalize_nir(st, &stvp->Base, vpv->tgsi.ir.nir);
826 nir_shader *nir = st_glsl_to_nir(st, &stfp->Base, stfp->shader_program, local
[all...]
/external/mesa3d/src/compiler/nir/
H A Dnir.h2293 #define _PASS(nir, do_pass) do { \
2295 nir_validate_shader(nir); \
2297 nir_shader *clone = nir_shader_clone(ralloc_parent(nir), nir); \
2298 ralloc_free(nir); \
2299 nir = clone; \
2303 #define NIR_PASS(progress, nir, pass, ...) _PASS(nir, \
2304 nir_metadata_set_validation_flag(nir); \
2305 if (pass(nir, ##__VA_ARGS_
[all...]

Completed in 514 milliseconds

1234