HomeSort by relevance Sort by last modified time
    Searched refs:nir (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /external/mesa3d/src/compiler/nir/
nir_sweep.c 24 #include "nir.h"
41 static void sweep_cf_node(nir_shader *nir, nir_cf_node *cf_node);
44 sweep_src_indirect(nir_src *src, void *nir)
47 ralloc_steal(nir, src->reg.indirect);
53 sweep_dest_indirect(nir_dest *dest, void *nir)
56 ralloc_steal(nir, dest->reg.indirect);
62 sweep_block(nir_shader *nir, nir_block *block)
64 ralloc_steal(nir, block);
67 ralloc_steal(nir, instr);
69 nir_foreach_src(instr, sweep_src_indirect, nir);
    [all...]
nir_lower_clip_cull_distance_arrays.c 24 #include "nir.h"
41 get_unwrapped_array_length(nir_shader *nir, nir_variable *var)
51 if (nir_is_per_vertex_io(var, nir->stage))
125 combine_clip_cull(nir_shader *nir,
140 const unsigned clip_array_size = get_unwrapped_array_length(nir, clip);
141 const unsigned cull_array_size = get_unwrapped_array_length(nir, cull);
144 nir->info->clip_distance_array_size = clip_array_size;
145 nir->info->cull_distance_array_size = cull_array_size;
160 update_type(clip, nir->stage, clip_array_size + cull_array_size);
163 nir_foreach_function(function, nir) {
    [all...]
nir_opcodes_c.py 31 #include "nir.h"
  /external/mesa3d/src/compiler/
Makefile.nir.am 24 noinst_LTLIBRARIES += nir/libnir.la
34 nir/nir_builder_opcodes.h: nir/nir_opcodes.py nir/nir_builder_opcodes_h.py
36 $(PYTHON_GEN) $(srcdir)/nir/nir_builder_opcodes_h.py > $@ || ($(RM) $@; false)
38 nir/nir_constant_expressions.c: nir/nir_opcodes.py nir/nir_constant_expressions.py
40 $(PYTHON_GEN) $(srcdir)/nir/nir_constant_expressions.py > $@ || ($(RM) $@; false)
42 nir/nir_opcodes.h: nir/nir_opcodes.py nir/nir_opcodes_h.p
    [all...]
Android.nir.gen.mk 36 $(intermediates)/nir \
37 $(MESA_TOP)/src/compiler/nir
40 $(intermediates)/nir \
41 $(MESA_TOP)/src/compiler/nir
48 nir/nir_opcodes.h \
49 nir/nir_builder_opcodes.h)
51 nir_builder_opcodes_gen := $(LOCAL_PATH)/nir/nir_builder_opcodes_h.py
53 $(LOCAL_PATH)/nir/nir_opcodes.py \
54 $(LOCAL_PATH)/nir/nir_builder_opcodes_h.py
56 $(intermediates)/nir/nir_builder_opcodes.h: $(prebuilt_intermediates)/nir/nir_builder_opcodes.
    [all...]
Makefile.am 34 -I$(top_builddir)/src/compiler/nir \
35 -I$(top_srcdir)/src/compiler/nir \
64 include Makefile.nir.am
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_nir.h 27 #include "compiler/nir/nir.h"
92 void brw_nir_analyze_boolean_resolves(nir_shader *nir);
95 nir_shader *nir);
97 bool brw_nir_lower_intrinsics(nir_shader *nir,
99 void brw_nir_lower_vs_inputs(nir_shader *nir,
103 void brw_nir_lower_vue_inputs(nir_shader *nir, bool is_scalar,
105 void brw_nir_lower_tes_inputs(nir_shader *nir, const struct brw_vue_map *vue);
106 void brw_nir_lower_fs_inputs(nir_shader *nir,
109 void brw_nir_lower_vue_outputs(nir_shader *nir, bool is_scalar)
    [all...]
brw_nir.c 27 #include "compiler/nir/nir_builder.h"
85 add_const_offset_to_base(nir_shader *nir, nir_variable_mode mode)
87 nir_foreach_function(f, nir) {
255 brw_nir_lower_vs_inputs(nir_shader *nir,
261 foreach_list_typed(nir_variable, var, node, &nir->inputs) {
269 nir_lower_io(nir, nir_var_shader_in, type_size_vec4, 0);
272 nir_opt_constant_folding(nir);
274 add_const_offset_to_base(nir, nir_var_shader_in);
276 brw_nir_apply_attribute_workarounds(nir, use_legacy_snorm_formula,
282 nir_foreach_function(function, nir) {
    [all...]
brw_nir_intrinsics.c 25 #include "compiler/nir/nir_builder.h"
28 nir_shader *nir; member in struct:lower_intrinsics_state
43 nir_shader *nir = state->nir; local
44 const unsigned *sizes = nir->info->cs.local_size;
58 nir_intrinsic_instr_create(nir, nir_intrinsic_load_uniform);
74 nir_shader *nir = state->nir; local
87 assert(nir->stage == MESA_SHADER_COMPUTE);
100 assert(nir->stage == MESA_SHADER_COMPUTE)
    [all...]
Android.gen.mk 29 $(MESA_TOP)/src/compiler/nir/nir_algebraic.py
35 $(hide) PYTHONPATH=$(MESA_TOP)/src/compiler/nir $(MESA_PYTHON2) $< > $@
brw_vec4_tcs.cpp 40 const nir_shader *nir,
45 nir, mem_ctx, false, shader_time_index),
97 if (nir->info->tess.tcs_vertices_out % 2) {
99 brw_imm_ud(nir->info->tess.tcs_vertices_out),
114 if (nir->info->tess.tcs_vertices_out % 2) {
403 nir_shader *nir = nir_shader_clone(mem_ctx, src_shader); local
404 nir->info->outputs_written = key->outputs_written;
405 nir->info->patch_outputs_written = key->patch_outputs_written;
408 brw_compute_vue_map(devinfo, &input_vue_map, nir->info->inputs_read,
409 nir->info->separate_shader)
    [all...]
brw_tcs.c 46 nir_shader *nir = b.shader; local
54 nir->info->inputs_read = key->outputs_written &
56 nir->info->outputs_written = key->outputs_written;
57 nir->info->tess.tcs_vertices_out = key->input_vertices;
58 nir->info->name = ralloc_strdup(nir, "passthrough");
59 nir->num_uniforms = 8 * sizeof(uint32_t);
61 var = nir_variable_create(nir, nir_var_uniform, glsl_vec4_type(), "hdr_0");
63 var = nir_variable_create(nir, nir_var_uniform, glsl_vec4_type(), "hdr_1");
68 load = nir_intrinsic_instr_create(nir, nir_intrinsic_load_uniform)
162 nir_shader *nir; local
    [all...]
brw_vec4_tes.h 45 const nir_shader *nir,
brw_program.c 51 brw_nir_lower_uniforms(nir_shader *nir, bool is_scalar)
54 nir_assign_var_locations(&nir->uniforms, &nir->num_uniforms,
56 nir_lower_io(nir, nir_var_uniform, type_size_scalar_bytes, 0);
58 nir_assign_var_locations(&nir->uniforms, &nir->num_uniforms,
60 nir_lower_io(nir, nir_var_uniform, type_size_vec4_bytes, 0);
75 nir_shader *nir; local
77 /* First, lower the GLSL IR or Mesa IR to NIR */
79 nir = glsl_to_nir(shader_prog, stage, options)
    [all...]
brw_tes.c 74 nir_shader *nir = tep->program.nir; local
92 int param_count = nir->num_uniforms / 4;
104 brw_nir_setup_glsl_uniforms(nir, &tep->program, &prog_data.base.base,
125 nir, &tep->program, st_index, &program_size, &error_str);
238 key.inputs_read = prog->nir->info->inputs_read;
239 key.patch_inputs_read = prog->nir->info->patch_inputs_read;
244 key.inputs_read |= tcp->nir->info->outputs_written &
246 key.patch_inputs_read |= tcp->nir->info->patch_outputs_written;
brw_nir_tcs_workarounds.c 24 #include "compiler/nir/nir_builder.h"
124 brw_nir_apply_tcs_quads_workaround(nir_shader *nir)
126 assert(nir->stage == MESA_SHADER_TESS_CTRL);
128 nir_function_impl *impl = nir_shader_get_entrypoint(nir);
brw_shader.cpp 659 nir(shader),
1178 if (prog->nir->info->uses_texture_gather) {
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_glsl_to_nir.cpp 44 #include "compiler/nir/nir.h"
51 * may need to fix up varying slots so the glsl->nir path is aligned
52 * with the anything->tgsi->nir path.
76 st_nir_assign_vs_in_locations(struct gl_program *prog, nir_shader *nir)
95 nir->num_inputs = 0;
96 nir_foreach_variable_safe(var, &nir->inputs) {
102 nir->num_inputs++;
111 exec_list_push_tail(&nir->globals, &var->node);
223 nir_shader *nir;
    [all...]
st_nir.h 44 void st_finalize_nir(struct st_context *st, struct gl_program *prog, struct nir_shader *nir);
  /external/mesa3d/src/gallium/drivers/freedreno/
Android.gen.mk 29 $(MESA_TOP)/src/compiler/nir/nir_algebraic.py
35 $(hide) PYTHONPATH=$(MESA_TOP)/src/compiler/nir $(MESA_PYTHON2) $< > $@
  /external/mesa3d/src/gallium/drivers/freedreno/ir3/
ir3_cmdline.c 75 nir_shader *nir = glsl_to_nir(prog, stage, ir3_get_compiler_options()); local
79 /* required NIR passes: */
82 NIR_PASS_V(nir, nir_lower_io_to_temporaries,
83 nir_shader_get_entrypoint(nir),
85 NIR_PASS_V(nir, nir_lower_global_vars_to_local);
86 NIR_PASS_V(nir, nir_split_var_copies);
87 NIR_PASS_V(nir, nir_lower_var_copies);
89 NIR_PASS_V(nir, nir_split_var_copies);
90 NIR_PASS_V(nir, nir_lower_var_copies);
91 NIR_PASS_V(nir, nir_lower_io_types)
299 nir_shader *nir; local
    [all...]
ir3_nir.c 36 #include "nir/tgsi_to_nir.h"
67 /* for given shader key, are any steps handled in nir? */
77 #define OPT(nir, pass, ...) ({ \
79 NIR_PASS(this_progress, nir, pass, ##__VA_ARGS__); \
83 #define OPT_V(nir, pass, ...) NIR_PASS_V(nir, pass, ##__VA_ARGS__)
  /external/mesa3d/src/intel/blorp/
blorp.c 160 struct nir_shader *nir,
168 nir->options =
173 assert(exec_list_is_empty(&nir->uniforms));
181 nir = brw_preprocess_nir(compiler, nir);
182 nir_remove_dead_variables(nir, nir_var_shader_in);
183 nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
187 wm_prog_data, nir, NULL, -1, -1, false, use_repclear,
195 struct nir_shader *nir,
    [all...]
  /external/mesa3d/src/intel/vulkan/
anv_pipeline.c 87 * we can't do that yet because we don't have the ability to copy nir.
136 nir_shader *nir = entry_point->shader; local
137 assert(nir->stage == stage);
138 nir_validate_shader(nir);
146 NIR_PASS_V(nir, nir_lower_constant_initializers, nir_var_local);
147 NIR_PASS_V(nir, nir_lower_returns);
148 NIR_PASS_V(nir, nir_inline_functions);
151 foreach_list_typed_safe(nir_function, func, node, &nir->functions) {
155 assert(exec_list_length(&nir->functions) == 1);
158 NIR_PASS_V(nir, nir_remove_dead_variables
318 nir_shader *nir = anv_shader_compile_to_nir(pipeline->device, local
462 nir_shader *nir = anv_pipeline_compile(pipeline, module, entrypoint, local
723 nir_shader *nir = anv_pipeline_compile(pipeline, module, entrypoint, local
800 nir_shader *nir = anv_pipeline_compile(pipeline, module, entrypoint, local
922 nir_shader *nir = anv_pipeline_compile(pipeline, module, entrypoint, local
    [all...]
  /external/mesa3d/doxygen/
Makefile 21 nir.doxy

Completed in 378 milliseconds

1 2 3 4