Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-07 | i965: Make pixel_xy results UW. | Eric Anholt | |
There is a restriction on the destination of an operation involving a vector immediate being 128-bit aligned and the destination horizontal stride being equivalent to 2 bytes. Fixes bad pixel_x results from gl_FragCoord, where each pair had the same value. | |||
2010-09-07 | i965: Don't bother with RNDZ for f2i. | Eric Anholt | |
The default type conversion for MOV should be fine, and RNDZ actually requires two instructions. | |||
2010-09-07 | i965: Add some validation on BRW_OPCODE_MUL and ADD's arguments. | Eric Anholt | |
Now that we're playing with other types in brw_fs.cpp, it's easy to trip over issues like these. | |||
2010-09-07 | i965: Add assertion for another requirement about types. | Eric Anholt | |
This catches a failure in the FS backend. | |||
2010-09-07 | i965: Align the start of attribute interp coefficients in FS to use PLN. | Eric Anholt | |
2010-09-07 | i965: Just assert when we flagged a compile error in the FS for now. | Eric Anholt | |
Dumping back to potentially 16-wide dispatch doesn't really work out at the moment, and hopefully I'll just be able to resolve all the failures so we never have to do this at all. | |||
2010-09-07 | i965: Clean up fs_reg setup by using a helper for constructors. | Eric Anholt | |
2010-09-07 | i965: When using the new FS backend, don't validate the Mesa IR version. | Eric Anholt | |
2010-09-07 | i965: Add a bit of validation for some ISA restrictions in the docs. | Eric Anholt | |
2010-09-07 | i965: set the source width/stride when handling reladdr dests in the VS. | Eric Anholt | |
This is a requirement specified in the docs. No behavior change in glsl-vs-varying-array.shader_test that violated these requirements. | |||
2010-09-07 | dri: Make it a little clearer that we're not dereferencing a NULL pointer | nobled | |
2010-09-07 | dri: Use the right type for the API token | nobled | |
Pass mesa_api to CreateContext, and abort early if the requested API isn't recognized. | |||
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. |