Searched refs:const_05 (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_lower_int_cubemaps.c | 349 nir_ssa_def *const_05 = nir_imm_float(b, 0.5f); in handle_cube_gather() local 356 nir_ssa_def *x_pos = nir_f2i32(b, nir_fadd(b, x_orig, const_05)); in handle_cube_gather() 357 nir_ssa_def *x_neg = nir_f2i32(b, nir_fsub(b, x_orig, const_05)); in handle_cube_gather() 358 nir_ssa_def *y_pos = nir_f2i32(b, nir_fadd(b, y_orig, const_05)); in handle_cube_gather() 359 nir_ssa_def *y_neg = nir_f2i32(b, nir_fsub(b, y_orig, const_05)); in handle_cube_gather()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_lower_cubemap_to_array.c | 311 nir_ssa_def *const_05 = nir_imm_float(b, 0.5f); in handle_cube_gather() local 318 nir_ssa_def *x_pos = nir_f2i32(b, nir_fadd(b, x_orig, const_05)); in handle_cube_gather() 319 nir_ssa_def *x_neg = nir_f2i32(b, nir_fsub(b, x_orig, const_05)); in handle_cube_gather() 320 nir_ssa_def *y_pos = nir_f2i32(b, nir_fadd(b, y_orig, const_05)); in handle_cube_gather() 321 nir_ssa_def *y_neg = nir_f2i32(b, nir_fsub(b, y_orig, const_05)); in handle_cube_gather()
|