Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-07 | nouveau: restore nouveau_class.h for nv04-nv20 | Luca Barbieri | |
Sorry, I deleted the Gallium copy without realizing that the DRI one was just a symlink to it. | |||
2010-09-06 | mesa: Define C99's __func__ macro on MSVC. | José Fonseca | |
2010-09-05 | radeon: Add radeon_buffer_objects.c. | Henri Verbeet | |
2010-09-05 | r200: Add radeon_buffer_objects.c. | Henri Verbeet | |
2010-09-05 | radeon: Make do_blit_readpixels() into a PBO work. | Henri Verbeet | |
2010-09-05 | mesa: don't smash the stack in _mesa_find_used_registers | Luca Barbieri | |
At some point this actually triggered, not sure if it still does. Give a meaningful assert and refuse to smash the stack anyway. | |||
2010-09-05 | mesa: don't expose unsupported GL_ARB_geometry_shader4 for now | Luca Barbieri | |
The new GLSL compiler doesn't support it. Advertising it prevents Unigine Heaven from working, since it attempts to use it. | |||
2010-09-05 | r300g,r300c: memset the compiler struct to zeros | Marek Olšák | |
This should fix bogus reports "Too many temporaries." and maybe some others. | |||
2010-09-04 | r300/compiler: Remove stray break statement | Tom Stellard | |
This fixes glsl-fs-loop-nested. | |||
2010-09-05 | r300/compiler: fix the instruction limit in vertex shaders | Marek Olšák | |
Broken with commit d774b0c710bb7d833d17bd12f5151a0176baad96. Reported by Chris Rankin. | |||
2010-09-04 | Revert "ir_to_mesa: Load all the STATE_VAR elements of a builtin uniform to ↵ | Marek Olšák | |
a temp." This reverts commit 5ad74779cea07cc6a19a52874cdaef8b018e2f1b. Sorry, but I had to revert this. Any commit which needlessly increases the number of temporaries is wrong. More temporaries mean less shader performance because of reduced parallelism and therefore less efficient latency hiding. In this case, there is possible performance degradation of every shader which uses GL state variables. I cannot accept this. | |||
2010-09-04 | r300/compiler: indent printed instructions according to the branch depth | Marek Olšák | |
2010-09-04 | r300/compiler: use limits from the compiler input instead of inline constants | Marek Olšák | |
2010-09-04 | r300/compiler: improve register allocation with indexable temporaries for VS | Marek Olšák | |
Register allocation can now reallocate temporaries right after the last indexed source operand, instead of being disabled for the whole shader. | |||
2010-09-04 | r300/compiler: fix handling of indexed temporaries in peephole | Marek Olšák | |
2010-09-04 | r300/compiler: disable deadcode elimination for indexed dst operands | Marek Olšák | |
2010-09-04 | r300/compiler: allocate at least FS inputs if register allocation is disabled | Marek Olšák | |
2010-09-04 | r300g: add a new debug option which disables compiler optimizations | Marek Olšák | |
Those are: - dead-code elimination - constant folding - peephole (mainly copy propagation) - register allocation There are some bugs which I need to track down. Also fix up the descriptions of all the debug options. | |||
2010-09-04 | r300/compiler: compute the final number of temporaries during translation | Marek Olšák | |
And not during the register allocation, which may be skipped for debugging purposes. Also the predicate register is now added to the number of temps. | |||
2010-09-04 | r300/compiler: make optimizations not use 0.5 swizzles in vertex shaders | Marek Olšák | |
2010-09-04 | r300/compiler: use peephole and constant folding for vertex shaders too | Marek Olšák | |
2010-09-04 | r300/compiler: remove unused enum OPCODE_REPL_ALPHA | Marek Olšák | |
We use RC_OPCODE_REPL_ALPHA instead. | |||
2010-09-04 | r300/compiler: refactor fragment shader compilation | Marek Olšák | |
This cleans up the mess in r3xx_compile_fragment_program. | |||
2010-09-04 | r300/compiler: add new compiler parameter max_constants | Marek Olšák | |
2010-09-04 | r300/compiler: refactor vertex shader compilation | Marek Olšák | |
First list compiler passes in an array, then run the new function rc_run_compiler. Every backend may need a different set of passes. This cleans up the mess in r3xx_compile_vertex_program. | |||
2010-09-04 | r300/compiler: remove a redundant parameter in rc_pair_regalloc | Marek Olšák | |
2010-09-04 | r300/compiler: remove a redundant parameter in rc_dataflow_deadcode | Marek Olšák | |
&c->Base == c. | |||
2010-09-04 | r300/compiler: use null-terminated array of transformation functions | Marek Olšák | |
I need to reduce the number of parameters of each compiler pass function. This is part of a larger cleanup. | |||
2010-09-04 | r300/compiler: add new compiler parameter max_alu_insts | Marek Olšák | |
2010-09-04 | r300/compiler: put emulate_loop_state in radeon_compiler | Marek Olšák | |
2010-09-04 | mesa/st: add missing _mesa_set_fetch_functions in st_get_tex_image | Luca Barbieri | |
Fixes piglit fdo25614-genmipmap. | |||
2010-09-03 | mesa: fix up a comment | Brian Paul | |
2010-09-03 | ir_to_mesa: Handle loops with loop controls set | Ian Romanick | |
The downside of our talloc usage is that we can't really make static (i.e., not created with new) instances of our IR types. This leads to a lot of unnecessary dynamic allocation in this patch. | |||
2010-09-03 | r600c: add proper returns for some evergreen functions | Alex Deucher | |
these weren't checked anyway. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29999 | |||
2010-09-03 | r600c: emit DB_HTILE_DATA_BASE on evergreen | Alex Deucher | |
Make the hw happy. | |||
2010-09-02 | mesa: Fix printf-like warning. | Vinson Lee | |
2010-09-02 | mesa: Fix printf-like warnings. | Vinson Lee | |
2010-09-02 | st/mesa: clamp gl_constants::MaxVarying against MAX_VARYING | Brian Paul | |
Don't try to use more generic varying vars than core Mesa supports. Fixes fd.o bug 29959. | |||
2010-09-02 | mesa: fix code generation for ir_unop_sqrt | Brian Paul | |
The CMP instruction needed to be flipped to properly handle operand==0. Fixes fd.o bug 29923. | |||
2010-09-02 | mesa: fix some printf warnings with casts | Brian Paul | |
2010-09-01 | ir_to_mesa: Load all the STATE_VAR elements of a builtin uniform to a temp. | Eric Anholt | |
Like the constant handling and the handling of other uniforms, we add the whole thing to the Parameters, avoiding messy, incomplete logic for adding just the elements of a builting uniform that get used. This means that a driver that relies only on ParameterValues[] for its parameters will have an increased parameter load, but drivers generally don't do that (since they have other params they need to handle, too). Fixes glsl-fs-statevar-call (testcase for Ember). Bug #29687. Regresses glsl-vs-array-04 on 965. Thanks to a slight change in register allocation, this test of undefined behavior now wraps around the register space and unexpectedly reads the constant value it's trying to compare to. The test should probably not look at the resulting color, since behavior is undefined. | |||
2010-09-01 | ir_to_mesa: Add a little helper for emitting link failure messages. | Eric Anholt | |
2010-09-01 | mesa: Fix many printf-like warnings. | Eric Anholt | |
Most of these are just typecasting to long to match the arg type. I don't really care too much about getting a GLsizei or whatever appropriate type in. However, there were a number of real bugs, like missing arguments or passing floats to integer format specifiers. My favorite: printflike("%s, argument") is missing an argument. | |||
2010-09-01 | mesa: Add __printf__ attribute to printf-like functions to get warnings. | Eric Anholt | |
2010-09-02 | mesa/st: remove check for buffer/elements = 0 | Dave Airlie | |
shown by the glsl-vs-point-size failing on r600g. the test passes on softpipe and I get a full piglit test run completing on r600g. | |||
2010-09-01 | mesa: fix out of bounds memory read in mipmap gen code | Brian Paul | |
Out of bounds reads could happen for reducing WxH to WxH/2 or WxH to W/2xH. Fixes fd.o bug 29918. | |||
2010-09-01 | mesa: more prog_execute.c debug code | Brian Paul | |
2010-09-01 | i965: DP2 produces a scalar result like DP3, DP4, etc. | Eric Anholt | |
Fixes glsl-fs-dot-vec2-2. | |||
2010-09-01 | mesa: initialize dummy framebuffer and renderbuffer mutexes | Vladimir Vukicevic | |
See fd.o bug 29909. Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-09-01 | r600: cube mipmap levels are aligned to 8 faces only starting from r7xx | Andre Maasikas | |