Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-06 | mesa: updated comment | Brian Paul | |
(cherry picked from commit d9fa9e3290611944d5fd52301645367eeeb24f03) | |||
2009-01-06 | mesa: fix merge conflict left-overs | Brian Paul | |
2009-01-06 | mesa: no longer need Writemask field in GLSL IR nodes | Brian Paul | |
The Swizzle and Size fields carry all the info we need now. (cherry picked from commit 80d6379722a1249ce13db79a898d340644936f67) | |||
2009-01-06 | mesa: revamp GLSL instruction emit code | Brian Paul | |
This is a step toward better array handling code. In particular, when more than one operand of an instruction uses indirect addressing, we'll need some temporary instructions and registers. By converting IR storage to instruction operands all in one place (emit_instruction()) we can be smarter about this. Also, somewhat better handling of dst register swizzle/writemask handling. This results in tighter writemasks on some instructions which is good for SOA execution. And, cleaner instruction commenting with inst_comment(). Next: remove some more dead code and additional clean-ups... (cherry picked from commit 3a7ed9779b159f9dccbc98d1d556be2cd83cc1fd) | |||
2009-01-06 | mesa: make writemask_string() non-static | Brian Paul | |
(cherry picked from commit 610c2461ce0683ca5412e4b2b7a496f67e9d3704) Conflicts: src/mesa/shader/prog_print.c | |||
2009-01-06 | mesa: remove some do-nothing GLSL code | Brian Paul | |
(cherry picked from commit 4c167f8fc1e56b6c82d8917c237e70531e3d57b9) | |||
2009-01-06 | mesa: fix accidental regression in GLSL built-in texture matrix lookup | Brian Paul | |
Was broken by commit 9aca9a4b72b2a7b378e50bd88f9c3324d07375ec. (cherry picked from commit fe984aed5a9ee7c6e000d48a0a584b964fefa848) Conflicts: src/mesa/shader/slang/slang_builtin.c | |||
2009-01-06 | mesa: remove unused/obsolete __NormalMatrixTranspose matrix | Brian Paul | |
(cherry picked from commit e556cc82f83716a734ed9d76356ba49bb670004f) | |||
2009-01-06 | mesa: tweak program register printing for RelAddr case | Brian Paul | |
(cherry picked from commit 557fde9531289b4388a3080b89c2ebaa38abeaee) | |||
2009-01-06 | mesa: allow relative indexing into all register files and indirect dst ↵ | Brian Paul | |
register indexing (cherry picked from commit f4361540f8dd3016571523863b33481cba7a0c07) Conflicts: src/mesa/shader/prog_execute.c | |||
2009-01-06 | mesa: track initialization status of uniform variables. Plus, asst clean-ups. | Brian Paul | |
(cherry picked from commit 2d76a0d77af7be9539f89cba37ce84338c1cdda4) | |||
2009-01-06 | mesa: initial support for uniform variable initializers. | Brian Paul | |
This lets one specify initial values for uniforms in the code, avoiding the need to call glUniform() in some cases. (cherry picked from commit 379ff8c9567940ebff44870cf7b0202882445fa6) | |||
2009-01-06 | mesa: allows 'f' suffix on GLSL float literals | Brian Paul | |
(cherry picked from commit 80c8017a643dfb655e4e1500e1c57e3908529c27) | |||
2009-01-06 | mesa: add support for 'centroid' qualifier in GLSL 1.20 | Brian Paul | |
(cherry picked from commit 87d1a26ba38e75f6988e094dbfbc0f77c0ae502b) Conflicts: src/mesa/shader/slang/library/slang_vertex_builtin_gc.h | |||
2009-01-06 | mesa: add support for 'invariant' keyword for GLSL 1.20 | Brian Paul | |
(cherry picked from commit 448156f769ebf271a6a8c03c61588c3e6c6363f0) Conflicts: src/mesa/shader/slang/library/slang_vertex_builtin_gc.h | |||
2009-01-06 | mesa: reformat comments, rewrap lines, etc for a little better readability | Brian Paul | |
(cherry picked from commit b632e5aa7f948ed5bbf7104682ec3ee463af4c0a) | |||
2008-12-18 | glsl: Fix handling of nested parens in macro actual arguments. | Michal Krol | |
2008-11-10 | mesa: fix logic error in GLSL linker when looking for main() shaders | Brian Paul | |
2008-11-06 | mesa: update the shader programs->TexturesUsed array at link time | Brian Paul | |
If an application never calls glUniform() to set sampler variable values they'll remain 0 (the default value/unit). Now call _mesa_update_shader_textures_used() at link time in case glUniform() is never called. program->TextureUsed[] will then be correct for state validation. | |||
2008-11-05 | mesa: fix a GLSL array indexing codegen bug | Brian Paul | |
Expressions like array[i] + array[j] didn't work properly before. | |||
2008-11-05 | mesa: remove extra \n from printf string | Brian Paul | |
2008-11-05 | mesa: add Initialized field to gl_uniform struct, for debugging purposes only | Brian Paul | |
2008-11-04 | mesa: fix float-valued GLSL vertex attribute variables | Brian Paul | |
The swizzle mask for such variables wasn't set up properly. | |||
2008-11-01 | mesa: silence warnings | Brian Paul | |
2008-11-01 | mesa: do scope replacement for while/for loops too | Brian Paul | |
This fixes a function inlining bug involving vars declared inside loop bodies. | |||
2008-11-01 | mesa: glsl tree print improvements | Brian Paul | |
2008-11-01 | mesa: fix assignment / parameter passing of sampler types | Brian Paul | |
2008-11-01 | mesa: additional debug flags for glsl debug/disassembly | Brian Paul | |
2008-10-31 | mesa: fix some bugs with precision qualifier parsing | Brian Paul | |
2008-10-31 | mesa: do scope replacement for variable initializers too | Brian Paul | |
2008-10-31 | mesa: fix copy/paste error in GLSL error msg | Brian Paul | |
2008-10-08 | mesa: in _mesa_combine_programs() take new STATE_CURRENT_ATTRIB color into ↵ | Brian Paul | |
account Commit 1680ef869625dc1fe9cf481b180382a34e0738e7 changed the texenv program to get color from a state register instead of a constant-valued vertex attribute. This broke program concatenation (so glDraw/CopyPixels broke). Now check if the second program get's color from a constant register and handle that case appropriately. | |||
2008-10-07 | mesa: remove old assertion | Brian Paul | |
2008-10-03 | Mesa: short-circuit case when looking up the same program twice in cache | Keith Whitwell | |
2008-10-03 | mesa: add new internal state for tracking current vertex attribs | Keith Whitwell | |
2008-10-03 | mesa: add missing state dependencies for various tracked constants | Keith Whitwell | |
2008-10-01 | mesa: Fix compiler warnings on Windows. | Michal Krol | |
2008-09-26 | mesa: add some braces | Brian Paul | |
2008-09-19 | mesa: Fix compiler error. | Michal Krol | |
2008-09-19 | mesa: Fix arb parse constants | Brian Paul | |
2008-09-17 | mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵ | Brian Paul | |
point coord | |||
2008-09-17 | mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs() | Brian Paul | |
2008-09-17 | mesa: fix bug in previous changes to _slang_resolve_attributes() | Brian Paul | |
2008-09-16 | mesa: rework GLSL vertex attribute binding | Brian Paul | |
Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings. | |||
2008-09-16 | mesa: fix bug in get_uniform_rows_cols(): sometimes returned too many rows | Brian Paul | |
2008-09-05 | mesa: _mesa_program_state_string() returns char *, not const char *. | Michal Krol | |
2008-09-04 | mesa: fix minor mem leak | Brian Paul | |
2008-08-22 | mesa: glsl: regenerated file | Brian Paul | |
2008-08-22 | mesa: glsl: implement exp() functions in terms of EXP asm instruction, not pow | Brian Paul | |
2008-08-20 | mesa: glsl: fix a swizzle bug in storage_to_src_reg() | Brian Paul | |
Need to remove the 'nil' components before swizzling a swizzle |