diff options
author | Kenneth Graunke <[email protected]> | 2011-08-15 14:18:16 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-08-19 23:30:45 -0700 |
commit | 01d81dedc795005ed235856ce762bb1981655716 (patch) | |
tree | 8e7922b7ae68f29dc943f569376a38b525f9e3aa /src/mesa/main/APIspecutil.py | |
parent | 07e9b9049f94ceb443eac1206cc3f9e1e51ac6c1 (diff) |
mesa, glsl_to_tgsi: Add new gl_context::NativeIntegers flag.
Previously, native integer support was based on whether the driver
advertised GLSL 1.30 or not. However, drivers that natively support
integers may wish to do so for older GLSL versions as well. Adding this
new opt-in flag allows them to do so.
Currently disabled by default on all drivers, which was the existing
behavior (no drivers currently implement GLSL 1.30).
Fixes piglit tests on i965 with INTEL_GLSL_VERSION=130 set:
- spec/glsl-1.10/fs-uniform-int-110.shader_test
- spec/glsl-1.30/fs-uniform-int-130.shader_test
(it was doubly converting the data)
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/APIspecutil.py')
0 files changed, 0 insertions, 0 deletions