mesa/src
Kenneth Graunke 6a529e2b48 mesa/vbo: Support the ES 3.0 signed normalized scaling rules.
Traditionally, OpenGL has had two separate equations for converting from
signed normalized fixed-point data to floating point data.  One was used
primarily for vertex data, while the other was primarily for texturing
and framebuffer data.

However, ES 3.0 and GL 4.2 change this, declaring there's only one
equation to be used in all cases.  Unfortunately, it's the other one.

v2: Correctly convert 0b10 to -1.0, as pointed out by Chris Forbes.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
2012-11-27 12:36:33 -08:00
..
egl egl/dri2: Set error code when dri2CreateContextAttribs fails 2012-11-19 08:18:22 -08:00
gallium gallium/tests/trivial: updates for transfer functions changes 2012-11-27 19:00:48 +01:00
gbm gbm: Use the kms dumb ioctls for cursor instead of libkms 2012-10-21 13:00:49 -04:00
getopt
glsl glsl: Support unsigned integer constants in layout qualifiers. 2012-11-26 21:02:45 -08:00
glx mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
gtest build: Fix gtest out-of-tree build 2012-08-14 10:54:39 -07:00
mapi mesa: Mark GetBufferParameteri64v as implemented. 2012-11-19 11:49:04 -08:00
mesa mesa/vbo: Support the ES 3.0 signed normalized scaling rules. 2012-11-27 12:36:33 -08:00
.gitignore automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00