summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-07-25 17:03:33 -0400
committerIlia Mirkin <[email protected]>2015-02-19 19:32:49 -0500
commit899d779cb719f8401dc479a4f5b61dbe418b1a40 (patch)
tree8c49dcb2fbc5f791e28a63fa6f3e5dbdf5a85ef7 /src/gallium/drivers/radeonsi
parent12dedca52303cf32ac06b8e40ff3cf07b58ed0bc (diff)
gallium: add a cap to enable double rounding opcodes
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index ec533310b8c..4c720458842 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -423,6 +423,7 @@ static int si_get_shader_param(struct pipe_screen* pscreen, unsigned shader, enu
case PIPE_SHADER_CAP_PREFERRED_IR:
return PIPE_SHADER_IR_TGSI;
case PIPE_SHADER_CAP_DOUBLES:
+ case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED:
return 0;
}
return 0;