Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | R300: 1002:5657 is actually RV410 | Alex Deucher | 2008-06-21 | 2 | -2/+2 |
| | | | | See bug 14289 | ||||
* | r200: fix typo in r200TryDrawPixels parameter validation (bug 16406) | Roland Scheidegger | 2008-06-21 | 1 | -1/+1 |
| | |||||
* | mesa: tweak mipmap level selection for cube maps | Brian Paul | 2008-06-19 | 1 | -1/+15 |
| | | | | | | | This is just a hack. After we convert the 3D texcoord into a face plus 2D texcoord we need to recompute the partial derivatives and mipmap LOD. But we don't have the info to do that. Adjusting the original mipmap level by -1 seems to give somewhat better results than before though. | ||||
* | i915: Bug #14313: Fix accelerated (PBO) ReadPixels. | Eric Anholt | 2008-06-18 | 1 | -4/+1 |
| | | | | | Refactoring of mine in 02d5ba849197e19843dad164239b51f18fb16faf broke it by failing to understand that the masking was about sign extension. | ||||
* | i965: add support for Intel 4 series chipsets | Xiang, Haihao | 2008-06-18 | 2 | -2/+17 |
| | |||||
* | mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT ↵ | Brian Paul | 2008-06-17 | 2 | -3/+3 |
| | | | | for Z unpacking | ||||
* | assorted glide driver fixes | Wilfried Holzke | 2008-06-17 | 1 | -1/+2 |
| | |||||
* | glu: silence warnings | Brian Paul | 2008-06-17 | 1 | -2/+2 |
| | |||||
* | mesa: make mm.c use unsigned ints for offsets. | Dave Airlie | 2008-06-17 | 2 | -6/+7 |
| | | | | | If you have a GPU using this code and it has the offsets up in this space, this fails. | ||||
* | r300: Make LOD bias a persistent environment variable. | Corbin Simpson | 2008-06-16 | 2 | -14/+14 |
| | | | | Per airlied's suggestion. | ||||
* | Compute/setup fog coordinates even if vertex program is enabled. | H. Verbeet | 2008-06-16 | 2 | -4/+4 |
| | | | | | Only when fog's enabled, of course. In the usual case, this is just a pass-through operation. | ||||
* | mesa: allocate pixel zoom arrays on heap, not stack | Brian Paul | 2008-06-16 | 3 | -10/+20 |
| | | | | Fixes stack overflow on Windows. | ||||
* | Don't compute vertex fog when fragment program is active. | H. Verbeet | 2008-06-16 | 1 | -7/+7 |
| | |||||
* | r300: Fix new incarnation of bug 3195. | Corbin Simpson | 2008-06-16 | 3 | -6/+16 |
| | | | | tests/bug_3195 doesn't render right, but at least it doesn't segfault this way. | ||||
* | r300: Forgot to clear old state before writing new state. | Corbin Simpson | 2008-06-16 | 1 | -0/+1 |
| | | | | Oooops. Hehe. | ||||
* | r300: Enable LOD bias state emission. | Corbin Simpson | 2008-06-15 | 1 | -16/+49 |
| | | | | | Properly set t->filter_1 for r300_state to emit. Expect buggies as people see LOD bias enabled for the first time... | ||||
* | Oops, misordered a few instructions. | Corbin Simpson | 2008-06-15 | 1 | -1/+2 |
| | | | | Not like it matters, though, since it's not taking effect yet. | ||||
* | r300: Unbreak LOD biasing, a bit. | Corbin Simpson | 2008-06-15 | 1 | -34/+33 |
| | | | | Needs a bit more work on submission. | ||||
* | No more drivers/xorg | Dan Nicholson | 2008-06-15 | 1 | -1/+0 |
| | | | | Don't try to clean in xorg since GLcore is gone. | ||||
* | r5xx: Enable fragment.position, partial ARB_shadow. | Corbin Simpson | 2008-06-14 | 2 | -23/+25 |
| | | | | I don't like PROGRAM_BUILTIN; could we either patch Mesa or just use a different constant? | ||||
* | r5xx: Detangle FP fallback and translation switches. | Corbin Simpson | 2008-06-14 | 2 | -5/+4 |
| | | | | | r5xx should fallback if it encounters a bad FP. TODO: Re-enable the dumb shader so we don't have to completely fallback. | ||||
* | r300: Add radeonTransformALU and fix a bug in r300_fragprog DPH | Nicolai Haehnle | 2008-06-14 | 5 | -99/+334 |
| | | | | | This new generic transform replaces "special" instructions by more generic variants. Hopefully, we will be able to share this code between r300 and r500. | ||||
* | r300_fragprog: Use less complex instructions | Nicolai Haehnle | 2008-06-14 | 1 | -28/+10 |
| | | | | | MOV, ADD and MUL do not fit the hardware as well as MAD, but they are less complex and thus leave more room for future optimizations. | ||||
* | r5xx: More FP rewriting; fix texrect FP insts. | Corbin Simpson | 2008-06-14 | 2 | -89/+23 |
| | |||||
* | r5xx: New FP code, take two. | Corbin Simpson | 2008-06-14 | 1 | -0/+1520 |
| | | | | Add the code emission source file, and comment out unneeded tex de-swizzling. | ||||
* | 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 |
| |