diff options
author | Marek Olšák <[email protected]> | 2015-01-04 17:08:57 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-01-07 18:27:54 +0100 |
commit | 1829f9c928836940fa13b12a8b073f09c26dc782 (patch) | |
tree | e5358e1f465f641ee4f10f0a0618a005a2a65661 /src/gallium/drivers/radeonsi/si_shader.h | |
parent | d8185aa9a8e3588fe014faef8afaeae56d45e90b (diff) |
radeonsi: enable LLVM optimizations that assume no NaNs for non-compute shaders
v2: complete rewrite
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index 21692f0ee33..08e344af444 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -160,6 +160,7 @@ struct si_shader { bool uses_instanceid; unsigned nr_pos_exports; bool is_gs_copy_shader; + bool dx10_clamp_mode; /* convert NaNs to 0 */ }; static inline struct tgsi_shader_info *si_get_vs_info(struct si_context *sctx) |