From be5276ae7d24563301ae627b994f612069c32461 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 11 Feb 2014 13:26:08 +1000 Subject: gallium: add support for LODQ opcodes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This opcode provide support for GL_ARB_texture_query_lod, Signed-off-by: Dave Airlie [imirkin: rebase, docs update] Signed-off-by: Ilia Mirkin Reviewed-by: Marek Olšák --- src/gallium/drivers/freedreno/freedreno_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/freedreno') diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 4f0675fc84a..96c769ed41c 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. */ -- cgit v1.2.3