diff options
author | Ilia Mirkin <[email protected]> | 2014-08-14 00:04:41 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-08-14 20:25:32 -0400 |
commit | 8ee74ce50f980a15ab68ad40df702831ac8d68e0 (patch) | |
tree | b37d94b92b53266bc97abaecfbb803898aa35dce /src/gallium/drivers/r300/r300_screen.c | |
parent | 3fa384db0cbc903fa287017a1bbc8b032204c184 (diff) |
gallium: add opcodes/cap for fine derivative support
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]> (v1)
Reviewed-by: Roland Scheidegger <[email protected]> (v1)
v2: Reuse opcode gaps as suggested by Marek
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-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 4e46f77ee02..ad599e97322 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -178,6 +178,7 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_GATHER_OFFSETS: case PIPE_CAP_TGSI_VS_WINDOW_SPACE_POSITION: case PIPE_CAP_DRAW_INDIRECT: + case PIPE_CAP_TGSI_FS_FINE_DERIVATIVE: return 0; /* SWTCL-only features. */ |