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 D | opt_shrink_vectors_tests.cpp | 102 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 D | nir_opt_varyings_test.h | 228 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 D | nir_opt_large_constants.c | 265 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 D | nir_range_analysis.c | 188 const double v = nir_const_value_as_float(load->value[swizzle[i]], in analyze_constant()
|
H A D | nir.c | 1402 nir_const_value_as_float(nir_const_value value, unsigned bit_size) in nir_const_value_as_float() function
|
H A D | nir.h | 404 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 D | nir_to_spirv.c | 2197 double tmp = nir_const_value_as_float(load_const->value[i], bit_size); in emit_load_const()
|