Commit Graph

32057 Commits

Author SHA1 Message Date
Brian Paul 4db9f83612 mesa: enable GL_EXT_texture_array for sw drivers 2010-02-25 20:11:55 -07:00
Brian Paul 1f2b495b55 glsl: implement support for GL_EXT_texture_array
GL_EXT_texture_array is different from the existing GL_MESA_texture_array
support in that the former is only supported for GLSL, not fixed-function.

The shadow compare versions of the sampler functions haven't been tested
yet.  The non-shadow versions have been tested with a new piglit test.
2010-02-25 20:11:55 -07:00
Brian Paul 1edd444c2e mesa: added new extension flag for GL_EXT_texture_array 2010-02-25 20:11:54 -07:00
Brian Paul 58ab56d323 swrast: the only wrap mode for selecting texture array slices is clamp 2010-02-25 20:11:54 -07:00
Brian Paul ac498f2dce mesa: added texture array targets in sizeof_glsl_type() 2010-02-25 20:11:54 -07:00
Brian Paul 2c1619869a mesa: added cases for texture array targets 2010-02-25 20:11:54 -07:00
Brian Paul a8dafe713f mesa: remove redundant call to _mesa_base_fbo_format() 2010-02-25 20:11:54 -07:00
Brian Paul a858bc393e mesa: added renderbuffer->_BaseFormat assertion 2010-02-25 20:11:54 -07:00
Eric Anholt 839e6bd8b9 i965: Try to hook up the Sandybridge URB_WRITE SEND message.
My units still hang when doing this if the VS is enabled.
2010-02-25 18:36:44 -08:00
Eric Anholt c8e5100a39 i965: Fix up the VUE handling for SNB, and hopefully clarify comments. 2010-02-25 18:36:44 -08:00
Eric Anholt 54ea39f768 i965: Don't set a nonexistent enable bit in several SNB state pointers.
The modify bit is now usually in the instruction header.  The
exception is CC state pointers.
2010-02-25 18:36:44 -08:00
Eric Anholt 1d7aec053b i965: Lump SNB in with Ironlake for bigger VUEs.
This gets the VS to the point of accepting vertices.  \o/
2010-02-25 18:36:44 -08:00
Eric Anholt d790564f94 i965: Fix the SNB VE valid bit.
So, when the docs say that 0 means enabled now?  That's a lie.
2010-02-25 18:36:44 -08:00
Eric Anholt fc26f894ba intel: Fix up INTEL_NO_HW support.
This was accidentally (it seems) deleted in
5203b7227c
2010-02-25 18:36:44 -08:00
Eric Anholt 89cce536cb i965: Don't include SNB in has_negative_rhw_bug. 2010-02-25 18:36:44 -08:00
Eric Anholt dedfc0e6e6 i965: Fix the SNB clip near VP API bit. 2010-02-25 18:36:44 -08:00
Eric Anholt 17ddb7c7e8 i965: Fix the SNB URB entry count setup. 2010-02-25 18:36:44 -08:00
George Sapountzis 9a4a219d20 drop header files and demos for dropped window systems 2010-02-26 04:02:41 +02:00
George Sapountzis 25da8e66f8 remove hack for miniglx from dri/utils.c 2010-02-26 04:02:41 +02:00
George Sapountzis ddecefbb82 drop linux-solo configs 2010-02-26 04:02:41 +02:00
George Sapountzis 900b163a86 minor cleanup of dri/Makefile.template's after miniglx drop
also makes the WINDOW_SYSTEM configure var useless ...
2010-02-26 04:02:41 +02:00
George Sapountzis 593eb8a642 drop stray src/mesa/main/sources 2010-02-26 04:02:40 +02:00
Brian Paul c9e8ff1976 mesa: use simplified _BaseFormat value in render-to-texture code
Fixes fd.o bug 26762.
2010-02-25 19:00:54 -07:00
Brian Paul 31ff9b0a13 util: remove a trailing semicolon in format table code 2010-02-25 18:59:00 -07:00
Török Edvin ab6825b3e3 progs/glsl: add ARCH_FLAGS to LDLIBS
Allows building 32-bit demos on 64-bit Debian host.

Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-25 18:58:55 -07:00
Vinson Lee 3e882e943c util: Remove import of unused sys module. 2010-02-25 17:55:36 -08:00
Kristian Høgsberg 44f78eb18e Remove unused mini and mesa glu subdirectories 2010-02-25 17:40:11 -05:00
Kristian Høgsberg b15fe60ba5 Drop unused glut subdirectories 2010-02-25 17:40:11 -05:00
Kristian Høgsberg 74377c8d1b Remove windml progs 2010-02-25 17:40:11 -05:00
Kristian Høgsberg a9e3669683 Remove remaining miniglx references 2010-02-25 17:40:11 -05:00
Kristian Høgsberg 79aeafd3ca Drop fb, ffb and gamma dri drivers 2010-02-25 17:40:11 -05:00
Kristian Høgsberg 40c6bb58be Drop classic mesa svga driver 2010-02-25 17:40:10 -05:00
Kristian Høgsberg e14a5b14b2 Drop glide driver 2010-02-25 17:40:10 -05:00
Kristian Høgsberg 230d263aca Remove GGI support 2010-02-25 17:40:10 -05:00
Kristian Høgsberg b5c3199afe Remove dos driver 2010-02-25 17:40:10 -05:00
Kristian Høgsberg 97972244d5 Remove d3d driver 2010-02-25 17:40:10 -05:00
Kristian Høgsberg 4387580e50 Remove directfb support 2010-02-25 17:40:09 -05:00
Kristian Høgsberg dadd5094bf Remove allegro driver 2010-02-25 17:40:09 -05:00
Vinson Lee 0bca812dc4 Revert "glu/sgi: Set freed pointer to NULL."
This commit breaks flightgear fgfs. A null pointer is
dereferenced in the function MakeVertex.

This reverts commit 9be414f4b9.
2010-02-25 14:26:25 -08:00
Eric Anholt 6a9705f41d Merge branch 'sandybridge'
This brings in the initial code I've been working on for bringing up
OpenGL on Sandybridge in the i965 driver.  It doesn't work yet.
2010-02-25 10:56:18 -08:00
Eric Anholt b43cfa9c5e docs: addition of ARB_fcc to i965. 2010-02-25 10:56:00 -08:00
Eric Anholt 38c4494092 i965: Add SNB math opcode support.
This is untested at this point.
2010-02-25 10:53:08 -08:00
Eric Anholt 078e7b62f6 i965: Emit SNB FF unit state after the unit's push constants.
There's a BUN for the WM unit that says WM_STATE must immediately
follow PS_CONSTANTS, which this addresses.  Presumably other units are
roughly the same, too.
2010-02-25 10:53:08 -08:00
Eric Anholt c791f8a1e5 i965: Set up the SNB sampler state pointers. 2010-02-25 10:53:08 -08:00
Eric Anholt 5878c841e9 i965: Set GS rendering enabled even when the GS stage is disabled.
This is copying the behavior of other drivers.
2010-02-25 10:53:08 -08:00
Eric Anholt f69d46150c i965: Add a couple SNB state packets I saw in other batchbuffer dumps. 2010-02-25 10:53:08 -08:00
Eric Anholt 2ab3bf2fa3 i965: Re-disable the VS.
There's stuff that needs to happen in the ISA before we can play with
actually executing anything in the VS.
2010-02-25 10:53:08 -08:00
Eric Anholt 1489f108f4 i965: Fix up some Sandybridge define checks for the structure rebase. 2010-02-25 10:53:08 -08:00
Eric Anholt 591a996ab6 i965: Move PIPELINE_SELECT to the top of gen6 3d pipeline setup. 2010-02-25 10:53:08 -08:00
Eric Anholt ab8c37fe18 i965: Untested Sandybridge WM packets. 2010-02-25 10:53:08 -08:00