diff options
author | Rob Clark <[email protected]> | 2014-12-21 11:38:34 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-02-24 14:23:38 -0500 |
commit | 283bb4848e0904d901e79d32883bf7dd546d6159 (patch) | |
tree | 30dc8f6ac4d46013ebbb6a7293fc1e839e759afd /src/gallium/drivers/freedreno/freedreno_screen.c | |
parent | 4aef0d79ee2cebf3d11b803c5df016d87f3ba9fd (diff) |
freedreno/a4xx: add support for vertexid and instanceid sysvals
ir3 bits of it already in place from a3xx patch..
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index b17ea580d7e..97bab9dd242 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -169,9 +169,9 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_SM3: case PIPE_CAP_PRIMITIVE_RESTART: + case PIPE_CAP_TGSI_INSTANCEID: return is_a3xx(screen) || is_a4xx(screen); - case PIPE_CAP_TGSI_INSTANCEID: case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR: return is_a3xx(screen) && glsl130; |