diff options
author | Eric Anholt <[email protected]> | 2018-06-08 08:00:31 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-06-14 16:52:25 -0700 |
commit | 4564537222f7d4624327440aa6f56e289183d3b8 (patch) | |
tree | e348e816a5eadb32478e385a322e8ff116e72d75 | |
parent | a40bc33b116cef0b5723489081f7755ccef68d09 (diff) |
v3d: Use our #define for max attributes in shader caps.
-rw-r--r-- | src/gallium/drivers/v3d/v3d_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c index d578265eef0..80b8156a73e 100644 --- a/src/gallium/drivers/v3d/v3d_screen.c +++ b/src/gallium/drivers/v3d/v3d_screen.c @@ -376,7 +376,7 @@ v3d_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, if (shader == PIPE_SHADER_FRAGMENT) return VC5_MAX_FS_INPUTS / 4; else - return 16; + return VC5_MAX_ATTRIBUTES; case PIPE_SHADER_CAP_MAX_OUTPUTS: if (shader == PIPE_SHADER_FRAGMENT) return 4; |