diff options
author | Jonathan Marek <[email protected]> | 2019-04-10 13:59:10 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-04-23 17:13:32 +0000 |
commit | bce4f11dbcf2c1afc91109d2e46f3b5eeb54fc2e (patch) | |
tree | cbf40d7abc74a052ebf3d4c816ba85c98a9d8e66 /src/gallium/drivers/freedreno/freedreno_screen.c | |
parent | 418c3d9a4f75ad1d075ab6d928c215cd2f25d34a (diff) |
freedreno: a2xx: disable PIPE_CAP_PACKED_UNIFORMS
a2xx driver is currently broken when PIPE_CAP_PACKED_UNIFORMS is enabled,
disable it for now.
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Reviewed-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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 40dc16f82cd..1eebefd085e 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -195,9 +195,11 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MIXED_COLOR_DEPTH_BITS: case PIPE_CAP_TEXTURE_BARRIER: case PIPE_CAP_INVALIDATE_BUFFER: - case PIPE_CAP_PACKED_UNIFORMS: return 1; + case PIPE_CAP_PACKED_UNIFORMS: + return !is_a2xx(screen); + case PIPE_CAP_VERTEXID_NOBASE: return is_a3xx(screen) || is_a4xx(screen); |