Home
last modified time | relevance | path

Searched refs:nir_const_value_as_float (Results 1 – 7 of 7) sorted by relevance

/aosp_15_r20/external/mesa3d/src/compiler/nir/tests/
H A Dopt_shrink_vectors_tests.cpp102 ASSERT_TRUE(nir_const_value_as_float(imm_vec_instr->value[0], 32) == 1.0); in TEST_F()
179 ASSERT_TRUE(nir_const_value_as_float(imm_vec_instr->value[0], 32) == 1.0); in TEST_F()
180 ASSERT_TRUE(nir_const_value_as_float(imm_vec_instr->value[1], 32) == 2.0); in TEST_F()
244 ASSERT_TRUE(nir_const_value_as_float(imm_vec_instr->value[0], 32) == 1.0); in TEST_F()
245 ASSERT_TRUE(nir_const_value_as_float(imm_vec_instr->value[1], 32) == 3.0); in TEST_F()
246 ASSERT_TRUE(nir_const_value_as_float(imm_vec_instr->value[2], 32) == 4.0); in TEST_F()
247 ASSERT_TRUE(nir_const_value_as_float(imm_vec_instr->value[3], 32) == 5.0); in TEST_F()
248 ASSERT_TRUE(nir_const_value_as_float(imm_vec_instr->value[4], 32) == 2.0); in TEST_F()
249 ASSERT_TRUE(nir_const_value_as_float(imm_vec_instr->value[5], 32) == 6.0); in TEST_F()
H A Dnir_opt_varyings_test.h228 nir_const_value_as_float(lc->value[0], lc->def.bit_size) == f && in shader_contains_const_float()
/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_opt_large_constants.c265 uint64_t u = nir_const_value_as_float(values[i], bit_size); in get_small_constant()
273 uint64_t u64_elem = is_float ? nir_const_value_as_float(values[i], bit_size) in get_small_constant()
293 uint64_t u64_elem = is_float ? nir_const_value_as_float(values[i], bit_size) in get_small_constant()
H A Dnir_range_analysis.c188 const double v = nir_const_value_as_float(load->value[swizzle[i]], in analyze_constant()
H A Dnir.c1402 nir_const_value_as_float(nir_const_value value, unsigned bit_size) in nir_const_value_as_float() function
H A Dnir.h404 double nir_const_value_as_float(nir_const_value value, unsigned bit_size);
/aosp_15_r20/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c2197 double tmp = nir_const_value_as_float(load_const->value[i], bit_size); in emit_load_const()