Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: add plumbing for GL_ARB_texture_query_levels | Chris Forbes | 2013-10-05 | 2 | -0/+2 |
| | | | | | Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Matt Turner <[email protected]> | ||||
* | haiku: Ensure correct libraries are referenced. | Alexander von Gluck IV | 2013-10-04 | 1 | -1/+0 |
| | |||||
* | haiku: Clean up code, use target-helpers | Alexander von Gluck IV | 2013-10-04 | 1 | -10/+6 |
| | | | | * Thanks for the help xexaxo! | ||||
* | haiku: Drop haiku-softpipe.c; fix extern C | Alexander von Gluck IV | 2013-10-04 | 4 | -103/+1 |
| | | | | | | | * It isn't needed any longer as we're moving in the code that called it. * The winsys code is C, so make sure we include the header in the extern C | ||||
* | haiku: Correct Haiku softpipe library | Alexander von Gluck IV | 2013-10-04 | 1 | -1/+1 |
| | | | | * Use LoadableModule vs SharedLibrary | ||||
* | haiku: Add first Haiku renderer (softpipe) | Alexander von Gluck IV | 2013-10-04 | 9 | -5/+1249 |
| | | | | | * This shared library gets parsed by the system as a system "add-on" | ||||
* | haiku: Build Haiku's libGL from within Mesa | Alexander von Gluck IV | 2013-10-04 | 8 | -0/+1242 |
| | | | | | | | * This in essence means that Mesa would be taking control of Haiku's OpenGL kit. * This works by dispatching renderers from the OpenGL add-ons directory | ||||
* | glsl: Define isnormal for Oracle Solaris Studio. | Vinson Lee | 2013-10-04 | 1 | -0/+6 |
| | | | | | | | | This patch fixes this Oracle Solaris Studio build error. "../../src/glsl/ir_constant_expression.cpp", line 1398: Error: The function "isnormal" must have a prototype. Signed-off-by: Vinson Lee <[email protected]> | ||||
* | r600g: texture offsets for non-TXF instructions | Grigori Goronzy | 2013-10-04 | 1 | -10/+10 |
| | | | | | | | All texture instructions can use offsets, not just TXF. Offsets into the literals array were wrong, too. Signed-off-by: Marek Olšák <[email protected]> | ||||
* | r600g: remove an assertion causing a crash at context cleanup | Marek Olšák | 2013-10-04 | 1 | -1/+0 |
| | | | | | Compute samplers are advertised, but not implemented. I think that's intentional. | ||||
* | r300g: remove unused function r300_lacks_vertex_textures | Marek Olšák | 2013-10-04 | 1 | -7/+0 |
| | |||||
* | mesa: Don't return any data for GL_SHADER_BINARY_FORMATS | Ian Romanick | 2013-10-04 | 1 | -1/+1 |
| | | | | | | | | | | | We return 0 for GL_NUM_SHADER_BINARY_FORMATS, so GL_SHADER_BINARY_FORMATS should not write any data to the application buffer. Fixes piglit test 'arb_get_program_binary-overrun shader'. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]> | ||||
* | svga: fix incorrect memcpy src in svga_buffer_upload_piecewise() | Brian Paul | 2013-10-04 | 1 | -1/+1 |
| | | | | | | | | | As we march over the source buffer we're uploading in pieces, we need to memcpy from the current offset, not the start of the buffer. Fixes graphical corruption when drawing very large vertex buffers. Cc: "9.2" <[email protected]> Reviewed-by: Matthew McClure <[email protected]> | ||||
* | util: when packing depth values, round to nearest. | Matthew McClure | 2013-10-04 | 2 | -4/+56 |
| | | | | | | | This patch adds the lrint, lrintf, llrint, and llrintf rounding utility functions. When packing unorm depth values, we will round to nearest. Reviewed-by: Roland Scheidegger <[email protected]> | ||||
* | radeonsi/compute: Fix segfault caused by recent refactoring | Tom Stellard | 2013-10-03 | 2 | -2/+6 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi: Fix build | Brian Paul | 2013-10-03 | 1 | -3/+3 |
| | | | | | | Reviewed-by: Tom Stellard <[email protected]> https://bugs.freedesktop.org/show_bug.cgi?id=70106 | ||||
* | radeonsi/compute: fix bind_compute_sampler_states() breakage | Brian Paul | 2013-10-03 | 1 | -6/+0 |
| | | | | Remove the assignment and the no-op function. | ||||
* | i965/fs: Improve accuracy of dFdy() to match dFdx(). | Paul Berry | 2013-10-03 | 2 | -20/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we computed dFdy() using the following instruction: add(8) dst<1>F src<4,4,0)F -src.2<4,4,0>F { align1 1Q } That had the disadvantage that it computed the same value for all 4 pixels of a 2x2 subspan, which meant that it was less accurate than dFdx(). This patch changes it to the following instruction when c->key.high_quality_derivatives is set: add(8) dst<1>F src<4,4,1>.xyxyF -src<4,4,1>.zwzwF { align16 1Q } This gives it comparable accuracy to dFdx(). Unfortunately, align16 instructions can't be compressed, so in SIMD16 shaders, instead of emitting this instruction: add(16) dst<1>F src<4,4,1>.xyxyF -src<4,4,1>.zwzwF { align16 1H } We need to unroll to two instructions: add(8) dst<1>F src<4,4,1>.xyxyF -src<4,4,1>.zwzwF { align16 1Q } add(8) (dst+1)<1>F (src+1)<4,4,1>.xyxyF -(src+1)<4,4,1>.zwzwF { align16 2Q } Fixes piglit test spec/glsl-1.10/execution/fs-dfdy-accuracy. Acked-by: Chris Forbes <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | gallium/tests: fix SHADER typo | Brian Paul | 2013-10-03 | 1 | -1/+1 |
| | |||||
* | gallium-egl: use standard variable types over EGLBoolean/EGLint | Emil Velikov | 2013-10-03 | 1 | -9/+9 |
| | | | | | | | | | The inferface/prototype in native_wayland_bufmgr.h uses boolean/int, as well as the rest of the file. Convert to improve consistency and to prevent gcc compiler warnings due to type miss-match. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -15/+0 |
| | | | | | The new bind_sampler_states() function takes a shader argument to specify the shader stage. | ||||
* | gallium/docs: update bind_sampler_states() documentation | Brian Paul | 2013-10-03 | 1 | -5/+6 |
| | |||||
* | cso: make sure all sampler states are set/cleared | Brian Paul | 2013-10-03 | 1 | -2/+9 |
| | |||||
* | freedreno: use new bind_sampler_states() function | Brian Paul | 2013-10-03 | 1 | -21/+19 |
| | |||||
* | svga: don't hook in old bind_fragment_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -9/+0 |
| | |||||
* | radeon: don't use old bind_vertex/fragment_sampler_states() hooks | Brian Paul | 2013-10-03 | 4 | -53/+6 |
| | |||||
* | i915g: remove old bind_vertex/fragment_sampler_states() hooks | Brian Paul | 2013-10-03 | 1 | -2/+0 |
| | |||||
* | noop: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -6/+0 |
| | |||||
* | galahad: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -50/+1 |
| | |||||
* | vl: remove old bind_fragment_sampler_states() calls | Brian Paul | 2013-10-03 | 7 | -47/+17 |
| | |||||
* | util: remove old bind_fragment_sampler_states() calls from blitter code | Brian Paul | 2013-10-03 | 1 | -22/+9 |
| | |||||
* | draw: remove use of old bind_fragment_sampler_states() | Brian Paul | 2013-10-03 | 2 | -82/+13 |
| | |||||
* | nouveau: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 4 | -36/+0 |
| | |||||
* | cso: remove use of old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -31/+3 |
| | |||||
* | rbug: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -53/+1 |
| | |||||
* | identity: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -41/+1 |
| | |||||
* | trace: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -75/+7 |
| | |||||
* | ilo: don't hook up old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -4/+0 |
| | |||||
* | llvmpipe: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -26/+0 |
| | |||||
* | softpipe: remove old bind_*_sampler_states() functions | Brian Paul | 2013-10-03 | 1 | -31/+0 |
| | |||||
* | clover: remove bind_compute_sampler_states() calls | Brian Paul | 2013-10-03 | 1 | -8/+6 |
| | |||||
* | gallium/tests: use pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 8 | -9/+13 |
| | |||||
* | gallium/tools: update dump_state.py to use bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -8/+3 |
| | |||||
* | nouveau: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 6 | -2/+76 |
| | |||||
* | softpipe: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+1 |
| | |||||
* | radeon: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 3 | -0/+49 |
| | |||||
* | svga: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+1 |
| | |||||
* | trace: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -28/+42 |
| | |||||
* | rbug: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+34 |
| | |||||
* | noop: implement pipe_context::bind_sampler_states() | Brian Paul | 2013-10-03 | 1 | -0/+7 |
| |