diff options
author | Dave Airlie <[email protected]> | 2014-02-11 13:26:08 +1000 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-04-07 01:06:18 -0400 |
commit | be5276ae7d24563301ae627b994f612069c32461 (patch) | |
tree | 5d54a4ffb578414643077a88c2a950b578eb9a75 /src/gallium/drivers/r300 | |
parent | 5d0b3ec4ae4e468ee6d69bb6f036c06aae759dcc (diff) |
gallium: add support for LODQ opcodes.
This opcode provide support for GL_ARB_texture_query_lod,
Signed-off-by: Dave Airlie <[email protected]>
[imirkin: rebase, docs update]
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 0977d3920a3..8ed636a6717 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -169,6 +169,7 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_TGSI_VS_LAYER: case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS: case PIPE_CAP_TEXTURE_GATHER_SM5: + case PIPE_CAP_TEXTURE_QUERY_LOD: return 0; /* SWTCL-only features. */ |