Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-03 | glsl: change variable declared assertion into conditional | Brian Paul | |
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. | |||
2010-05-01 | glsl: s/sprintf/_mesa_snprintf/ | Vinson Lee | |
2010-04-29 | mesa: Don't overwrite a driver's shader infolog with generic failure message. | Eric Anholt | |
2010-04-01 | glsl: fix bad return value in link_transform_feedback() | Brian Paul | |
2010-04-01 | glsl: remove obsolete comment | Brian Paul | |
2010-04-01 | glsl: do extra link checking for transform feedback | Brian Paul | |
2010-04-01 | glsl: append built-in, used varying vars to the varying vars list | Brian Paul | |
2010-04-01 | glsl: pass datatype to _mesa_add_varying() | Brian Paul | |
Will be needed later for transform feedback support. | |||
2010-04-01 | glsl: add more vertex/fragment output info helpers | Brian Paul | |
2010-03-29 | glsl: avoid using rcp in length() functions | Brian Paul | |
See prev commit for related info. | |||
2010-03-29 | glsl: remove rcp from sqrt() | Brian Paul | |
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). | |||
2010-03-15 | Replace _mesa_strtod with _mesa_strtof. | Marcin Baczyński | |
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-12 | Grammar and spelling fixes | Jeff Smith | |
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-03-04 | glsl: Remove unsigned greater than or equal zero comparison. | Vinson Lee | |
2010-03-04 | glsl: Remove unsigned greater than or equal zero comparison. | Vinson Lee | |
2010-03-04 | glsl: Return NULL on _slan_gen_asm error path on non-debug builds. | Vinson Lee | |
Exit the function early on the error path, instead of continuing, to prevent a null pointer dereference later on. | |||
2010-03-04 | glsl: Add assert to check input to strcmp. | Vinson Lee | |
2010-03-02 | glsl: Add assert to check input to strcmp. | Vinson Lee | |
2010-02-27 | glsl: Move assert from outside to inside of _slang_gen_swizzle function. | Vinson Lee | |
2010-02-27 | glsl: Assert input to strcmp is not null. | Vinson Lee | |
2010-02-27 | glsl: Assert pointer is not null before dereferencing. | Vinson Lee | |
2010-02-25 | glsl: implement support for GL_EXT_texture_array | Brian Paul | |
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. | |||
2010-02-19 | mesa: restore _mesa_snprintf() - it's needed for Windows | Brian Paul | |
This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2 | |||
2010-02-19 | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | |
2010-02-19 | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | |
2010-02-19 | mesa: replace _mesa_bzero() with memset() | Brian Paul | |
2010-02-19 | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | |
This may break the SUNOS4 build, but it's no longer relevant. | |||
2010-02-19 | Remove _mesa_strncmp in favor of plain strncmp. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strcmp in favor of plain strcmp. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strlen in favor of plain strlen. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strcpy in favor of plain strcpy. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strstr in favor of plain strstr. | Kenneth Graunke | |
2010-02-17 | glsl: Silence unused value warning. | Vinson Lee | |
2010-02-14 | glsl: use new program cloning functions | Brian Paul | |
2010-02-13 | mesa: Fix compiler warnings | Karl Schultz | |
Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio. | |||
2010-02-13 | glsl: implement layout qualifiers | Brian Paul | |
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. | |||
2010-02-13 | glsl: added type layout field and new type compare func | Brian Paul | |
Note: because of a weird dependency checking bug, a 'make clean' may be needed before recompiling. | |||
2010-02-10 | scons: User friendly message for code generated files | José Fonseca | |
2010-02-10 | Simplify GLSL extension mechanism. | Michal Krol | |
Since extension name and extension name string are the same, collapse them into one name. | |||
2010-02-10 | glsl: GLSL extensions have the GL_ prefix | Brian Paul | |
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. | |||
2010-02-04 | mesa: change ctx->Driver.ProgramStringNotify() to return GLboolean | Brian Paul | |
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. | |||
2010-01-27 | mesa: fix double->float assignment warnings, int/uint comparison warnings | Brian Paul | |
Reported by Karl Schultz. | |||
2010-01-22 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
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 | |||
2010-01-16 | glsl: Remove unnecessary header from slang_emit.c. | Vinson Lee | |
2010-01-16 | glsl: Remove unnecessary header from slang_builtin.c. | Vinson Lee | |
2010-01-16 | glsl: Remove unnecessary headers from slang_compile.c. | Vinson Lee | |
2010-01-16 | glsl: Remove unnecessary header from slang_link.c. | Vinson Lee | |
2010-01-16 | glsl: Remove unnecessary header from slang_log.c. | Vinson Lee | |
2010-01-04 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
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 | |||
2010-01-04 | glsl: use varName variable in _slang_gen_assignment() | Brian Paul | |