diff options
author | Eric Anholt <[email protected]> | 2014-09-24 14:12:35 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-24 15:56:39 -0700 |
commit | f24588d64e6be50068883d484c8d759fb8979750 (patch) | |
tree | cb5f17de9f2818e3205571bb7bc88dff8560727a /src/gallium/drivers/vc4/vc4_screen.c | |
parent | 7fa399f93af288bc0b9764819d4e5b6184e75d78 (diff) |
vc4: Add support for line width setting.
I don't see piglit tests for it, but this should be better than not
emitting it at all.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index 81a29a5ef2e..4472efdabca 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -239,6 +239,8 @@ vc4_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) switch (param) { case PIPE_CAPF_MAX_LINE_WIDTH: case PIPE_CAPF_MAX_LINE_WIDTH_AA: + return 32; + case PIPE_CAPF_MAX_POINT_WIDTH: case PIPE_CAPF_MAX_POINT_WIDTH_AA: return 8192.0f; |