Home
last modified time | relevance | path

Searched refs:float_mode (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/amd/common/
Dac_binary.c60 conf->float_mode = G_00B028_FLOAT_MODE(value); in ac_parse_shader_binary_config()
143 conf->float_mode &= ~V_00B028_FP_32_DENORMS; in ac_parse_shader_binary_config()
144 conf->float_mode |= V_00B028_FP_16_64_DENORMS; in ac_parse_shader_binary_config()
Dac_binary.h46 unsigned float_mode; member
Dac_rtld.c543 assert(i == 0 || config->float_mode == c.float_mode); in ac_rtld_read_config()
544 config->float_mode = c.float_mode; in ac_rtld_read_config()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_helper.cpp89 LLVMBuilderRef ac_create_builder(LLVMContextRef ctx, enum ac_float_mode float_mode) in ac_create_builder() argument
95 switch (float_mode) { in ac_create_builder()
120 if (ctx->float_mode == AC_FLOAT_MODE_DEFAULT_OPENGL) { in ac_enable_signed_zeros()
134 if (ctx->float_mode == AC_FLOAT_MODE_DEFAULT_OPENGL) { in ac_disable_signed_zeros()
Dac_llvm_util.h104 LLVMBuilderRef ac_create_builder(LLVMContextRef ctx, enum ac_float_mode float_mode);
Dac_llvm_build.h142 unsigned float_mode; member
150 enum ac_float_mode float_mode, unsigned wave_size,
Dac_llvm_build.c61 enum ac_float_mode float_mode, unsigned wave_size, in ac_llvm_context_init() argument
74 ctx->float_mode = float_mode; in ac_llvm_context_init()
76 ctx->builder = ac_create_builder(ctx->context, float_mode); in ac_llvm_context_init()
700 if (ctx->float_mode == AC_FLOAT_MODE_DEFAULT_OPENGL && type_size == 8) in ac_build_fdiv()
Dac_nir_to_llvm.c617 if (ctx->ac.float_mode == AC_FLOAT_MODE_DENORM_FLUSH_TO_ZERO) { in visit_alu()
716 if (ctx->ac.float_mode == AC_FLOAT_MODE_DEFAULT_OPENGL && ac_get_type_size(def_type) == 8) { in visit_alu()
795 if (ctx->ac.float_mode == AC_FLOAT_MODE_DENORM_FLUSH_TO_ZERO) { in visit_alu()
1027 if (ctx->ac.float_mode == AC_FLOAT_MODE_DEFAULT_OPENGL || instr->op == nir_op_f2f16_rtz) { in visit_alu()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDKernelCodeTInfo.h80 COMPPGM1(float_mode, compute_pgm_rsrc1_float_mode, FLOAT_MODE), // TODO: s…
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c1851 unsigned float_mode = V_00B028_FP_16_64_DENORMS; in si_compile_shader() local
1855 float_mode |= V_00B028_FP_32_ROUND_TOWARDS_ZERO; in si_compile_shader()
1861 float_mode |= V_00B028_FP_16_64_ROUND_TOWARDS_ZERO; in si_compile_shader()
1867 float_mode &= ~V_00B028_FP_16_64_DENORMS; in si_compile_shader()
1876 shader->config.float_mode = float_mode; in si_compile_shader()
Dsi_state_shaders.cpp700 S_00B528_DX10_CLAMP(1) | S_00B528_FLOAT_MODE(shader->config.float_mode); in si_shader_ls()
756 S_00B428_FLOAT_MODE(shader->config.float_mode) | in si_shader_hs()
823 S_00B328_FLOAT_MODE(shader->config.float_mode)); in si_shader_es()
1109 S_00B228_FLOAT_MODE(shader->config.float_mode) | in si_shader_gs()
1156 S_00B228_DX10_CLAMP(1) | S_00B228_FLOAT_MODE(shader->config.float_mode)); in si_shader_gs()
1423 S_00B228_FLOAT_MODE(shader->config.float_mode) | S_00B228_DX10_CLAMP(1) | in gfx10_shader_ngg()
1739 S_00B128_FLOAT_MODE(shader->config.float_mode); in si_shader_vs()
2013 S_00B028_FLOAT_MODE(shader->config.float_mode); in si_shader_ps()
Dsi_compute.c101 out_config->float_mode = G_00B028_FLOAT_MODE(rsrc1); in code_object_to_config()
204 S_00B848_FLOAT_MODE(shader->config.float_mode); in si_create_compute_state_async()
/third_party/mesa3d/src/amd/compiler/
Daco_ir.h225 struct float_mode { struct
251 bool canReplace(float_mode other) const noexcept in canReplace() argument
1918 float_mode fp_mode;
2116 float_mode next_fp_mode;
Daco_lower_to_hw_instr.cpp1968 emit_set_mode(Builder& bld, float_mode new_mode, bool set_round, bool set_denorm) in emit_set_mode()
1984 float_mode config_mode; in emit_set_mode_from_block()
1985 config_mode.val = program.config->float_mode; in emit_set_mode_from_block()
2510 float_mode new_mode = block->fp_mode; in lower_to_hw_instr()
Daco_optimizer.cpp502 float_mode fp_mode;
1198 float_mode* fp = &ctx.fp_mode; in can_eliminate_fcanonicalize()
1238 float_mode* fp = &ctx.fp_mode; in is_op_canonicalized()
Daco_instruction_selection.cpp12028 program->config->float_mode = program->blocks[0].fp_mode.val; in select_program()
12127 program->config->float_mode = program->blocks[0].fp_mode.val; in select_gs_copy_shader()
12189 program->config->float_mode = program->blocks[0].fp_mode.val; in select_trap_handler_shader()
12519 program->config->float_mode = program->blocks[0].fp_mode.val; in select_vs_prolog()
12570 program->config->float_mode = program->blocks[0].fp_mode.val; in select_ps_epilog()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1370 enum ac_float_mode float_mode = AC_FLOAT_MODE_DEFAULT; in ac_translate_nir_to_llvm() local
1373 float_mode = AC_FLOAT_MODE_DENORM_FLUSH_TO_ZERO; in ac_translate_nir_to_llvm()
1378 float_mode, info->wave_size, info->ballot_bit_size); in ac_translate_nir_to_llvm()
Dradv_shader.c1692 S_00B848_DX10_CLAMP(1) | S_00B848_FLOAT_MODE(config_out->float_mode); in radv_postprocess_config()
/third_party/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp98 config.float_mode = program->blocks[0].fp_mode.val; in create_program()