diff options
author | Samuel Pitoiset <[email protected]> | 2015-03-08 17:18:07 +0100 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-03-09 20:47:05 -0400 |
commit | e5cd42ed9abadac8be085eea67049dc1e19ade09 (patch) | |
tree | f12c8d1bcfb48cac71adbef4e7a7c6f6667c40ec /src/mesa/program/prog_statevars.c | |
parent | 13f4963ed2de90680841658af4561ef7ab238406 (diff) |
nvc0: fix wrong max value for driver queries
The maximum value of a Gallium HUD's panel is automatically adjusted
when the current value is greater than the max. If we set the
pipe_query_driver_info::max_value to UINT64_MAX, the maximum value is
never adjusted and this results in a flat line instead of a pretty curve
which is correctly scaled.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_statevars.c')
0 files changed, 0 insertions, 0 deletions