Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-22 | glsl2: When a "continue" happens in a "for" loop, run the loop expression. | Eric Anholt | |
Fixes: glsl1-for-loop with continue Bug #29097 | |||
2010-07-22 | ir_to_mesa: Pretty up the printing of MESA_GLSL=dump | Eric Anholt | |
2010-07-22 | mesa: Only complain about an infinite loop in a swrast program once. | Eric Anholt | |
Chances are, if one fragment looped badly, others will too, and debugging output gets overwhelmed by the looping complaints. | |||
2010-07-22 | ir_to_mesa: Add support for MESA_GLSL=dump environment var. | Eric Anholt | |
2010-07-22 | draw: added new assertions to clipping code | Brian Paul | |
2010-07-22 | i965: Respect VS/VP point size result when enabled. | Eric Anholt | |
Fixes glsl-vs-point-size. | |||
2010-07-22 | i965: Fix the disasm output for da16 src widths. | Eric Anholt | |
This has confused me twice now. It's a fixed width of 4 (usually a region description of <4,4,1>), not 1. If it was 1, we'd have been skipping all over register space. | |||
2010-07-22 | i965: Avoid extra MOV in VS indirect register reads. | Eric Anholt | |
2010-07-22 | i965: Fix up VS temporary array access for fixed index offset != 0. | Eric Anholt | |
2010-07-22 | r600: Flip point sprite coordinates when rendering to an FBO. | Henri Verbeet | |
This supersedes http://lists.freedesktop.org/archives/mesa-dev/2010-July/001442.html. | |||
2010-07-21 | glsl2: Use talloc on InfoLog handling in ValidateProgram | Eric Anholt | |
Fixes a segfault in Regnum Online. | |||
2010-07-21 | i965: In the VS, multiply the address reg by the appropriate register size. | Eric Anholt | |
The ARL value is increments of vec4 in the register file. But PROGRAM_TEMPORARY or PROGRAM_INPUT are stored as vec4s interleaved between the two verts being executed (thus a vec8 each), compared to PROGRAM_STATE_VAR being packed vec4s. Fixes: glsl-vs-arrays-2 glsl-vs-mov-after-deref (without regressing glsl-vs-arrays-3) | |||
2010-07-21 | i965: Clean up brw_dp_READ_4_vs() now that it has fewer options to support. | Eric Anholt | |
2010-07-21 | i965: Support relative addressed VS constant reads using the appropriate msg. | Eric Anholt | |
The previous support was overly complicated by trying to use the same 1-OWORD message for both offsets. | |||
2010-07-21 | i965: Fix the DP read msg_control definitions other than plain OWORD. | Eric Anholt | |
2010-07-21 | i965: Clean up dead code from the VS get_constant/get_reladdr_constant split. | Eric Anholt | |
2010-07-21 | i956: Set the execution size correctly for scratch space writes. | Eric Anholt | |
Otherwise, the second half isn't written, and we end up reading back black. Fixes the remaining junk drawn in glsl-max-varyings, and will likely help with a number of large real-world shaders. | |||
2010-07-21 | i965: Set the GEM domain flags for the scratch space. | Eric Anholt | |
They go into the render cache, so while we don't care about their contents after execution, failing to note them could cause the writes to be flushed over important buffer contents later. | |||
2010-07-21 | i965: Use the pretty define for 4-oword DP reads. | Eric Anholt | |
2010-07-21 | i965: Set the send commit bit on register spills as required pre-gen6. | Eric Anholt | |
Otherwise, the subsequent read may not get the written value. | |||
2010-07-21 | i965: Add disasm for dataport reads (register unspilling). | Eric Anholt | |
2010-07-21 | glx: Move last few dri_interface.h types out of glxclient.h and drop include | Kristian Høgsberg | |
2010-07-21 | glx: Move __driContext field out of __GLXcontextRec | Kristian Høgsberg | |
2010-07-21 | glsl2: Update TODO. | Kenneth Graunke | |
2010-07-21 | ir_constant_expression: Add support for array == and !=. | Kenneth Graunke | |
Piglit parser tests const-array-03.frag and const-array-04.frag now generate the correct code. | |||
2010-07-21 | ir_constant_expression: Add support for constant arrays. | Kenneth Graunke | |
Fixes piglit test const-array-02.frag. | |||
2010-07-21 | ir_reader: Add support for reading constant arrays. | Kenneth Graunke | |
2010-07-21 | ir_print_visitor: Print out constant arrays. | Kenneth Graunke | |
2010-07-21 | ir_print_visitor: Remove commas between ir_constant's components. | Kenneth Graunke | |
The IR reader does not expect commas. | |||
2010-07-21 | glsl2: Extend ir_constant to store constant arrays, and generate them. | Kenneth Graunke | |
Since GLSL permits arrays of structures, we need to store each element as an ir_constant*, not just ir_constant_data. Fixes parser tests const-array-01.frag, const-array-03.frag, const-array-04.frag, const-array-05.frag, though 03 and 04 generate the wrong code. | |||
2010-07-21 | glsl2: Emit array constructors inline. | Kenneth Graunke | |
2010-07-21 | ast_to_hir: Fix bug in constant initializers. | Kenneth Graunke | |
Implicit conversions were not being performed, nor was there any type checking - it was possible to have, say, var->type == float and var->constant_value->type == int. Later use of the constant expression would trigger an assertion. Fixes piglit test const-implicit-conversion.frag. | |||
2010-07-21 | ir_constant_expression: Add support for ir_unop_u2f. | Kenneth Graunke | |
Also make ir_unop_i2f only operate on signed integers. | |||
2010-07-21 | ir_constant_expression: Remove open coded equality comparisons. | Kenneth Graunke | |
The ir_constant::has_value method already does this. | |||
2010-07-21 | glsl2: Add some comments. | Kenneth Graunke | |
2010-07-21 | glsl2: Replace insert_before/remove pairs with exec_node::replace_with. | Kenneth Graunke | |
2010-07-21 | linker: Link built-in functions instead of including them in every shader | Ian Romanick | |
This is an invasive set of changes. Each user shader tracks a set of other shaders that contain built-in functions. During compilation, function prototypes are imported from these shaders. During linking, the shaders are linked with these built-in-function shaders just like with any other shader. | |||
2010-07-21 | glsl2: Add function to import function prototypes from one IR tree to another | Ian Romanick | |
2010-07-21 | softpipe: add missing support for PIPE_FORMAT_S8_USCALED surfaces | Brian Paul | |
And remove checks of surface depth bits. The state tracker should not turn on depth/stencil testing if the framebuffer doesn't have depth/stencil. | |||
2010-07-21 | softpipe: fix sp_tile_cache_flush_clear() regression | Brian Paul | |
2010-07-21 | Revert "dri2: Remove an unused variable." | Jerome Glisse | |
glx_info is used if X_DRI2SwapBuffers is defined This reverts commit c0ca2bfb2ad8cf7fb9d756b5ae52cb77236ff605. | |||
2010-07-21 | r600g: add support for all R6XX/R7XX asic | Jerome Glisse | |
This configure some of the value properly based on asic so others asic than RV710 works too. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-21 | r600g: add r600 compile mode to compiler. | Dave Airlie | |
some of the ALU instructions are different on r6xx vs r7xx, separate the alu translation to separate files, and use family to pick which compile stage to use. | |||
2010-07-21 | r600g: add family retrival | Dave Airlie | |
allow pipe driver to get the family of the gpu. | |||
2010-07-21 | llvmpipe: say no to depth clamp | Marek Olšák | |
The other drivers just return 0 without the assert. | |||
2010-07-21 | r300g: implement depth clamp | Marek Olšák | |
Depth clamping seems to be implicit if clipping is disabled. It's not perfect, but it's good enough for wine and passes the corresponding piglit tests. | |||
2010-07-21 | r300g: cleanup clip state emission | Marek Olšák | |
2010-07-21 | draw: disable depth clipping if depth clamp is enabled | Marek Olšák | |
2010-07-21 | st/mesa: implement depth clamp | Marek Olšák | |
2010-07-21 | cso: handle depth clamp | Marek Olšák | |