diff options
author | Nicolai Hähnle <[email protected]> | 2016-04-06 11:51:47 -0500 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-04-07 13:15:05 -0500 |
commit | f09036f6c0433c37b826319e2345f88b43b3f141 (patch) | |
tree | 498655bcdeb4e1799b020a2ef358dc1956725a22 /src/gallium/targets/pipe-loader/pipe_r600.c | |
parent | 84c4d069ac7be1dece2f5eeed277089a79e6acbf (diff) |
gallium: raise PIPE_MAX_SAMPLERS to 32
The previous value of 18 was motivated by having drivers that want to expose
16 samplers but also use some additional samplers for internal use. Raising
the value even higher isn't going to hurt that case.
On the other hand, some drivers actually use PIPE_MAX_SAMPLERS as the number
of samplers they expose externally, so raising this number above 32 is fragile
(because several places in the code use bitfields, and tracking down and
widening all of them is prone to miss some case).
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/targets/pipe-loader/pipe_r600.c')
0 files changed, 0 insertions, 0 deletions