Home
last modified time | relevance | path

Searched refs:nir_imm_vec4 (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_lower_point_sprite.c89 state->point_coord_imm[0] = nir_imm_vec4(b, 0, 0, 0, 1); in get_point_coord()
90 state->point_coord_imm[1] = nir_imm_vec4(b, 0, 1, 0, 1); in get_point_coord()
91 state->point_coord_imm[2] = nir_imm_vec4(b, 1, 0, 0, 1); in get_point_coord()
92 state->point_coord_imm[3] = nir_imm_vec4(b, 1, 1, 0, 1); in get_point_coord()
94 state->point_coord_imm[0] = nir_imm_vec4(b, 0, 1, 0, 1); in get_point_coord()
95 state->point_coord_imm[1] = nir_imm_vec4(b, 0, 0, 0, 1); in get_point_coord()
96 state->point_coord_imm[2] = nir_imm_vec4(b, 1, 1, 0, 1); in get_point_coord()
97 state->point_coord_imm[3] = nir_imm_vec4(b, 1, 0, 0, 1); in get_point_coord()
Dd3d12_nir_lower_vs_vertex_conversion.c69 nir_ssa_def *scale_rgb = nir_imm_vec4(b, in from_10_10_10_2_snorm()
81 nir_ssa_def *scale_rgb = nir_imm_vec4(b, in from_10_10_10_2_unorm()
Dd3d12_gs_variant.cpp49 nir_imm_vec4(b, 0.0, 0.0, -1.0, 0.0)); in nir_cull_face()
334 nir_imm_vec4(b, -2.0, -2.0, 0.0, 1.0), 0xf); in d3d12_emit_points()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_attribute_workarounds.c94 nir_imm_vec4(b, 1.0f / ((1 << 9) - 1), 1.0f / ((1 << 9) - 1), in apply_attr_wa_instr()
106 nir_imm_vec4(b, 1.0f / ((1 << 10) - 1), 1.0f / ((1 << 10) - 1), in apply_attr_wa_instr()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_wpos_ytransform.c105 nir_imm_vec4(b, adjX, adjY[0], 0.0f, 0.0f), in emit_wpos_adjustment()
106 nir_imm_vec4(b, adjX, adjY[1], 0.0f, 0.0f)); in emit_wpos_adjustment()
112 nir_imm_vec4(b, adjX, adjY[0], 0.0f, 0.0f)); in emit_wpos_adjustment()
Dnir_lower_wpos_center.c58 wpos = nir_fadd(b, wpos, nir_imm_vec4(b, 0.5f, 0.5f, 0.0f, 0.0f)); in update_fragcoord()
Dnir_builder.h361 nir_imm_vec4(nir_builder *build, float x, float y, float z, float w) in nir_imm_vec4() function
/third_party/mesa3d/src/compiler/nir/tests/
Dcomparison_pre_tests.cpp37 v1 = nir_imm_vec4(&bld, -2.0, -1.0, 1.0, 2.0); in comparison_pre_test()
38 v2 = nir_imm_vec4(&bld, 2.0, 1.0, -1.0, -2.0); in comparison_pre_test()
39 v3 = nir_imm_vec4(&bld, 3.0, 4.0, 5.0, 6.0); in comparison_pre_test()
Dnegative_equal_tests.cpp301 nir_ssa_def *v1 = nir_imm_vec4(&bld, -2.0, 18.0, 43.0, 1.0); in TEST_F()
302 nir_ssa_def *v2 = nir_imm_vec4(&bld, 2.0, 99.0, 76.0, -1.0); in TEST_F()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_legalize_image_load_store.cpp40 nir_ssa_def *default_value = nir_imm_vec4(b, 0.0, 0.0, 0.0, 0.0); in r600_legalize_image_load_store_impl()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_nir_optim.c158 nir_ssa_def *imm = nir_imm_vec4(b, p->value[0], p->value[1], p->value[2], p->value[3]); in replace_tex_by_imm()
/third_party/mesa3d/src/amd/vulkan/
Dradv_acceleration_structure.c979 nir_store_var(&b, transform[0], nir_imm_vec4(&b, 1.0, 0.0, 0.0, 0.0), 0xf); in build_leaf_shader()
980 nir_store_var(&b, transform[1], nir_imm_vec4(&b, 0.0, 1.0, 0.0, 0.0), 0xf); in build_leaf_shader()
981 nir_store_var(&b, transform[2], nir_imm_vec4(&b, 0.0, 0.0, 1.0, 0.0), 0xf); in build_leaf_shader()
1107 nir_store_var(&b, bounds[0], nir_channels(&b, nir_imm_vec4(&b, NAN, NAN, NAN, NAN), 7), 7); in build_leaf_shader()
1108 nir_store_var(&b, bounds[1], nir_channels(&b, nir_imm_vec4(&b, NAN, NAN, NAN, NAN), 7), 7); in build_leaf_shader()
1316 nir_channels(&b, nir_imm_vec4(&b, NAN, NAN, NAN, NAN), 7), in build_internal_shader()
1317 nir_channels(&b, nir_imm_vec4(&b, NAN, NAN, NAN, NAN), 7), in build_internal_shader()
1325 nir_store_var(&b, bounds[0], nir_channels(&b, nir_imm_vec4(&b, NAN, NAN, NAN, NAN), 7), 7); in build_internal_shader()
1326 nir_store_var(&b, bounds[1], nir_channels(&b, nir_imm_vec4(&b, NAN, NAN, NAN, NAN), 7), 7); in build_internal_shader()
Dradv_pipeline_rt.c1445 nir_ssa_def *vec3_zero = nir_channels(b, nir_imm_vec4(b, 0, 0, 0, 0), 0x7); in insert_traversal_aabb_case()
1447 nir_channels(b, nir_imm_vec4(b, INFINITY, INFINITY, INFINITY, 0), 0x7); in insert_traversal_aabb_case()
1556 nir_store_var(b, distances, nir_imm_vec4(b, INFINITY, INFINITY, INFINITY, INFINITY), 0xf); in intersect_ray_amd_software_box()
1660 nir_store_var(b, result, nir_imm_vec4(b, INFINITY, 1.0f, 0.0f, 0.0f), 0xf); in intersect_ray_amd_software_tri()
1840 nir_ssa_def *vec3ones = nir_channels(b, nir_imm_vec4(b, 1.0, 1.0, 1.0, 1.0), 0x7); in insert_traversal()
Dradv_meta_resolve.c44 nir_store_var(&b, f_color, nir_imm_vec4(&b, 0.0, 0.0, 0.0, 1.0), 0xf); in build_nir_fs()
/third_party/mesa3d/src/panfrost/util/
Dpan_lower_writeout.c189 nir_imm_vec4(&b, 0, 0, 0, 0), in pan_nir_lower_zs_store()
Dpan_lower_framebuffer.c304 nir_ssa_def *scale = nir_imm_vec4(b, 1023.0, 1023.0, 1023.0, 3.0); in pan_pack_unorm_1010102()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_nir.c157 return nir_imm_vec4(t->b, in get_source()
/third_party/mesa3d/src/mesa/program/
Dprog_to_nir.c171 src.src = nir_src_for_ssa(nir_imm_vec4(b, v[0], v[1], v[2], v[3])); in ptn_get_src()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c481 …nir_ssa_def *load = nir_image_deref_load(b, 4, 32, deref, nir_imm_vec4(b, 0, 0, 0, 1), nir_ssa_und… in lower_fbfetch_instr()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1071 nir_store_var(b, position_value_var, nir_imm_vec4(b, 0.0f, 0.0f, 0.0f, 1.0f), 0xfu); in add_deferred_attribute_culling()