Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: move all vertex array functions into varray.c | Brian Paul | 2010-05-25 | 2 | -273/+0 |
| | |||||
* | mesa: added _mesa_GetVertexAttribIiv / AttribIuiv() | Brian Paul | 2010-05-25 | 2 | -54/+146 |
| | | | | Refactor the code for all the glGetVertexAttrib() functions. | ||||
* | mesa: consolidate some glUniform code | Brian Paul | 2010-05-25 | 1 | -78/+29 |
| | |||||
* | mesa: support for unsigned int uniforms | Brian Paul | 2010-05-25 | 1 | -1/+55 |
| | |||||
* | glsl: silence unused var warnings | Brian Paul | 2010-05-24 | 2 | -0/+4 |
| | |||||
* | mesa: Handle FEATURE_es2_glsl differences at runtime too | Kristian Høgsberg | 2010-05-24 | 4 | -17/+31 |
| | | | | | | | Now that we can support different APIs at runtime, we need to check the context for the API we're currently providing as well. https://bugs.freedesktop.org/show_bug.cgi?id=28194 | ||||
* | mesa: more info in glUniform error messages | Brian Paul | 2010-05-14 | 1 | -4/+7 |
| | |||||
* | mesa: Remove no-op wrappers around trig functions. | Eric Anholt | 2010-05-13 | 1 | -4/+4 |
| | |||||
* | mesa: Remove _mesa_pow(), which is always just pow(). | Eric Anholt | 2010-05-13 | 1 | -4/+4 |
| | |||||
* | mesa: Make FEATURE_ATI_fragment_shader more modular. | Chia-I Wu | 2010-05-12 | 2 | -1/+52 |
| | | | | | | This allows atifragshader.h to be used without knowing if FEATURE_ATI_fragment_shader is enabled. As a result, atifragshader.c is removed from the omit list in ES overlay. | ||||
* | mesa: more transform feedback infrastructure | Brian Paul | 2010-05-10 | 1 | -2/+6 |
| | | | | | Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects. | ||||
* | glsl: change variable declared assertion into conditional | Brian Paul | 2010-05-03 | 2 | -3/+2 |
| | | | | | | | | | The slang_variable::declared field originated as a debug field but can be promoted for use during sematic error checking. Fixes fd.o bug 27921. NOTE: this is a candidate for back-porting to the 7.8 stable branch. | ||||
* | glsl: s/sprintf/_mesa_snprintf/ | Vinson Lee | 2010-05-01 | 7 | -29/+29 |
| | |||||
* | mesa: Don't overwrite a driver's shader infolog with generic failure message. | Eric Anholt | 2010-04-29 | 1 | -1/+4 |
| | |||||
* | mesa: Eliminate multiple va_list usage. | José Fonseca | 2010-04-24 | 2 | -6/+8 |
| | | | | | | | va_list is a mutable iterator. When passed to a function it will likely point to somewhere else. This fixes segmentation fault in glean vertProg1 on Ubuntu 9.10. | ||||
* | mesa: Restore comment too. | José Fonseca | 2010-04-18 | 2 | -2/+2 |
| | |||||
* | glsl: Fix handling of OPCODE_PRINT for no registers case. | Vinson Lee | 2010-04-18 | 2 | -2/+2 |
| | | | | | | | | | A register file value is unsigned so could never be -1. A value of 0 also aliased to PROGRAM_TEMPORARY. If an OPCODE_PRINT has no registers to print, set the register file value to PROGRAM_UNDEFINED and check for that value when executing this instruction. | ||||
* | Merge branch '7.8' | Brian Paul | 2010-04-09 | 1 | -2/+2 |
|\ | |||||
| * | mesa: fix instruction indexing bugs | Brian Paul | 2010-04-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | We were looping over instructions but only looking at the 0th instruction's opcode. Fixes fd.o bug 27566. | ||||
* | | glsl: fix bad return value in link_transform_feedback() | Brian Paul | 2010-04-01 | 1 | -1/+1 |
| | | |||||
* | | glsl: remove obsolete comment | Brian Paul | 2010-04-01 | 1 | -1/+0 |
| | | |||||
* | | glsl: do extra link checking for transform feedback | Brian Paul | 2010-04-01 | 1 | -3/+83 |
| | | |||||
* | | glsl: append built-in, used varying vars to the varying vars list | Brian Paul | 2010-04-01 | 1 | -0/+27 |
| | | |||||
* | | mesa: make _mesa_copy_string() non-static | Brian Paul | 2010-04-01 | 2 | -7/+25 |
| | | |||||
* | | glsl: pass datatype to _mesa_add_varying() | Brian Paul | 2010-04-01 | 4 | -5/+7 |
| | | | | | | | | Will be needed later for transform feedback support. | ||||
* | | glsl: add more vertex/fragment output info helpers | Brian Paul | 2010-04-01 | 2 | -13/+64 |
| | | |||||
* | | mesa: add transform feedback queries | Brian Paul | 2010-03-30 | 2 | -7/+53 |
| | | | | | | | | And make _mesa_copy_string() non-static. | ||||
* | | glsl: avoid using rcp in length() functions | Brian Paul | 2010-03-29 | 1 | -3/+3 |
| | | | | | | | | See prev commit for related info. | ||||
* | | glsl: remove rcp from sqrt() | Brian Paul | 2010-03-29 | 1 | -10/+4 |
|/ | | | | | | | Per a patch from Marek Olšák, we can simply multiply the incoming value by 1/sqrt(x) instead of using rcp. We're keeping the x==0 check to avoid generating NaN for sqrt(0). | ||||
* | Replace _mesa_strtod with _mesa_strtof. | Marcin Baczyński | 2010-03-15 | 4 | -11/+11 |
| | | | | Reviewed-by: Ian Romanick <[email protected]> | ||||
* | Grammar and spelling fixes | Jeff Smith | 2010-03-12 | 3 | -4/+4 |
| | | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | ARB prog parser: added (float) casts and regenerate files | Brian Paul | 2010-03-11 | 2 | -30/+16 |
| | |||||
* | Revert "mesa: Remove pointless comparison of unsigned integer with a ↵ | Vinson Lee | 2010-03-04 | 1 | -4/+9 |
| | | | | | | | | | | | | | | negative constant." This reverts commit a05fdbcb719ac64e6be842372813f0f4ca2f4f93. Removing the comparison is wrong. The comparison with -1 should be changed to another value (probably PROGRAM_UNDEFINED) along with another change in the shader assembler. Conflicts: src/mesa/shader/prog_execute.c | ||||
* | glsl: Remove unsigned greater than or equal zero comparison. | Vinson Lee | 2010-03-04 | 1 | -1/+1 |
| | |||||
* | glsl: Remove unsigned greater than or equal zero comparison. | Vinson Lee | 2010-03-04 | 1 | -1/+1 |
| | |||||
* | glsl: Return NULL on _slan_gen_asm error path on non-debug builds. | Vinson Lee | 2010-03-04 | 1 | -0/+1 |
| | | | | | Exit the function early on the error path, instead of continuing, to prevent a null pointer dereference later on. | ||||
* | glsl: Add assert to check input to strcmp. | Vinson Lee | 2010-03-04 | 1 | -0/+1 |
| | |||||
* | glsl: Add assert to check input to strcmp. | Vinson Lee | 2010-03-02 | 1 | -0/+1 |
| | |||||
* | glsl: Move assert from outside to inside of _slang_gen_swizzle function. | Vinson Lee | 2010-02-27 | 1 | -1/+1 |
| | |||||
* | glsl: Assert input to strcmp is not null. | Vinson Lee | 2010-02-27 | 1 | -0/+1 |
| | |||||
* | glsl: Assert pointer is not null before dereferencing. | Vinson Lee | 2010-02-27 | 1 | -0/+1 |
| | |||||
* | glsl: implement support for GL_EXT_texture_array | Brian Paul | 2010-02-25 | 9 | -83/+246 |
| | | | | | | | | GL_EXT_texture_array is different from the existing GL_MESA_texture_array support in that the former is only supported for GLSL, not fixed-function. The shadow compare versions of the sampler functions haven't been tested yet. The non-shadow versions have been tested with a new piglit test. | ||||
* | mesa: added texture array targets in sizeof_glsl_type() | Brian Paul | 2010-02-25 | 1 | -0/+4 |
| | |||||
* | mesa: added cases for texture array targets | Brian Paul | 2010-02-25 | 1 | -0/+2 |
| | |||||
* | mesa: Move src/mesa/glapi/dispatch.h to mesa. | Chia-I Wu | 2010-02-25 | 1 | -1/+1 |
| | | | | | | glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table. | ||||
* | mesa: Silence compiler format warning. | Vinson Lee | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | mesa: fix snprintf() typo | Brian Paul | 2010-02-19 | 2 | -4/+4 |
| | |||||
* | mesa: restore _mesa_snprintf() - it's needed for Windows | Brian Paul | 2010-02-19 | 8 | -22/+22 |
| | | | | This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2 | ||||
* | mesa: casts to silence new warnings from printf() | Brian Paul | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | mesa: remove abs/negate from fetch_vector1ui() | Brian Paul | 2010-02-19 | 1 | -14/+1 |
| | | | | | | This function is only used for the NV unpack instructions. Negate/abs make no sense and removing the code fixes Windows compiler warnings. Found by Karl Schultz. |