diff options
author | Kenneth Graunke <[email protected]> | 2011-08-11 16:42:01 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-08-19 23:32:50 -0700 |
commit | e98ee06776e0ba055e0194836d5813a0bc7e7795 (patch) | |
tree | f5e400c5a6d464eb6fbf348aafb66ba96dfba9fb /src/glsl/opt_constant_folding.cpp | |
parent | 01d81dedc795005ed235856ce762bb1981655716 (diff) |
i965/fs: Don't double-convert integer/boolean uniforms.
When ctx->Const.NativeIntegers is set, Core Mesa loads integer/boolean
uniforms directly, rather than loading the floating point equivalent.
So, when that's set, we don't need to perform any conversions.
Unfortunately, we can't properly support native integers with the old
vertex shader backend, so this patch leaves them disabled for now.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/opt_constant_folding.cpp')
0 files changed, 0 insertions, 0 deletions