summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_exec.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-02-01 11:15:43 -0700
committerBrian Paul <[email protected]>2013-02-04 09:33:44 -0700
commitad30e4545b4f8b9cbcd0223266a2a461290f4143 (patch)
tree27d405f97247be95c2d42fe1a6eb111be18c65f1 /src/gallium/auxiliary/tgsi/tgsi_exec.h
parentd276a40e15dce26494ec61670fe2aeef62dbeba1 (diff)
tgsi: add support for new SQRT opcode
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
index fbd28a24339..1a7d979ca21 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h
@@ -441,6 +441,8 @@ tgsi_exec_get_shader_param(enum pipe_shader_cap param)
return 1;
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
return PIPE_MAX_SAMPLERS;
+ case PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED:
+ return 1;
default:
return 0;
}