Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
| | |||||
* | glsl: pass datatype to _mesa_add_varying() | Brian Paul | 2010-04-01 | 2 | -2/+2 |
| | | | | Will be needed later for transform feedback support. | ||||
* | glsl: add more vertex/fragment output info helpers | Brian Paul | 2010-04-01 | 2 | -13/+64 |
| | |||||
* | 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 | 1 | -2/+2 |
| | | | | Reviewed-by: Ian Romanick <[email protected]> | ||||
* | Grammar and spelling fixes | Jeff Smith | 2010-03-12 | 1 | -1/+1 |
| | | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | 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: restore _mesa_snprintf() - it's needed for Windows | Brian Paul | 2010-02-19 | 3 | -5/+5 |
| | | | | This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2 | ||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 6 | -22/+22 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 9 | -32/+32 |
| | |||||
* | mesa: replace _mesa_bzero() with memset() | Brian Paul | 2010-02-19 | 2 | -3/+3 |
| | |||||
* | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | 2010-02-19 | 4 | -7/+7 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | Remove _mesa_strncmp in favor of plain strncmp. | Kenneth Graunke | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | Remove _mesa_strcmp in favor of plain strcmp. | Kenneth Graunke | 2010-02-19 | 4 | -8/+7 |
| | |||||
* | Remove _mesa_strlen in favor of plain strlen. | Kenneth Graunke | 2010-02-19 | 7 | -11/+11 |
| | |||||
* | Remove _mesa_strcpy in favor of plain strcpy. | Kenneth Graunke | 2010-02-19 | 3 | -3/+3 |
| | |||||
* | Remove _mesa_strstr in favor of plain strstr. | Kenneth Graunke | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | glsl: Silence unused value warning. | Vinson Lee | 2010-02-17 | 1 | -0/+2 |
| | |||||
* | glsl: use new program cloning functions | Brian Paul | 2010-02-14 | 1 | -2/+2 |
| | |||||
* | mesa: Fix compiler warnings | Karl Schultz | 2010-02-13 | 2 | -2/+2 |
| | | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio. | ||||
* | glsl: implement layout qualifiers | Brian Paul | 2010-02-13 | 1 | -19/+110 |
| | | | | | | | | | | | | | For GL_ARB_fragment_coord_conventions. This only applies to gl_FragCoord and controls pixel center origin and pixel center integer. For example: layout (origin_upper_left, pixel_center_integer) varying vec4 gl_FragCoord; This features introduces the idea of re-declaring variables with a changed type. This may also apply to arrays in some cases but that's not implemented at this time. | ||||
* | glsl: added type layout field and new type compare func | Brian Paul | 2010-02-13 | 2 | -2/+45 |
| | | | | | Note: because of a weird dependency checking bug, a 'make clean' may be needed before recompiling. | ||||
* | scons: User friendly message for code generated files | José Fonseca | 2010-02-10 | 1 | -2/+2 |
| | |||||
* | Simplify GLSL extension mechanism. | Michal Krol | 2010-02-10 | 1 | -2/+2 |
| | | | | | Since extension name and extension name string are the same, collapse them into one name. | ||||
* | glsl: GLSL extensions have the GL_ prefix | Brian Paul | 2010-02-10 | 1 | -2/+2 |
| | | | | | | | | | Both the #extension directive name and the preprocessor symbol start with the GL_ prefix. For example: ... New glean/glsl1 tests have been added to test the #extension feature. | ||||
* | mesa: change ctx->Driver.ProgramStringNotify() to return GLboolean | Brian Paul | 2010-02-04 | 1 | -5/+12 |
| | | | | | | | | | | | | | GL_TRUE indicates that the driver accepts the program. GL_FALSE indicates the program can't be compiled/translated by the driver for some reason (too many resources used, etc). Propogate this result up to the GL API: set GL_INVALID_OPERATION error if glProgramString() was called. Set shader program link status to GL_FALSE if glLinkProgram() was called. At this point, drivers still don't do any program checking and always return GL_TRUE. | ||||
* | mesa: fix double->float assignment warnings, int/uint comparison warnings | Brian Paul | 2010-01-27 | 1 | -1/+1 |
| | | | | Reported by Karl Schultz. | ||||
* | Merge branch 'mesa_7_7_branch' | Brian Paul | 2010-01-22 | 5 | -7/+0 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c | ||||
| * | glsl: Remove unnecessary header from slang_emit.c. | Vinson Lee | 2010-01-16 | 1 | -1/+0 |
| | | |||||
| * | glsl: Remove unnecessary header from slang_builtin.c. | Vinson Lee | 2010-01-16 | 1 | -1/+0 |
| | | |||||
| * | glsl: Remove unnecessary headers from slang_compile.c. | Vinson Lee | 2010-01-16 | 1 | -3/+0 |
| | | |||||
| * | glsl: Remove unnecessary header from slang_link.c. | Vinson Lee | 2010-01-16 | 1 | -1/+0 |
| | | |||||
| * | glsl: Remove unnecessary header from slang_log.c. | Vinson Lee | 2010-01-16 | 1 | -1/+0 |
| | | |||||
* | | Merge branch 'mesa_7_7_branch' | Brian Paul | 2010-01-04 | 1 | -3/+4 |
|\| | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c | ||||
| * | glsl: use varName variable in _slang_gen_assignment() | Brian Paul | 2010-01-04 | 1 | -3/+4 |
| | |