Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-30 | glsl2: Fix the implementation of atan(y, x). | Eric Anholt | |
So many problems here. One is that we can't do the quadrant handling for all the channels at the same time, so we call the float(y, x) version multiple times. I'd also left out the x == 0 handling. Also, the quadrant handling was broken for y == 0, so there was a funny discontinuity on the +x side if you plugged in obvious values to test. I generated the atan(float y, float x) code from a short segment of GLSL and pasted it in by hand. It would be nice to automate that somehow. Fixes: glsl-fs-atan-1 glsl-fs-atan-2 | |||
2010-07-30 | r600g: add KIL opcode support | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-30 | ast: Initialize location data in constructor of all ast_node objects. | Carl Worth | |
This prevents using uninitialized data in _msea_glsl_error in some cases, (including at least 6 piglit tests). Thanks to valgrind for pointing out the problem! | |||
2010-07-30 | ir_to_mesa: Add the function name as a comment to BGNSUB and ENDSUB. | Eric Anholt | |
2010-07-30 | glsl2: Update the callee pointer of calls to newly-linked-in functions. | Eric Anholt | |
Otherwise, ir_function_inlining will see the body of the function from the unlinked version of the shader, which won't have had the lowering passes done on it or linking's variable remapping. | |||
2010-07-30 | st/dri: move backend hooks to appropriate object | George Sapountzis | |
2010-07-30 | st/dri: drop dri1_helper | George Sapountzis | |
2010-07-30 | st/dri: mv driDriverAPI to backends | George Sapountzis | |
2010-07-30 | glsl2: Initialize ir_function_signature::is_built_in. | Kenneth Graunke | |
Fixes a valgrind error. | |||
2010-07-30 | st/mesa: better handling of indirect addressing of temp/const register files | Brian Paul | |
With gl_program::IndirectRegisterFiles we can distinguish between indirect addressing of constants vs. temporaries. In the case of temporaries, declare all temps up front sequentially. Fixes fd.o bug 29305. | |||
2010-07-30 | mesa: added gl_program::IndirectRegisterFiles field | Brian Paul | |
Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker. | |||
2010-07-30 | glcpp: Don't look for backslashes before the beginning of the string. | Kenneth Graunke | |
Fixes a valgrind error. | |||
2010-07-30 | llvmpipe: Silence unused value warning. | Vinson Lee | |
2010-07-30 | mesa: Add missing header to multisample.h. | Vinson Lee | |
Include mtypes.h for GLcontext symbol. | |||
2010-07-30 | draw: actually a noop, rather than not implemented | Zack Rusin | |
we just have nothing to do in it right now | |||
2010-07-30 | mesa: Remove unnecessary header from colormac.h. | Vinson Lee | |
2010-07-30 | tgsi: remove incorrect assertion | Brian Paul | |
2010-07-30 | mesa: Remove unnecessary headers. | Vinson Lee | |
2010-07-30 | llvmpipe: Fix implicit declaration of lp_func_delete_body warnings. | Vinson Lee | |
2010-07-30 | util: Fix the range of util_draw_elements_instanced. | Chia-I Wu | |
Keep min_index and max_index at their defaults (0 and ~0). | |||
2010-07-30 | llvmpipe: delete function bodies after generating machine code | Zack Rusin | |
2010-07-30 | r600g: fix typo in tex instruction + shader semantic id fix | Jerome Glisse | |
It seems we never get semantic id from TGSI so fallback to use output number as id. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-30 | util: more helpers for old draw code | Keith Whitwell | |
2010-07-30 | mesa: Include macros.h in files that use symbols from macros.h. | Vinson Lee | |
Don't rely on inclusion of other files that already include macros.h. | |||
2010-07-30 | mesa: Include macros.h in attrib.c for COPY_4FV symbol. | Vinson Lee | |
2010-07-30 | intel: Add missing header to intel_context.c. | Vinson Lee | |
Fixes "implicit declaration of function _mesa_get_incomplete_framebuffer" warning. | |||
2010-07-30 | mesa: Reduce clip.h header file inclusion. | Vinson Lee | |
2010-07-29 | mesa: Add missing header to framebuffer.h. | Vinson Lee | |
Include mtypes.h for GLvisual and GLcontext symbols. | |||
2010-07-29 | mesa: Add missing header to fboject.h. | Vinson Lee | |
Add mtypes.h for GLcontext symbol. | |||
2010-07-29 | mesa: Add missing header to texgetimage.h. | Vinson Lee | |
2010-07-29 | mesa: Add missing header to texrender.h. | Vinson Lee | |
Add mtypes.h for GLcontext symbol. | |||
2010-07-29 | mesa: Add missing header and forward declarations to uniforms.h. | Vinson Lee | |
2010-07-29 | mesa: Add missing headers to viewport.h. | Vinson Lee | |
2010-07-29 | mesa: Add missing header to depthstencil.h. | Vinson Lee | |
Add mtypes.h for GLcontext symbol. | |||
2010-07-29 | mesa: Add missing headers to debug.h. | Vinson Lee | |
2010-07-29 | intel: Add missing header. | Vinson Lee | |
Add context.h for NEED_SECONDARY_COLOR symbol. | |||
2010-07-29 | dri: Add missing header to dri_metaops.c. | Vinson Lee | |
Add context.h for FLUSH_VERTICES symbol. | |||
2010-07-29 | mesa: Reduce clear.h header file inclusion. | Vinson Lee | |
2010-07-29 | mesa: Reduce bufferobj.h header file inclusion. | Vinson Lee | |
Directly include mtypes.h instead of including context.h to include mtypes.h. | |||
2010-07-29 | mesa: Remove unnecessary headers. | Vinson Lee | |
2010-07-29 | llvmpipe: fix on-debug build breakage | Brian Paul | |
2010-07-29 | llvmpipe: added some jit debug code | Brian Paul | |
If we crash in the jitted function we can examine jit_line and jit_state in gdb to learn more about the shader. | |||
2010-07-29 | draw: do bounds checking of array elements (debug only) | Brian Paul | |
Make sure that all the element indexes actually lie inside the vertex buffer. Also, rename pipe_run() to pipe_run_elts() to be more specific. And assert/check the vertex count for the non-indexed case. | |||
2010-07-29 | draw: assorted clean-ups in clipper code | Brian Paul | |
2010-07-29 | gallium: implement bounds checking for constant buffers | Brian Paul | |
Plumb the constant buffer sizes down into the tgsi interpreter where we can do bounds checking. Optional debug code warns upon out-of-bounds reading. Plus add a few other assertions in the TGSI interpreter. | |||
2010-07-29 | draw: add vertex buffer offset in draw_print_arrays() | Brian Paul | |
2010-07-29 | llvmpipe: silence warnings in lp_test_sincos.c | Brian Paul | |
2010-07-29 | r600g: mipmap early support + EX2/ABS instruction + culling | Jerome Glisse | |
Add mipmap support (demos/src/redbook/mipmap is working) Add EX2/ABS shader instruction support. Add face culling support. Misc fixes. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-29 | glsl2: Do ir_if_return on the way out, not the way in. | Eric Anholt | |
The problem with doing it on the way in is that for a function with multiple early returns, we'll move an outer block in, then restart the pass, then move the two inside returns out, then never move outer blocks in again because the remaining early returns are inside an else block and they don't know that there's a return just after their block. By going inside-out, we get the early returns stacked up so that they all move out with a series of move_returns_after_block(). Fixes (on i965): glsl-fs-raytrace-bug27060 glsl-vs-raytrace-bug26691 | |||
2010-07-29 | glx: Fix copy/paste bug in glXWaitX and glXWaitGL | Kristian Høgsberg | |
https://bugs.freedesktop.org/show_bug.cgi?id=29304 |