Home
last modified time | relevance | path

Searched refs:nir_variable_create (Results 1 – 25 of 61) sorted by relevance

123

/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c302 nir_variable *in_pos = nir_variable_create(b.shader, nir_var_shader_in, in st_pbo_create_vs()
306 nir_variable *out_pos = nir_variable_create(b.shader, nir_var_shader_out, in st_pbo_create_vs()
314 nir_variable *instance_id = nir_variable_create(b.shader, in st_pbo_create_vs()
326 nir_variable *out_layer = nir_variable_create(b.shader, in st_pbo_create_vs()
422 nir_variable_create(b.shader, nir_var_uniform, glsl_vec4_type(), "param"); in create_fs()
427 nir_variable_create(b.shader, pos_is_sysval ? nir_var_system_value : in create_fs()
440 nir_variable *var = nir_variable_create(b.shader, nir_var_shader_in, in create_fs()
476 nir_variable_create(b.shader, nir_var_uniform, in create_fs()
494 nir_variable_create(b.shader, nir_var_uniform, in create_fs()
524 nir_variable_create(b.shader, nir_var_uniform, in create_fs()
[all …]
Dst_nir_builtins.c141 in = nir_variable_create(b.shader, nir_var_system_value, in st_nir_make_passthrough_shader()
145 in = nir_variable_create(b.shader, nir_var_shader_in, vec4, var_name); in st_nir_make_passthrough_shader()
153 nir_variable_create(b.shader, nir_var_shader_out, in->type, var_name); in st_nir_make_passthrough_shader()
/external/mesa3d/src/compiler/nir/
Dnir_lower_point_size_mov.c46 in = nir_variable_create(shader, nir_var_uniform, in lower_impl()
55 out = nir_variable_create(shader, nir_var_shader_out, in lower_impl()
Dnir_lower_drawpixels.c57 texcoord = nir_variable_create(state->shader, in get_texcoord()
73 nir_variable *var = nir_variable_create(shader, in create_uniform()
134 nir_variable_create(b->shader, nir_var_uniform, sampler2D, "drawpix"); in lower_color()
171 state->pixelmap = nir_variable_create(b->shader, nir_var_uniform, in lower_color()
Dnir_lower_passthrough_edgeflags.c87 in = nir_variable_create(shader, nir_var_shader_in, in lower_impl()
94 out = nir_variable_create(shader, nir_var_shader_out, in lower_impl()
Dnir_lower_bitmap.c63 texcoord = nir_variable_create(shader, in get_texcoord()
88 nir_variable_create(shader, nir_var_uniform, sampler2D, "bitmap_tex"); in lower_bitmap()
Dnir_lower_input_attachments.c37 pos = nir_variable_create(b->shader, nir_var_shader_in, in load_frag_coord()
69 layer_id = nir_variable_create(b->shader, nir_var_shader_in, in load_layer_id()
Dnir_lower_two_sided_color.c54 nir_variable *var = nir_variable_create(shader, nir_var_shader_in, in create_input()
74 var = nir_variable_create(shader, nir_var_shader_in, in create_face_input()
Dnir_lower_patch_vertices.c34 nir_variable_create(nir, nir_var_uniform, glsl_int_type(), in make_uniform()
Dnir_lower_fragcolor.c73 nir_variable *out_color = nir_variable_create(b->shader, nir_var_shader_out, in lower_fragcolor_instr()
Dnir_lower_alpha_test.c98 nir_variable *var = nir_variable_create(shader, in nir_lower_alpha_test()
Dnir_lower_pntc_ytransform.c46 nir_variable *var = nir_variable_create(state->shader, in get_pntc_transform()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c136 nir_variable_create(b->shader, nir_var_shader_in, in build_view_index()
187 nir_variable_create(shader, nir_var_shader_out, in anv_nir_lower_multiview()
247 nir_variable_create(shader, nir_var_shader_out, in anv_nir_lower_multiview()
254 nir_variable_create(shader, nir_var_shader_out, in anv_nir_lower_multiview()
/external/mesa3d/src/compiler/nir/tests/
Dopt_if_tests.cpp45 nir_variable *var = nir_variable_create(bld.shader, nir_var_shader_in, glsl_int_type(), "in"); in nir_opt_if_test()
48 out_var = nir_variable_create(bld.shader, nir_var_shader_out, glsl_int_type(), "out"); in nir_opt_if_test()
Dload_store_vectorizer_tests.cpp1187 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_uint_t… in TEST_F()
1221 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_uint_t… in TEST_F()
1238 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_uint_t… in TEST_F()
1273 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_uint_t… in TEST_F()
1312 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_struct_type(fields, 2,… in TEST_F()
1346 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_uint_t… in TEST_F()
1380 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_uint_t… in TEST_F()
1397 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_uint_t… in TEST_F()
1434 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_array_type(glsl_bool_t… in TEST_F()
1473 …nir_variable *var = nir_variable_create(b->shader, nir_var_mem_shared, glsl_struct_type(fields, 2,… in TEST_F()
[all …]
Dbuilder_tests.cpp50 nir_variable *var = nir_variable_create(b->shader, nir_var_mem_ssbo, in store_test_val()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c50 nir_variable *pos_out = nir_variable_create(b.shader, nir_var_shader_out, in build_nir_vertex_shader()
54 nir_variable *tex_pos_out = nir_variable_create(b.shader, nir_var_shader_out, in build_nir_vertex_shader()
121 nir_variable *tex_pos_in = nir_variable_create(b.shader, nir_var_shader_in, in build_nir_copy_fragment_shader()
136 nir_variable *sampler = nir_variable_create(b.shader, nir_var_uniform, in build_nir_copy_fragment_shader()
159 nir_variable *color_out = nir_variable_create(b.shader, nir_var_shader_out, in build_nir_copy_fragment_shader()
179 nir_variable *tex_pos_in = nir_variable_create(b.shader, nir_var_shader_in, in build_nir_copy_fragment_shader_depth()
194 nir_variable *sampler = nir_variable_create(b.shader, nir_var_uniform, in build_nir_copy_fragment_shader_depth()
217 nir_variable *color_out = nir_variable_create(b.shader, nir_var_shader_out, in build_nir_copy_fragment_shader_depth()
237 nir_variable *tex_pos_in = nir_variable_create(b.shader, nir_var_shader_in, in build_nir_copy_fragment_shader_stencil()
252 nir_variable *sampler = nir_variable_create(b.shader, nir_var_uniform, in build_nir_copy_fragment_shader_stencil()
[all …]
Dradv_meta_blit2d.c436 nir_variable *pos_out = nir_variable_create(b.shader, nir_var_shader_out, in build_nir_vertex_shader()
440 nir_variable *tex_pos_out = nir_variable_create(b.shader, nir_var_shader_out, in build_nir_vertex_shader()
496 nir_variable *sampler = nir_variable_create(b->shader, nir_var_uniform, in build_nir_texel_fetch()
556 nir_variable *sampler = nir_variable_create(b->shader, nir_var_uniform, in build_nir_buffer_fetch()
611 nir_variable *tex_pos_in = nir_variable_create(b.shader, nir_var_shader_in, in build_nir_copy_fragment_shader()
615 nir_variable *color_out = nir_variable_create(b.shader, nir_var_shader_out, in build_nir_copy_fragment_shader()
640 nir_variable *tex_pos_in = nir_variable_create(b.shader, nir_var_shader_in, in build_nir_copy_fragment_shader_depth()
644 nir_variable *color_out = nir_variable_create(b.shader, nir_var_shader_out, in build_nir_copy_fragment_shader_depth()
669 nir_variable *tex_pos_in = nir_variable_create(b.shader, nir_var_shader_in, in build_nir_copy_fragment_shader_stencil()
673 nir_variable *color_out = nir_variable_create(b.shader, nir_var_shader_out, in build_nir_copy_fragment_shader_stencil()
Dradv_meta_fmask_expand.c49 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_fmask_expand_compute_shader()
54 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_fmask_expand_compute_shader()
Dradv_meta_bufimage.c52 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_itob_compute_shader()
57 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_itob_compute_shader()
281 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_btoi_compute_shader()
286 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_btoi_compute_shader()
503 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_btoi_r32g32b32_compute_shader()
508 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_btoi_r32g32b32_compute_shader()
711 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_itoi_compute_shader()
716 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_itoi_compute_shader()
928 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_itoi_r32g32b32_compute_shader()
933 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_itoi_r32g32b32_compute_shader()
[all …]
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_draw_helpers.c57 nir_variable *pos = nir_variable_create(b->shader, nir_var_shader_in, in load_frag_coord()
134 nir_variable *tex_var = nir_variable_create(shader, nir_var_uniform, sampler2D, "stipple_tex"); in nir_lower_pstipple_fs()
225 nir_variable *line_width = nir_variable_create(shader, nir_var_shader_in, in nir_lower_aaline_fs()
349 nir_variable *aapoint_input = nir_variable_create(shader, nir_var_shader_in, in nir_lower_aapoint_fs()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blend_shaders.c170 …nir_variable *c_src = nir_variable_create(shader, nir_var_shader_in, glsl_vector_type(GLSL_TYPE_FL… in panfrost_create_blend_shader()
171 …nir_variable *c_src1 = nir_variable_create(shader, nir_var_shader_in, glsl_vector_type(GLSL_TYPE_F… in panfrost_create_blend_shader()
172 …nir_variable *c_out = nir_variable_create(shader, nir_var_shader_out, glsl_vector_type(g, 4), "gl_… in panfrost_create_blend_shader()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_blit.c207 nir_variable *pos_in = nir_variable_create(b.shader, nir_var_shader_in, in vc4_get_yuv_vs()
210 nir_variable *pos_out = nir_variable_create(b.shader, nir_var_shader_out, in vc4_get_yuv_vs()
256 nir_variable *color_out = nir_variable_create(b.shader, nir_var_shader_out, in vc4_get_yuv_fs()
260 nir_variable *pos_in = nir_variable_create(b.shader, nir_var_shader_in, in vc4_get_yuv_fs()
271 nir_variable *stride_in = nir_variable_create(b.shader, nir_var_uniform, in vc4_get_yuv_fs()
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c89 nir_variable *frag_color = nir_variable_create(b.shader, nir_var_shader_out, in blorp_params_get_clear_kernel()
153 nir_variable *a_header = nir_variable_create(b.shader, nir_var_shader_in, in blorp_params_get_layer_offset_vs()
157 nir_variable *v_layer = nir_variable_create(b.shader, nir_var_shader_out, in blorp_params_get_layer_offset_vs()
168 nir_variable *a_vertex = nir_variable_create(b.shader, nir_var_shader_in, in blorp_params_get_layer_offset_vs()
172 nir_variable *v_pos = nir_variable_create(b.shader, nir_var_shader_out, in blorp_params_get_layer_offset_vs()
180 nir_variable *a_in = nir_variable_create(b.shader, nir_var_shader_in, in blorp_params_get_layer_offset_vs()
184 nir_variable *v_out = nir_variable_create(b.shader, nir_var_shader_out, in blorp_params_get_layer_offset_vs()
1153 nir_variable_create(b.shader, nir_var_shader_out, in blorp_params_get_mcs_partial_resolve_kernel()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_input_attachments.c35 pos = nir_variable_create(b->shader, nir_var_shader_in, in load_frag_coord()

123