Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: choose GLSL vertex shader over ARB/internal vertex program in ↵ | Brian Paul | 2008-12-17 | 1 | -1/+13 |
| | | | | | | | | | | | get_fp_input_mask() This is a work-around the for the fact that we do fragment shader state validation before vertex shader validation (see comments in state.c) so in get_fp_input_mask() we can't rely on ctx->VertexProgram._Current being up to date yet. This fixes a glean glsl1 test failure. | ||||
* | mesa: fix fixed-function test in get_fp_input_mask() - again. | Brian Paul | 2008-12-17 | 1 | -3/+5 |
| | | | | | | The problem we're solving only occured when there was a user-defined vertex shader but no fragment shader. Check for that case now. Fixes glean api2 vertex array failure. | ||||
* | mesa: add missing cases for texture array targets | Brian Paul | 2008-12-17 | 1 | -6/+10 |
| | |||||
* | Revert "mesa: fix vertex program test in get_fp_input_mask()" | Brian Paul | 2008-12-17 | 1 | -1/+3 |
| | | | | This reverts commit cdaaf8e107010624bed4abdf9553c0ef63c8b708. | ||||
* | mesa: fix vertex program test in get_fp_input_mask() | Brian Paul | 2008-12-17 | 1 | -3/+1 |
| | | | | | We were accidentally using the fixed-function logic when a vertex shader was being used. | ||||
* | mesa: restore the negate flag of dots in build_lighting. | Xiang, Haihao | 2008-11-11 | 1 | -0/+3 |
| | | | | | Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light. | ||||
* | mesa: use _bfc0 instead of _col0 when building back face lighting. | Brian Paul | 2008-11-07 | 1 | -3/+2 |
| | | | | cherry-picked from master: 4550b0562d5b59890fccb0e7eb0dbef967d1ccf9 | ||||
* | mesa: additional debug flags for glsl debug/disassembly | Brian Paul | 2008-11-01 | 2 | -30/+28 |
| | |||||
* | mesa: note that texcoords are generated by setup routines when pointsprite ↵ | Keith Whitwell | 2008-10-20 | 1 | -0/+12 |
| | | | | enabled | ||||
* | mesa: modify fixed function vertex programs not to reference constant attributes | Keith Whitwell | 2008-10-14 | 2 | -30/+41 |
| | |||||
* | mesa: new _mesa_set_vp_override() function for driver-override of vertex program | Brian Paul | 2008-10-10 | 4 | -11/+51 |
| | | | | | | | | Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions. | ||||
* | mesa: replace GLuint with GLbitfield to be clearer about usage | Brian Paul | 2008-10-07 | 4 | -17/+19 |
| | | | | Also, fix up some comments to be doxygen style. | ||||
* | mesa: protect against segfault in get_fp_input_mask() | Keith Whitwell | 2008-10-07 | 1 | -1/+4 |
| | |||||
* | mesa: fix convolve/convolution mix-ups | Brian | 2008-10-06 | 2 | -3/+3 |
| | |||||
* | mesa: add missing GLcontext param to _mesa_delete_query(). | Brian Paul | 2008-10-06 | 2 | -2/+2 |
| | | | | Fixes vtk crash and others. | ||||
* | mesa: handle vertex program enabled case also in texenvprogram.c | Keith Whitwell | 2008-10-04 | 1 | -5/+4 |
| | |||||
* | mesa: avoid generating constant vertex attributes in fixedfunc programs | Keith Whitwell | 2008-10-03 | 4 | -6/+131 |
| | | | | | | | | | | | | Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession. | ||||
* | mesa: add new internal state for tracking current vertex attribs | Keith Whitwell | 2008-10-03 | 2 | -0/+5 |
| | |||||
* | mesa: shrink texenvprogram state key struct | Keith Whitwell | 2008-10-03 | 1 | -5/+7 |
| | |||||
* | mesa: fix temp register allocation problems. | Brian Paul | 2008-09-26 | 1 | -0/+15 |
| | | | | Complex texcombine modes were running out of registers (>32 registers for 8 tex units). | ||||
* | mesa: fix/simplify initialization of vertex/fragment program limits | Brian Paul | 2008-09-25 | 2 | -30/+27 |
| | | | | | | Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed. | ||||
* | mesa: increase MAX_INSTRUCTIONS | Brian Paul | 2008-09-25 | 1 | -4/+2 |
| | |||||
* | mesa: fix swizzle failure, fix typo | Brian Paul | 2008-09-25 | 1 | -3/+5 |
| | |||||
* | mesa: fix default buffer object access value | Brian Paul | 2008-09-25 | 1 | -2/+9 |
| | |||||
* | mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵ | Brian Paul | 2008-09-17 | 1 | -1/+4 |
| | | | | point coord | ||||
* | mesa: rework GLSL vertex attribute binding | Brian Paul | 2008-09-16 | 1 | -1/+3 |
| | | | | | | | Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings. | ||||
* | mesa: fix MSAA enable state in update_multisample() | Brian Paul | 2008-09-15 | 1 | -4/+4 |
| | |||||
* | mesa: remove some assertions that are invalid during context tear-down | Brian Paul | 2008-09-15 | 1 | -1/+4 |
| | |||||
* | mesa: get another class of degenerate dlists working | Keith Whitwell | 2008-09-15 | 1 | -2/+5 |
| | | | | Primitive begin in one dlist, end in another. | ||||
* | mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib() | Brian Paul | 2008-09-05 | 1 | -1/+1 |
| | |||||
* | mesa: improved gl_buffer_object reference counting | Brian Paul | 2008-09-04 | 5 | -160/+172 |
| | | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView. | ||||
* | mesa: Silence compiler warnings on Windows. | Michal Krol | 2008-09-04 | 1 | -1/+1 |
| | |||||
* | mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24 | Xiang, Haihao | 2008-09-04 | 1 | -2/+2 |
| | | | | Cherry-picked from master | ||||
* | fix BUFFER_DEPTH/BUFFER_ACCUM mix-up | Brian Paul | 2008-09-02 | 1 | -6/+6 |
| | |||||
* | mesa: use CALLOC instead of MALLOC to fix valgrind warning | Brian Paul | 2008-09-01 | 1 | -1/+1 |
| | |||||
* | mesa: remove debug code | Brian Paul | 2008-08-28 | 1 | -2/+0 |
| | |||||
* | mesa: dynamically grow the fixed function vertex program as needed | Brian Paul | 2008-08-28 | 1 | -10/+46 |
| | | | | | Don't use a fixed-size array. Saves memory in most cases and avoids potential overflow for long programs. | ||||
* | mesa: bump MAX_INSN to 300 | Brian Paul | 2008-08-28 | 1 | -1/+1 |
| | |||||
* | mesa: allow for extra per-context init | Brian Paul | 2008-08-19 | 3 | -4/+7 |
| | |||||
* | mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug ↵ | Brian Paul | 2008-08-18 | 1 | -42/+59 |
| | | | | | | 17173 Also, move GL_TEXTURE_RECTANGLE init code into separate function. | ||||
* | mesa: texture crop rect state | Brian Paul | 2008-08-12 | 3 | -1/+35 |
| | |||||
* | mesa: set point state | Brian Paul | 2008-08-12 | 1 | -0/+4 |
| | |||||
* | mesa: fix some feature tests | Brian Paul | 2008-08-08 | 2 | -6/+2 |
| | |||||
* | mesa: fix some pixel transfer state tests for depth formats | Brian Paul | 2008-08-08 | 1 | -5/+9 |
| | |||||
* | mesa: fix out-of-bounds memory reads in swizzle_copy() | Brian Paul | 2008-08-08 | 1 | -29/+89 |
| | |||||
* | mesa: fix glBindTexture comment/error string | Brian Paul | 2008-08-07 | 1 | -2/+2 |
| | |||||
* | fix some FBO/texture queries (bug 15296) | Brian Paul | 2008-08-06 | 1 | -2/+12 |
| | |||||
* | added null ptr check (fix bug 16959) | Brian Paul | 2008-08-03 | 1 | -1/+2 |
| | |||||
* | mesa: fix issues causing warnings on Windows | Brian Paul | 2008-07-25 | 1 | -7/+4 |
| | |||||
* | mesa: Mark as XXX unresolved warnings on windows. | Michal Krol | 2008-07-25 | 1 | -0/+5 |
| |