summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-02-15 22:40:46 +0100
committerSamuel Pitoiset <[email protected]>2016-02-16 20:53:35 +0100
commit09446cf5f605d23102321d386a99a8c7d329e1e5 (patch)
tree02642eda557e8fd1eec785828ef7b196d55872cb /src/gallium/drivers
parentf28d80fabfca97b24b3e716e8fb1836abdc32643 (diff)
st/mesa: do not init limits when compute shaders are not supported
When the number of uniform blocks is less than 12, ARB_uniform_buffer_object can't be enabled and the maximum GL version is not even 3.1... This fixes a regression introduced in 7c79c1e (st/mesa: add compute shader state) if the maximum number of uniform blocks allowed for compute shaders is less than 12. This happens on Kepler but this might also affect other Gallium drivers. Signed-off-by: Samuel Pitoiset <[email protected]> Reported-by: Tobias Klausmann <[email protected]> Tested-by: Tobias Klausmann <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Tobias Klausmann <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions