summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2006-06-02implement arb_vertex_program in hw for r200. Code contains still some hacks, ↵Roland Scheidegger
generic attribs cause a fallback, but otherwise it seems to work quite well. Passes all glean vertProg1 tests with the exception of the degnerated LIT case (which is a hw limitation), as well as runs the r200 render path of doom3/quake4 (1.1 patch needed for quake4). The code is heavily borrowed from the r300 driver as vertex programs encoding is almost identical. arb_vertex_program is not yet announced by default and still needs to be enabled via driconf.
2006-06-02remove code dealing with drmMinor version < 6 since all radeon drivers ↵Roland Scheidegger
request at least drmMinor 6 anyway.
2006-06-01retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the ↵Roland Scheidegger
intention as drm seems to never return EAGAIN) in all radeon drivers.
2006-05-31SWZ is nearly identical to MOV. the difference is that SWZ supports ↵Tilman Sauerbeck
per-component negation, which MOV doesn't. as that's handled transparently, we can use the same code for them.
2006-05-31pass src->NegateBase as-is in t_src() now, as the flags are equivalent to ↵Tilman Sauerbeck
r300's VSF_FLAGs now
2006-05-30minor code cleanup, no actual changesTilman Sauerbeck
2006-05-27fix some whitespace in previous commitRoland Scheidegger
2006-05-27preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k ↵Roland Scheidegger
instead of 8k (the reasons why it was exactly 8k are unclear). Add register defines, sanity code, fix potential issue with wrong statechange order when disabling fragment programs.
2006-05-23Add const qualifiers in a number of places.Brian Paul
2006-05-23init mask=0 to silence warningBrian Paul
2006-05-23make mgaSetFence() and mgaWaitFence() staticBrian Paul
2006-05-23prototype i915_udpate_fog() to silence warningBrian Paul
2006-05-20In gl_texture_image, replace ImageStride with an ImageOffsets array.Brian Paul
Some hardware lays out 3D mipmaps in a manner that can't be expressed with a simple image stride. The ImageOffsets array is allocated and initialized to typical defaults in the _mesa_init_teximage_fields() function. If needed, a driver will then have to replace these offsets. TexStore and TexelFetch routines updated to use offsets array.
2006-05-18Dont allow 16 tex units to be used at all.Aapo Tahkola
2006-05-17add texture rectangle support for i815, I wrote the original patch aboutDave Airlie
2 years ago, I finally dug out an i815 and got it working
2006-05-12the r300 should only use 8 until Mesa can deal with thisDave Airlie
2006-05-12this should use the configured number not the MAX, this has no effect untilDave Airlie
the core mesa swrast number is fixed, just spotted this on the way past
2006-05-08Fix a number of texture compression issues.Brian Paul
Pass the MESA_FORMAT_* token to the _mesa_compressed_row_stride(), _mesa_compressed_texture_size() and _mesa_compressed_image_address() functions since we want to use the driver-chosen format, not the user's internalFormat hint. Consolidate code related to choosing the texture format in texstoree.c
2006-05-08updates to dri drivers for recent stencil changesKeith Whitwell
2006-05-05remove temporary code from keithw, this in theory isn't used at the momentDave Airlie
anyways unless INTEL_BATCH is turned on
2006-05-05Fix i915 driver after stencil changes in Mesa 6.5Dave Airlie
2006-05-02remove some unneeded includesDave Airlie
2006-05-02move the pkg config flags for libdrm to the bottomDave Airlie
2006-04-26fix warnings.Aapo Tahkola
2006-04-26R300_SPAN_DISABLE_LOCKING env varAapo Tahkola
2006-04-25use _TNL_FIRST/LAST_MAT indexesBrian Paul
2006-04-24extended swizzle (bug 6727)Brian Paul
2006-04-23enable feedback renderingAapo Tahkola
2006-04-23disable hw locking when entering span rendering for nowAapo Tahkola
2006-04-23need to hold before freeingAapo Tahkola
2006-04-23Enable USER_BUFFERS, RADEON_VTXFMT_A and HW_VBOS on big endian by forcing ↵Benjamin Herrenschmidt
all elts to 32 bits (it would be possible to do a half word swap for 16 bits if somebody is interested) and by using the input route mecanism to swap ubyte's properly in r300EmitArrays. Tested with cva, varray and quake3
2006-04-21Ensure all GART allocations are freed on context destruction, rather thanAdam Jackson
waiting for the DRM to reap them at process exit. Fixes (fatal) allocation failures in AIGLX configurations. Reviewed by: Aapo Tahkola
2006-04-21Fix format strings for LP64Adam Jackson
2006-04-21depend is not a .PHONY targetBrian Paul
2006-04-20limit max program/param length to 255 (spotted by sroland)Aapo Tahkola
2006-04-20Make most of the _mesa_noop_*() functions static.Brian Paul
Generate GL_INVALID_VALUE, not GL_INVALID_ENUM when glVertexAttrib is called with a bad index. Use _mesa_noop_vtxfmt_init() in DRI drivers to initialize vertex format struct.
2006-04-17Add .note.GNU-stack section to assembler files to avoid the default behaviorKristian Høgsberg
of requesting executable stacks.
2006-04-12GLboolean cannot hold GLuint! usage of tmus >= 4 no longer lock r300.Aapo Tahkola
2006-04-11add missing 'union' keywordBrian Paul
2006-04-11FBConfig support for EXT_tfpDavid Reveman
2006-04-11More GLSL code:Michal Krol
- use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
2006-04-11get fog going(for real)Aapo Tahkola
2006-04-11rectangular fp16 fixes (Ewald Snel)Aapo Tahkola
2006-04-11Fog support (Ewald Snel)Aapo Tahkola
2006-04-09Destroy the GL context after driDestroyTextureHeap, because the driver'sEric Anholt
DestroyTexObj has a dependence on the glCtx and may segfault otherwise.
2006-04-08fix some conflict happenings at context destroy by freeing buffers ↵Aapo Tahkola
immediately. array locking can be done with vbos for vtxfmt_a so we dont really need to try to reuse them.
2006-04-07replace >&/dev/null with >/dev/null so it works with all shellsBrian Paul
2006-04-07Fix some warnings on x86_64Alan Hourihane
2006-04-07make miniglx use libdrm properlyDave Airlie
2006-04-06Set DRIVER_DEFINES instead of DEFINES to fix duplicate flags problemBrian Paul