Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r5xx: FP refactor, take one. | Corbin Simpson | 2008-06-14 | 5 | -1490/+426 | |
| | | | | Yes, I know it's massive. Imagine how I felt, auditing 3000 lines of code. | |||||
* | r3xx/r5xx: Don't force aniso. | Corbin Simpson | 2008-06-14 | 1 | -1/+1 | |
| | | | | *Pulls paper bag down over head* | |||||
* | r300: Implement GL_ARB_shadow and GL_EXT_shadow_funcs | Nicolai Haehnle | 2008-06-14 | 3 | -1/+152 | |
| | ||||||
* | texenvprogram: Mark textures using ARB_shadow as ShadowSamplers | Nicolai Haehnle | 2008-06-14 | 1 | -2/+6 | |
| | | | | | | | Since ARB_fragment_program and friends are defined to ignore the setting of the GL_TEXTURE_COMPARE_FUNC parameter, we have to explicitly enable the shadow comparison by marking the texture unit in ShadowSamplers when appropriate. | |||||
* | r300: Add radeonCompilerDump for debugging | Nicolai Haehnle | 2008-06-14 | 3 | -0/+38 | |
| | ||||||
* | r300_fragprog: Refactor TEX transformation | Nicolai Haehnle | 2008-06-14 | 5 | -93/+293 | |
| | | | | | | | | Streamlining source and destination registers, as well as texcoord scaling for RECT textures is now done in a radeon_program based transformation. The idea is that this will allow us to optimize away unnecessary indirections more easily. | |||||
* | r300: Add radeon_program and trivial refactoring of r300_fragprog to use it | Nicolai Haehnle | 2008-06-14 | 6 | -2202/+2564 | |
| | | | | | | | | | | The idea/hope is that radeon_program will serve as an intermediate representation for r3xx up to r6xx fragment and vertex programs. Right now, it is nothing more than a simplistic wrapper around Mesa's prog_instruction, together with the notion of clauses, taken from r6xx docs. The clauses will eventually be used to represent the nodes that are used in r300 family fragment programs. | |||||
* | r300: Do not include r300_fragprog.h from r300_context.h and other cleanups | Nicolai Haehnle | 2008-06-14 | 5 | -27/+11 | |
| | ||||||
* | r300_fragprog: Remove dead declarations, move NOP declarations into source | Nicolai Haehnle | 2008-06-14 | 2 | -25/+20 | |
| | ||||||
* | r300_fragprog: Refactoring and cleanup | Nicolai Haehnle | 2008-06-14 | 4 | -399/+417 | |
| | | | | | | | | | | Refactor so that r300_pfs_compile_state "owns"/holds a pointer to r300_fragment_program instead of the other way round. This is more natural from an object orientation point of view. Move the compiled hardware state into r300_fragment_program_code, in anticipation of on-the-fly program recompilation based on external OpenGL state. | |||||
* | r300_fragprog: Remove dead code | Nicolai Haehnle | 2008-06-14 | 1 | -10/+0 | |
| | ||||||
* | r300/r500: Separate fragprog compiler structures | Nicolai Haehnle | 2008-06-13 | 3 | -97/+176 | |
| | | | | | | | r500 code still used r300_pfs_compile_state, which contains some fields that really only make sense on r3xx type hardware. In order to allow both fragprog implementations to go forward without disturbing each other, I've pushed this structure down into the respective r[3|5]00_fragprog.c | |||||
* | r300: Fix depth texture GL_LUMINANCE vs. GL_INTENSITY mixup | Nicolai Haehnle | 2008-06-13 | 1 | -3/+3 | |
| | ||||||
* | r300: Reenable t->filter_1 (though currently not used) | Nicolai Haehnle | 2008-06-13 | 1 | -2/+1 | |
| | ||||||
* | glx: load swrast_dri.so | George Sapountzis | 2008-06-13 | 5 | -2/+459 | |
| | | | | | | | | | | | | | | caveats: - does not work with old (i.e. libGLcore) xserver: - made unbindContext a noop - extensions: GLX_SGI_make_current_read GLX_EXT_texture_from_pixmap GLX_MESA_copy_sub_buffer | |||||
* | dri/swrast: make unbind a noop | George Sapountzis | 2008-06-13 | 1 | -1/+0 | |
| | | | | | | | This is for loading swrast_dri.so from libGL. MakeContextCurrent() seems to unbind the context right after binding it and DRI drivers also have a noop DriverAPI.UnbindContext ... | |||||
* | dri/swrast: add OpenGL 2.1 functions | George Sapountzis | 2008-06-13 | 1 | -1/+3 | |
| | ||||||
* | glx: use ErrorMessageF | George Sapountzis | 2008-06-13 | 1 | -13/+10 | |
| | ||||||
* | silly bug: it's PROGRAM_VARYING | Zack Rusin | 2008-06-12 | 1 | -1/+1 | |
| | ||||||
* | glsl: make sure we replace all output reads with temporaries | Zack Rusin | 2008-06-12 | 3 | -7/+10 | |
| | | | | test in if.glsl | |||||
* | glsl: allow uniforms | Zack Rusin | 2008-06-12 | 1 | -1/+2 | |
| | ||||||
* | glsl: fix array size initialiazers using const variables | Zack Rusin | 2008-06-12 | 1 | -2/+26 | |
| | | | | | | e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize]; | |||||
* | almost forgot - RelAddr is a boolean so use it here | Zack Rusin | 2008-06-12 | 1 | -1/+1 | |
| | ||||||
* | shaders: fix allocation of arrays of parameters | Zack Rusin | 2008-06-12 | 1 | -1/+23 | |
| | ||||||
* | glsl: implement variable array indexes | Zack Rusin | 2008-06-12 | 4 | -12/+24 | |
| | ||||||
* | Update .gitignore for progs/glsl | Dan Nicholson | 2008-06-12 | 1 | -0/+3 | |
| | ||||||
* | sparc: add swrast to dri drivers | Dave Airlie | 2008-06-12 | 1 | -1/+1 | |
| | ||||||
* | sparc: add DRI drivers for sparc patch from Fedora | Dave Airlie | 2008-06-12 | 1 | -0/+6 | |
| | ||||||
* | remove obsoleted doxygen \param comments | Brian Paul | 2008-06-11 | 1 | -23/+18 | |
| | | | | | | | Someone changed the function parameters but didn't bother to update the comments. Also, whitespace changes, clean-ups. | |||||
* | comments | Brian Paul | 2008-06-11 | 1 | -1/+10 | |
| | ||||||
* | remove unnecessary swrast, tnl includes | Brian Paul | 2008-06-10 | 1 | -3/+0 | |
| | ||||||
* | add some missing rule dependencies | Brian Paul | 2008-06-10 | 1 | -3/+3 | |
| | ||||||
* | copy msaa visuals capability | Roland Scheidegger | 2008-06-10 | 1 | -1/+4 | |
| | ||||||
* | Distribute version.mk in case autoconf needs to be run again | Dan Nicholson | 2008-06-10 | 1 | -0/+1 | |
| | | | | | Users may need to rebuild the configure script, so we need to distribute version.mk so autoconf can run successfully. | |||||
* | i965: apply commit 6c1a98e97affb2163e776551eb3a9e669ff99bbf to glsl | Xiang, Haihao | 2008-06-10 | 1 | -1/+1 | |
| | ||||||
* | fix Xlib libGL.so build problem. | Brian Paul | 2008-06-09 | 3 | -2/+2 | |
| | | | | Also, build driverfuncs.c into libmesa.a since it's always needed. | |||||
* | s/SOLO/MESA/ | Brian Paul | 2008-06-09 | 1 | -2/+2 | |
| | ||||||
* | Makefile clean-ups | Brian Paul | 2008-06-09 | 1 | -2/+2 | |
| | ||||||
* | more old stuff, rename SOLO->MESA, etc | Brian Paul | 2008-06-09 | 1 | -25/+8 | |
| | ||||||
* | Makefile clean-ups | Brian Paul | 2008-06-09 | 1 | -1/+1 | |
| | ||||||
* | document makefile changes | Brian Paul | 2008-06-09 | 1 | -1/+1 | |
| | ||||||
* | Check for NULL pointer | Alan Hourihane | 2008-06-09 | 1 | -0/+2 | |
| | ||||||
* | glx: use goto's vs. nested if's ala xserver | George Sapountzis | 2008-06-09 | 1 | -152/+136 | |
| | | | | compile tested only | |||||
* | glx: add dri_common.c ala xserver | George Sapountzis | 2008-06-09 | 5 | -517/+504 | |
| | | | | | | also drop driFilterModes which is unused in preparation of loading swrast_dri.so | |||||
* | dri/swrast: minor cosmetic | George Sapountzis | 2008-06-09 | 1 | -50/+52 | |
| | ||||||
* | r300: Workaround hardware readcache problem | Nicolai Haehnle | 2008-06-08 | 1 | -0/+24 | |
| | | | | | | | | This workaround is similar to the one found in r200_span.c. It seems like some part of the read hardware doesn't realize that VRAM has changed. By reading from an arbitrary position, this is fixed. The piglit test bugs/r300-readcache is a regression test for this bug. | |||||
* | remove realglx.[ch] from build | Brian | 2008-06-08 | 1 | -2/+0 | |
| | ||||||
* | i965: fix OPCODE_TEX when additional ops are needed | Roland Scheidegger | 2008-06-08 | 1 | -2/+7 | |
| | ||||||
* | r300: Allow driconf to set a default anisotropy. | Corbin Simpson | 2008-06-07 | 1 | -2/+4 | |
| | | | | If an app does not use GL_EXT_tex_filter_aniso, this lets driconf set it instead. | |||||
* | r300: Some cleanups in depth and stencil state handling | Nicolai Haehnle | 2008-06-07 | 3 | -33/+8 | |
| | | | | This also fixes a bug with Zfunc set to GL_NEVER in glean/paths. |