summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-02-11 13:26:08 +1000
committerIlia Mirkin <imirkin@alum.mit.edu>2014-04-07 01:06:18 -0400
commitbe5276ae7d24563301ae627b994f612069c32461 (patch)
tree5d54a4ffb578414643077a88c2a950b578eb9a75 /src/gallium/drivers/freedreno
parent5d0b3ec4ae4e468ee6d69bb6f036c06aae759dcc (diff)
downloadexternal_mesa3d-be5276ae7d24563301ae627b994f612069c32461.zip
external_mesa3d-be5276ae7d24563301ae627b994f612069c32461.tar.gz
external_mesa3d-be5276ae7d24563301ae627b994f612069c32461.tar.bz2
gallium: add support for LODQ opcodes.
This opcode provide support for GL_ARB_texture_query_lod, Signed-off-by: Dave Airlie <airlied@redhat.com> [imirkin: rebase, docs update] Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index 4f0675f..96c769e 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/src/gallium/drivers/freedreno/freedreno_screen.c
@@ -207,6 +207,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_TEXTURE_GATHER_SM5:
case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
case PIPE_CAP_FAKE_SW_MSAA:
+ case PIPE_CAP_TEXTURE_QUERY_LOD:
return 0;
/* Stream output. */