Michal Krol
ff56a12051
tgsi: Support signed/unsigned integer immediate types.
16 years ago
Michal Krol
b1c55e80aa
gallium: Add signed/unsigned int immediate data types.
16 years ago
Michal Krol
bf4b4c1b6f
tgsi: Cleanup interpreter code for other existing integer opcodes.
16 years ago
Michal Krol
2c046034dc
Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR.
This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
16 years ago
Michal Krol
df0826fba3
tgsi: Implement new integer opcodes.
Update interpreter and ureg.
Also, get rid of SHR -- it's actually an alias for ISHR.
16 years ago
Michal Krol
c59eda0993
gallium: Add more integer TGSI opcodes.
16 years ago
Brian Paul
7836a96657
mesa: added _mesa_[Get]TexParameterI[u]iv() functions
New in GL 3.0. Primarily meant for setting int/uint-valued texture
border color. Not plugged into dispatch table yet.
16 years ago
Brian Paul
f6c2d1f94f
mesa: make texture BorderColor a union of float/int/uint
When we have integer-valued texture formats, the texture border color
must also store integer and uint values.
With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions
can set the border color to int or uint values.
16 years ago
Brian Paul
32b9983c0a
mesa: use get_texobj() in _mesa_GetTexParameter() funcs
16 years ago
Brian Paul
5ac16495a2
Merge branch 'mesa_7_7_branch'
Conflicts:
docs/relnotes.html
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
src/gallium/drivers/r300/r300_cs.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/main/enums.c
16 years ago
Brian Paul
6d84580858
mesa: add missing _mesa_lock_texture() call
16 years ago
Eric Anholt
b434a816d7
i915: Use _MaxLevel on principle in texture setup.
It was OK before because we proceed to clamp the value to hardware
limits, but given that other use of MaxLevel has been a trap, let's
avoid it.
16 years ago
Eric Anholt
19a26dfc47
intel: Fix CopyTexImage from tiled mipmap levels > 0.
Fixes piglit fbo-copyteximage.
16 years ago
Eric Anholt
63610fae4f
i965: Fix the surface offset calculation for tiled buffers.
If we ever had a non-tile-aligned tiled renderbuffer, the math was all
off. Use the existing x,y coordinates instead of trying to
reconstruct them from an incorrectly-calculated offset value.
16 years ago
Andre Maasikas
a160d1c27d
r600: support vertex_array_bgra
Use vertex program key mechanism and swizzle during vertex fetch - is there
a better way?
16 years ago
Brian Paul
82421c549f
mesa: added GL_DU8DV8_ATI in extract_float_rgba()
Fixes warning seen with Shadowgrounds. See bug 24016.
16 years ago
Brian Paul
01bf004d8b
docs: initial release notes for 7.7.1
16 years ago
Vinson Lee
6130bb1391
mesa: Prevent possible array out-of-bounds access by _mesa_light.
16 years ago
Vinson Lee
bfc34c8804
i965g: Fix assert.
16 years ago
Vinson Lee
ad80009c88
tgsi: Fix assert.
16 years ago
Brian Paul
0fb1eaddfb
Merge branch 'gallium-conditional-rendering'
16 years ago
Brian Paul
e661bf5018
mesa: regenerated enums.c file
16 years ago
Brian Paul
707faf65c8
glapi: comment-out TIMEOUT_IGNORED
This is not really a GLenum value.
16 years ago
Brian Paul
f52dd2ab33
glsl: use varName variable in _slang_gen_assignment()
16 years ago
Brian Paul
195568e4cb
mesa: more detailed error message in extract_float_rgba()
16 years ago
Alan Hourihane
1baaf111c8
fix overflow
16 years ago
Michel Dänzer
1e414df894
st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.
This was already done in st_TexImage() but was missed between incremental
changes to st_TexSubimage().
16 years ago
Alan Hourihane
a3abb9d1cc
silence compiler warning
16 years ago
Alan Hourihane
4a531fb46a
Fix test
16 years ago
Michel Dänzer
acd1451393
svga: Fix debug build crash when rendering to depth/stencil renderbuffer only.
16 years ago
Michel Dänzer
c114f000df
st/xorg: Proper calculation of screen pitch.
16 years ago
Michel Dänzer
8282185752
vmware/xorg: Fix SCons build.
16 years ago
Andre Maasikas
e04a818606
r600: support vertex_array_bgra
Use vertex program key mechanism and swizzle during vertex fetch - is there
a better way?
16 years ago
Vinson Lee
d1e2fc19cc
r300: Use C-style comments.
16 years ago
Vinson Lee
8a29e3f8e8
progs/egl: Silence uninitialized variable warnings.
16 years ago
Vinson Lee
3ea5a95078
progs/samples: Silence compiler warnings.
16 years ago
Vinson Lee
b14cbfaebc
r300: Silence 'mixed declarations and code' warnings.
16 years ago
Kristian Høgsberg
2b218d94b5
Only enable verbose NoOp dispatch if DEBUG is defined
By default we generate a function per GL entry point to warn if it's
called without a context set. This is to allow the function to print
it's name in the warning. By using a generic function that doesn't print
the function name in the non-DEBUG case, we reduce libGL size from
320008 bytes to 283144 bytes (11%).
16 years ago
Vinson Lee
0214b7b3c1
r300: Silence 'mixed declarations and code' warning.
16 years ago
Kristian Høgsberg
c3047e73f7
Noop dispatch: move warning code out of the generated functions
This reduces libGL size by 11% here, going from 360968 bytes to
320008 bytes.
16 years ago
Vinson Lee
58531029e6
r300: Silence 'mixed declarations and code' warning.
16 years ago
Vinson Lee
3e196f433d
r300g: Silence 'mixed declarations and code' warning.
16 years ago
Kristian Høgsberg
b8326b011d
Fix glut to work with -fvisibility=hidden
The GLUTAPI #define used in the header file to mark the font structs
visible wasn't kicking in because of the #define glutBitmap9By15 XXX
prior to #include <GL/glut.h>. High quality code... worked around by
copying the GLUTAPI specifier to the invidual C files.
16 years ago
Kristian Høgsberg
8d62eb4599
Export a few glapi functions used by gallium and r300
Fixes breakage from -fvisibility-hidden commit.
16 years ago
Vinson Lee
fe3ea299bf
r300g: Remove comma at end of enumerator list.
16 years ago
Vinson Lee
0bfc579bd4
llvmpipe: Remove comma at end of enumerator list.
16 years ago
Kristian Høgsberg
e388d62b47
Compile with -fvisibility-hidden by default
We have all functions that need to be visible marked with PUBLIC and
this is trimming around 4% off the DRI driver .so size.
16 years ago
José Fonseca
eb5d9e6f70
mesa: Cope with the degenerate case of zero length ranges.
Fixes assertion failures on glean's bufferObject test.
16 years ago
José Fonseca
f3739bdb60
gdi: Don't generate import libraries for opengl32.dll.
Both MinGW and MSVC include opengl32 import libraries, and its safer to
always use those.
16 years ago
Francis Galiegue
a60084088b
mesa: fix blend enable/disable calls in meta.c code
Fixes regression in some DRI drivers since the GL_EXT_draw_buffers2 changes.
Signed-off-by: Brian Paul <brianp@vmware.com>
16 years ago