Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-07-03 | mesa: fix array storage allocation bug | Brian Paul | |
2008-07-01 | mesa: fix a GLSL vector subscript/writemask bug | Brian Paul | |
This fixes a failure for cases like: vec4 v; v[1] *= 2.0; The v[1] actually acts like a writemask, equivalent to v.y The fix is a bit convoluted, but will do for now. | |||
2008-07-01 | mesa: move some functions | Brian Paul | |
2008-07-01 | mesa: better function inlining in the presence of 'return' statements | Brian Paul | |
Before, the presence of a 'return' statement always prevented inlining a function. This was because we didn't want to accidentally return from the _calling_ function. We still need the semantic of 'return' when inlining but we can't always use unconditional branches/jumps (GPUs don't always support arbitrary branching). Now, we allow inlining functions w/ return if the return is the last statement in the function. This fixes the common case of a function that returns a value, such as: vec4 square(const in vec4 x) { return x * x; } which effectively compiles into: vec4 square(const in vec4 x) { __retVal = x * x; return; } The 'return' can be no-op'd now and we can inline the function. | |||
2008-05-20 | fix incorrect sampler numbering/indexing. | Brian Paul | |
All samplers indexes were zero. | |||
2008-05-16 | fix assertion typo: s/=/==/ | Brian Paul | |
2008-05-14 | Updated GLSL uniform/sampler handling from gallium-0.1 branch | Brian Paul | |
Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch | |||
2008-04-03 | rewrite some of the mat*mat, mat*vec intrinsics | Brian | |
Also, remove obsolete matrix codegen code. | |||
2007-12-04 | Fix gl_FrontFacing compilation problem | Brian | |
2007-10-26 | Merge branch '965-glsl' | Zou Nan hai | |
Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c | |||
2007-10-24 | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | |
Contains the normalized fragment position within a point sprite. | |||
2007-07-31 | fix failure caused by undeclared variable (bug 11783) | Brian | |
2007-07-26 | fix-up inlined/non-inlined function inconsistencies | Brian | |
2007-07-26 | Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion. | Brian | |
2007-07-26 | generate error upon writing to varying var in fragment program (bug 11733) | Brian | |
2007-07-17 | Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa ↵ | Zou Nan hai | |
into 965-glsl | |||
2007-07-12 | fix swizzle-related bug 11534 | Brian | |
2007-07-04 | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | |
of -I flags. | |||
2007-07-04 | Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa ↵ | Zou Nan hai | |
into 965-glsl | |||
2007-07-03 | add code for stpq, rgba writemasks in make_writemask(), bug 11404 | Brian | |
2007-05-14 | comment about fixing uniform structs | Brian | |
2007-05-11 | user-declared uniform structs not supported yet (see bug 10908) | Brian | |
2007-05-01 | Rewrite of slang_inline_asm_function() to do full parameter/argument ↵ | Brian | |
substitution. We had been taking a short-cut w/ asm inlines by just using parameters in order rather than doing full formal parameter -> actual argument substitution like ordinary inlined function calls. This worked in all cases but one: mix() in which the parameters were used in a different order. This fixes bug 10821. | |||
2007-04-24 | fix double const, move an assertion | Karl Schultze | |
2007-04-21 | Remove all the USE_MEMPOOL debug code. | Brian | |
2007-04-21 | Use new memory pool allocator. Lots of debug code still in place... | Brian | |
2007-04-19 | remove invalid assertion | Brian | |
2007-04-19 | fix crash when program has invalid structure field | Brian | |
2007-04-18 | fix an uninitialized variable and a warning | Brian | |
2007-04-18 | record proper datatypes for uniforms/samplers | Brian | |
2007-04-18 | Start fixing some issues with uniform variables and their types. | Brian | |
2007-04-12 | Added sanity checking in _slang_sizeof_type_specifier() to be sure sizes are ↵ | Brian | |
what's expected. | |||
2007-04-12 | Initial 965 GLSL support | Zou Nan hai | |
2007-04-10 | fix/work-around allocation bugs for non-square matrices | Brian | |
2007-04-09 | NULL ptr check | Brian | |
2007-04-08 | support for GLSL 1.20 non-square matrices | Brian | |
2007-03-31 | fix scoping mistake in previous commit that checked for writable LHSs | Brian | |
2007-03-30 | check that LHS of assignment is writable | Brian | |
2007-03-28 | Handle logical NOT and XOR without library functions. Results in much ↵ | Brian | |
tighter code. | |||
2007-03-28 | don't generate IR_BREAK_IF_FALSE | Brian | |
2007-03-28 | simplify, clean-up break/cont code | Brian | |
2007-03-28 | added missing returns after slang_info_log_error() calls | Brian | |
2007-03-28 | check that if/while/do-while condition is boolean or scalar | Brian | |
2007-03-27 | Implement true CAL/RET subroutines. Some optimizations, clean-ups coming... | Brian | |
2007-03-26 | Checkpoint: implementing true CAL/RET instructions for subroutine calls. | Brian | |
Also, found/fixed a code generation regression: the emit_swizzle() function was always returning NULL. This caused emit_move() to miss its chance at peephole optimization. | |||
2007-03-26 | Get rid of SLANG_OPER_GOTO, start rewrite of 'return' handling. | Brian | |
2007-03-26 | remove debug abort() calls | Brian | |
2007-03-26 | Additional error checking for 'return' statements. | Brian | |
2007-03-26 | dead code elimination for constant-valued if/then/else | Brian | |
2007-03-26 | Fix a few issues with computing storage sizes with respect to swizzles. | Brian | |