HomeSort by relevance Sort by last modified time
    Searched defs:nir (Results 1 - 17 of 17) sorted by null

  /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_shader.c 273 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->info->outputs_written
    [all...]
ir3_shader.h 251 nir_shader *nir; member in struct:ir3_shader
  /external/mesa3d/src/mesa/drivers/dri/i965/
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...]
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_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_shader.h 30 #include "compiler/nir/nir.h"
202 const nir_shader *nir; member in struct:backend_instruction::backend_shader
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_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...]
  /external/mesa3d/src/compiler/nir/
nir_lower_io.c 34 #include "nir.h"
162 const nir_shader *nir = state->builder.shader; local
170 if (nir->stage == MESA_SHADER_FRAGMENT &&
171 nir->options->use_interpolated_input_intrinsics &&
387 /* We can lower the io for this nir instrinsic */
396 /* We can't lower the io for this nir instrinsic, so skip it */
  /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/src/mesa/state_tracker/
st_program.c 41 #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/amd/vulkan/
radv_pipeline.c 30 #include "nir/nir.h"
31 #include "nir/nir_builder.h"
82 module->nir = NULL;
163 nir_shader *nir; local
165 if (module->nir) {
166 /* Some things such as our meta clear/blit code will give us a NIR
168 * and just use the NIR shader */
169 nir = module->nir;
461 nir_shader *nir; local
    [all...]
radv_private.h 809 struct nir_shader * nir; member in struct:radv_shader_module
    [all...]
  /external/mesa3d/src/intel/blorp/
blorp_blit.c 24 #include "compiler/nir/nir_builder.h"
1304 nir_shader *nir = brw_blorp_build_nir_shader(blorp, mem_ctx, prog_key); local
    [all...]
  /external/mesa3d/src/gallium/include/pipe/
p_state.h 251 void *nir; member in union:pipe_shader_state::__anon28311
  /external/mesa3d/src/mesa/main/
mtypes.h 1926 struct nir_shader *nir; member in struct:gl_program
    [all...]

Completed in 718 milliseconds