Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | copy StateFlags in _mesa_clone_parameter_list() | Brian Paul | 2008-05-20 | 1 | -0/+2 |
| | | | | cherry-picked from master (b539b6132141b0f583076355ad158852667b79cd) | ||||
* | fix incorrect sampler numbering/indexing. | Brian Paul | 2008-05-20 | 5 | -14/+15 |
| | | | | | | All samplers indexes were zero. cherry-picked from master (b6fb0940c226373ac235a5d327d3fcfd742bc6b9) | ||||
* | fix tempReg test in _mesa_combine_programs() | Brian Paul | 2008-05-19 | 1 | -1/+1 |
| | |||||
* | print vertex.attrib[n] (from master) | Brian Paul | 2008-05-18 | 1 | -3/+19 |
| | |||||
* | Fix some bugs in material, depth range state | Brian Paul | 2008-05-18 | 1 | -4/+4 |
| | | | | picked from master | ||||
* | alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935) | Brian Paul | 2008-05-18 | 3 | -84/+26 |
| | | | | | | these should be the same functions (as per spec). cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931) | ||||
* | bring in fixes/changes from master | Brian Paul | 2008-05-16 | 1 | -5/+14 |
| | |||||
* | Fix a program refcounting error, don't share program parameter lists. | Brian Paul | 2008-05-16 | 2 | -41/+20 |
| | | | | | | The refcounting bug was causing a memleak (unfreed programs). The old parameter list sharing is not needed since the change in how uniforms are handled. | ||||
* | fix parsing of state.texenv.color (bug 14931) | Brian Paul | 2008-05-14 | 2 | -2/+4 |
| | | | | cherry-picked from master | ||||
* | Consolidate texture fetch code and use partial derivatives when possible. | Brian Paul | 2008-05-14 | 2 | -67/+70 |
| | | | | picked from master | ||||
* | mesa: fix InfoLog memleak, misc sync with master | Brian Paul | 2008-05-14 | 1 | -4/+8 |
| | |||||
* | Bug #13492: Only call ProgramStringNotify if program parsing succeeded. | Eric Anholt | 2008-05-14 | 1 | -2/+2 |
| | | | | | | Wine intentionally tries some out-of-spec programs to test strictness, and calling ProgramStringNotify on the results of a failed program parse resulted in crashes in the 965 driver. | ||||
* | fix swizzle error test (bug 11881) | Brian | 2008-05-14 | 1 | -2/+2 |
| | |||||
* | fix-up inlined/non-inlined function inconsistencies | Brian Paul | 2008-05-14 | 2 | -9/+9 |
| | | | | cherry-picked from master | ||||
* | mesa: rm unneeded file | Brian Paul | 2008-05-14 | 1 | -64/+0 |
| | |||||
* | mesa: prefix rm command with - | Brian Paul | 2008-05-14 | 1 | -1/+1 |
| | |||||
* | rewrite some of the mat*mat, mat*vec intrinsics | Brian Paul | 2008-05-14 | 3 | -567/+336 |
| | | | | | | Also, remove obsolete matrix codegen code. cherry-picked from master | ||||
* | mesa: regenerate slang built-in data (asin(vec4) fix) | Brian Paul | 2008-05-14 | 1 | -41/+42 |
| | |||||
* | mesa: fix missing w assignment in asin(vec4) | Brian Paul | 2008-05-14 | 1 | -0/+1 |
| | |||||
* | mesa: use CALLOC_STRUCT() | Brian Paul | 2008-05-14 | 1 | -2/+1 |
| | |||||
* | mesa: updated comment | Brian Paul | 2008-05-14 | 1 | -6/+3 |
| | |||||
* | mesa: minor bug fixes from master | Brian Paul | 2008-05-14 | 1 | -1/+11 |
| | |||||
* | mesa: dead code removal | Brian Paul | 2008-05-14 | 1 | -3/+0 |
| | |||||
* | mesa: minor bug fixes, null ptr checks, dead code removal | Brian Paul | 2008-05-14 | 1 | -11/+8 |
| | |||||
* | mesa: fix errors in LightModelProduct state, other misc error cases | Brian Paul | 2008-05-14 | 1 | -5/+11 |
| | |||||
* | mesa: glUniform(location==-1) is not an error | Brian Paul | 2008-05-14 | 1 | -0/+9 |
| | |||||
* | fix some additional program refcounting bugs | Brian Paul | 2008-05-14 | 3 | -9/+6 |
| | | | | cherry-picked from master | ||||
* | gallium: implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 5 | -47/+101 |
| | | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... | ||||
* | gallium: fix potential divide by zero in fog computation | Brian Paul | 2008-04-23 | 1 | -3/+5 |
| | | | | It's legal for Fog.Start == Fog.End and conformance testing does so. | ||||
* | mesa: added internal post color matrix scale/bias vars | Brian Paul | 2008-04-16 | 2 | -0/+14 |
| | |||||
* | fix GL_ARB_texture_rectangle breakage | Brian Paul | 2008-04-14 | 1 | -3/+3 |
| | |||||
* | mesa: define #extension GL_ARB_texture_rectangle | David Flynn | 2008-04-14 | 1 | -0/+4 |
| | |||||
* | mesa: call _mesa_remove_varying_reads() after compiling vertex shaders | Brian | 2008-04-07 | 1 | -0/+15 |
| | |||||
* | mesa: new _mesa_remove_varying_reads() function | Brian | 2008-04-07 | 2 | -2/+96 |
| | | | | | | | | We'll apply this function to GLSL vertex programs. In GLSL it's legal to read and write varying (output) vars in a vertex shader. But reading from an output register isn't supported by all hardware. This routine examines the vertex program for that condition and rewrites it to use temporary registers where needed. | ||||
* | mesa: added _mesa_insert_instructions() | Brian | 2008-04-07 | 2 | -10/+52 |
| | | | | Also, use new _mesa_free_instructions() in a few places. | ||||
* | mesa: added _mesa_free_instructions() | Brian | 2008-04-07 | 2 | -0/+20 |
| | |||||
* | mesa: no longer combine vertex/fragment shader parameters/uniforms | Brian | 2008-04-04 | 2 | -267/+233 |
| | | | | | | | GLSL Vertex and fragment shaders now have independent parameter buffers. A new gl_uniform_list is used to keep track of program uniforms and where each uniform is located in each shader's parameter buffer. This makes better use of the space in each buffer and simplifies shader linking. | ||||
* | mesa: new functions for managing list/index of uniforms | Brian | 2008-04-04 | 2 | -0/+248 |
| | |||||
* | gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders | Brian Paul | 2008-04-04 | 1 | -0/+2 |
| | | | | | Also, make sure that field is copied/updated in the program clone and combine functions. Without this we weren't getting SAMP declarations in the TGSI shaders. | ||||
* | fix parsing bug involving comments at the end of ARB v/f programs | Markus Amsler | 2008-03-31 | 2 | -6/+6 |
| | |||||
* | consolidate some parsing functions that were pretty much identical for ↵ | Brian | 2008-03-27 | 1 | -152/+71 |
| | | | | | | vertex/fragment programs cherry-picked from master | ||||
* | mesa: misc sync-up with master | Brian | 2008-03-27 | 1 | -3/+3 |
| | |||||
* | raise GL_INVALID_OPERATION if glProgramString compilation fails | Brian | 2008-03-27 | 1 | -1/+1 |
| | | | | cherry-picked from master | ||||
* | Fix the compile of disabled DEBUG_PARSING code. | Brian | 2008-03-27 | 1 | -1/+1 |
| | | | | cherry-picked from master | ||||
* | make sure state token values are fully initialized | Brian | 2008-03-27 | 1 | -1/+1 |
| | | | | cherry-picked from master | ||||
* | added program_error2() function for better error reporting | Brian | 2008-03-27 | 1 | -47/+60 |
| | | | | cherry-picked from master | ||||
* | Fix state.texgen parsing error (bug 12313). | Brian | 2008-03-27 | 1 | -5/+12 |
| | | | | | | Replace *(*inst++) with *(*inst)++ in a few places. Cherry-picked from master. | ||||
* | mesa: fix some issues in _mesa_combine_programs() | Brian Paul | 2008-03-25 | 1 | -2/+21 |
| | | | | | | Use a temporay register to connect outputs of first program to inputs of second program. Also, fix bug in replace_registers(): didn't search/replace DstReg. | ||||
* | mesa: append fog instructions after parsing if a fog option is set | Brian Paul | 2008-03-25 | 1 | -0/+11 |
| | | | | Drivers don't have to worry about it then. | ||||
* | mesa: when negating scalar src args, use NEGATE_XYZW, not NEGATE_X | Brian Paul | 2008-03-25 | 1 | -6/+6 |
| | | | | This makes things easier on the back-end when generating GPU code. |