From 1829f9c928836940fa13b12a8b073f09c26dc782 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 4 Jan 2015 17:08:57 +0100 Subject: radeonsi: enable LLVM optimizations that assume no NaNs for non-compute shaders v2: complete rewrite Reviewed-by: Alex Deucher Reviewed-by: Tom Stellard --- src/gallium/drivers/radeonsi/si_shader.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/radeonsi/si_shader.h') 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) -- cgit v1.2.3