summaryrefslogtreecommitdiff
path: root/src/mesa/program
AgeCommit message (Collapse)Author
2010-07-30ir_to_mesa: Add the function name as a comment to BGNSUB and ENDSUB.Eric Anholt
2010-07-29ir_to_mesa: Don't emit a duplicate return at the end of a function.Eric Anholt
It was harmless, but ugly.
2010-07-28ir_to_mesa: Respect the driver if it rejects a shader.Eric Anholt
2010-07-28glsl2: Add support for redeclaring layout of gl_FragCoord for ARB_fcc.Eric Anholt
Fixes: glsl-arb-fragment-coord-conventions
2010-07-28ir_to_mesa: Add remaining state variable (builtin uniforms) support.Eric Anholt
Fixes: glsl1-GL state variable reference (diffuse product) glsl1-GL state variable reference (gl_FrontMaterial.ambient) glsl1-GL state variable reference (gl_LightSource[0].diffuse) glsl1-GL state variable reference (point attenuation) glsl1-GL state variable reference (point size) glsl1-linear fog
2010-07-27ir_to_mesa: Provide a restricted type size to _mesa_add_uniform.Eric Anholt
Fixes: glsl-uniform-out-of-bounds.
2010-07-27ir_to_mesa: Add support for array constants.Eric Anholt
Fixes: glsl1-GLSL 1.20 array constructor 1 glsl1-GLSL 1.20 array constructor 2 glsl1-GLSL 1.20 array.length() glsl1-GLSL 1.20 const array constructor 1 glsl1-GLSL 1.20 const array constructor 2
2010-07-27glsl2: Make the dead code handler make its own talloc context.Eric Anholt
This way, we don't need to pass in a parse state, and the context doesn't grow with the number of passes through optimization.
2010-07-27mesa: Allow large temporary indices coming into the temporary reg allocator.Eric Anholt
This gets glsl-vs-raytrace, glsl-fs-raytrace running on the new compiler.
2010-07-27ir_to_mesa: Set the swizzle on constant struct src regs.Eric Anholt
MESA_GLSL=nopt now produces believable output for glsl-fs-raytrace.
2010-07-27ir_to_mesa: Fix stray "break" that broke functions of >1 argument.Eric Anholt
2010-07-27glsl2: Add optimization pass for algebraic simplifications.Eric Anholt
This cleans up the assembly output of almost all the non-logic tests glsl-algebraic-*. glsl-algebraic-pow-two needs love (basically, flattening to a temporary and squaring it).
2010-07-26ir_to_mesa: Fix up handling of void function returns.Eric Anholt
void functions have a type of glsl_type::void_type, not a null type.
2010-07-26ir_to_mesa: Actually allocate the right size for constant matrix temps.Eric Anholt
2010-07-26ir_to_mesa: Add support for structure constants.Eric Anholt
Fixes: TPPStreamCompiler::assignOperands
2010-07-26Merge remote branch 'origin/master' into glsl2Eric Anholt
This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h
2010-07-21Regenerate program/lex.yy.cCarl Worth
Based on the two recent changes to program_lexer.l.
2010-07-21Avoid more warnings in flex-generated code.Carl Worth
This avoids two "function defined but not used" warnings. For the yyinput function we define YY_NO_INPUT which tells flex to simply not generate this function. For unput, we add a call to this function, but inside a while(0) so that it will quiet the warning without actually changing any functionality.
2010-07-21Avoid warnings in flex-generated code.Carl Worth
Add declarations for two functions generated in the flex ouput. It would be nicer if flex simply declared these generated functions as static, but for now we can at least avoid the warning this way.
2010-07-13mesa: add comments and change Index2D to just Index2Zack Rusin
2010-07-10mesa: make uniform work with geometry shadersZack Rusin
2010-07-09mesa: add basic support for 2D register arrays to mesaZack Rusin
just like in Gallium it's a basic functionality needed by a lot of modern graphcis extensions
2010-07-02mesa: updated instruction commentsBrian Paul
2010-07-02mesa: Silence warning.José Fonseca
2010-06-28mesa: initial support for ARB_geometry_shader4Zack Rusin
laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul