/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_lower_point_sprite.c | 89 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()
|
D | d3d12_nir_lower_vs_vertex_conversion.c | 69 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()
|
D | d3d12_gs_variant.cpp | 49 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/ |
D | brw_nir_attribute_workarounds.c | 94 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/ |
D | nir_lower_wpos_ytransform.c | 105 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()
|
D | nir_lower_wpos_center.c | 58 wpos = nir_fadd(b, wpos, nir_imm_vec4(b, 0.5f, 0.5f, 0.0f, 0.0f)); in update_fragcoord()
|
D | nir_builder.h | 361 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/ |
D | comparison_pre_tests.cpp | 37 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()
|
D | negative_equal_tests.cpp | 301 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/ |
D | sfn_nir_legalize_image_load_store.cpp | 40 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/ |
D | si_nir_optim.c | 158 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/ |
D | radv_acceleration_structure.c | 979 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()
|
D | radv_pipeline_rt.c | 1445 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()
|
D | radv_meta_resolve.c | 44 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/ |
D | pan_lower_writeout.c | 189 nir_imm_vec4(&b, 0, 0, 0, 0), in pan_nir_lower_zs_store()
|
D | pan_lower_framebuffer.c | 304 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/ |
D | st_atifs_to_nir.c | 157 return nir_imm_vec4(t->b, in get_source()
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 171 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/ |
D | zink_compiler.c | 481 …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/ |
D | ac_nir_lower_ngg.c | 1071 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()
|