summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* draw: make sure the buffer is big enough to fit everything emitted by the gsZack Rusin2010-06-092-48/+27
|
* draw: fix geometry shader which emit multiplie primitivesZack Rusin2010-06-091-18/+20
|
* geometry shaders: make gs work with changable primitives and variable number ↵Zack Rusin2010-06-0912-97/+149
| | | | | | | | of vertices lots and lots of fixes for geometry shaders. in particular now we work when the gs emits a different primitive than the one the pipeline was started with and also we work when gs emits more vertices than would fit in the original buffer.
* draw: Remove unnecessary headers.Vinson Lee2010-06-082-2/+0
|
* util: reference vertex buffers in blitterMarek Olšák2010-06-092-0/+18
|
* gallium: scream when one of two unimplemented features in draw is usedZack Rusin2010-06-081-6/+12
| | | | plus used the correctly specified stride
* gallium: make draw auto work and add relevant caps and docsZack Rusin2010-06-082-0/+10
|
* gallium: a lot more complete implementation of stream outputZack Rusin2010-06-087-74/+264
| | | | | | | interface wise we have everything needed by d3d10 and gl transform feedback. the draw module misses implementation of some corner cases (e.g. when stream output wants different number of components per output than normal rendering paths)
* gallium: basic and initial implementation of the stream output interfaceZack Rusin2010-06-084-0/+111
| | | | aka transform feedback
* util: implement util_clear_depth_stencil fallbackRoland Scheidegger2010-06-072-1/+115
| | | | | | this doesn't really look terribly useful for drivers to use, but until drivers use their own implementation provide this since some state trackers really want to use these functions.
* tgsi: null-terminate string in parse_identifierKeith Whitwell2010-06-071-0/+1
| | | | Hit this parsing geometry shader properties.
* draw: don't use llvm engine when geometry shaders activeKeith Whitwell2010-06-071-1/+1
| | | | They aren't implemented for llvm.
* util: new file u_dirty_flags.hKeith Whitwell2010-06-071-0/+28
|
* util: add u_box_3dKeith Whitwell2010-06-071-0/+19
|
* gallivm: eliminate tgsi_exec.h includeKeith Whitwell2010-06-071-1/+1
|
* util: add util_framebuffer_min_sizeKeith Whitwell2010-06-072-0/+40
|
* util: allocate larger tmp_row in util_format_translateKeith Whitwell2010-06-071-3/+4
| | | | | | | | | The tmp_row storage allocation took into account the format's y block size by allocating y_step rows of data. However, the x block size was not being taken into account when deciding how wide those rows need to be. Now make sure that tmp_row is at least x_step by y_step in size.
* tgsi: reject interpolation and semantics on vs inputsKeith Whitwell2010-06-071-2/+6
|
* util: Remove unnecessary header.Vinson Lee2010-06-031-1/+0
|
* Merge branch 'gallium-newclear'Roland Scheidegger2010-06-035-95/+151
|\ | | | | | | | | Conflicts: src/gallium/state_trackers/python/p_context.i
| * gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger2010-06-035-41/+41
| | | | | | | | | | more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
| * util: adapt to clear interface changesRoland Scheidegger2010-05-295-95/+151
| |
* | tgsi: we don't support indirect input/output registers in SSE codegen yetBrian Paul2010-06-031-6/+10
| | | | | | | | | | | | | | | | Extend the check for indirect addressing of temp regs to include input/output regs. Fixes failure with piglit glsl-texcoord-array.shader_test test when using SSE codegen.
* | tgsi: whitespace cleanupBrian Paul2010-06-031-14/+2
| |
* | gallium: add interpolation parameter to simple shader functionsBrian Paul2010-06-035-47/+56
| | | | | | | | | | This lets us specify linear interpolation instead of perspective interpolation for blit operations. Might be a bit faster.
* | util/u_debug: use MAX2 macroBrian Paul2010-06-031-7/+1
| |
* | gallivm: Register the JIT engine with oprofile on debug/profile builds.José Fonseca2010-06-032-1/+30
| |
* | gallivm: Factor out the quad derivative code into a single place. Fix ddy.José Fonseca2010-06-035-52/+204
| | | | | | | | For ddy it should be (bottom - top).
* | gallium: silence all debug_named_value related warningsJoakim Sindholt2010-06-031-5/+5
| |
* | util/u_debug: add description field to debug_named_valueJoakim Sindholt2010-06-032-6/+20
| |
* | gallivm: bump up LP_BUILD_FLOW_MAX_VARIABLESBrian Paul2010-06-021-1/+1
| | | | | | | | | | | | | | Fixes failed assertion with piglit fbo-drawbuffers-fragcolor.c See fd.o bug 28358. With 8 color buffers + Z we need to declare 33 vars, at least.
* | gallivm: Add a lp_build_const_elem().José Fonseca2010-06-022-14/+29
| |
* | llvmpipe: Store often used LLVM types in the lp_build_context.José Fonseca2010-06-022-2/+30
| |
* | gallivm: Zero min_lod and max_lod when only one view is selected and min/mag ↵José Fonseca2010-06-021-3/+9
| | | | | | | | filter are equal.
* | gallivm: Make lp_build_sample_wrap_int usage more accurate.José Fonseca2010-06-021-11/+2
| | | | | | | | Fixes mesa texwrap demo border with GL_CLAMP.
* | gallivm: Don't use reciprocate in lp_build_sample_wrap_linear().José Fonseca2010-06-021-51/+50
| | | | | | | | Always clamp the scaled coordinates.
* | gallivm: Avoid fp arithmetic in lp_build_sample_wrap_nearest().José Fonseca2010-06-021-78/+32
| |
* | gallivm: Don't use lp_build_sample_wrap_nearest()José Fonseca2010-06-021-42/+46
| | | | | | | | Always clamp with scaled coordinates.
* | tgsi: Drop uses_fogcoord and uses_frontfacing from tgsi_scan.José Fonseca2010-06-012-16/+0
| | | | | | | | | | | | | | It was not used anywhere; the code was buggy (it didn't take care of indirect registers and could potential cause buffer underflows) and the same effect can now be easily achieved by just by looking at input_semantic_name[] and input_usage_mask[].
* | tgsi: Remove tgsi-instruction-set.txt.José Fonseca2010-06-011-1127/+0
| | | | | | | | | | Deprecated by tgsi.rst, and no point in keeping it around if it's not being updated.
* | tgsi: Determine which shader input channels are effectively.José Fonseca2010-06-014-7/+177
| | | | | | | | | | | | TGSI's UsageMask flag is never set. We can move this logic into tgsi_ureg, but there there are still cases where's not used, so this seems a better place for now.
* | gallium/util: Define isfinite and isnan for MSVC.Chia-I Wu2010-05-311-0/+3
| | | | | | | | | | Define isfinite and isnan to _finite and _isnan respectively for MSVC. Those macros are needed by st/vega.
* | util: Add inline function for approximate floating point comparison.José Fonseca2010-05-301-0/+9
| |
* | draw: Use pointer_to_func() instead of custom wrappers.José Fonseca2010-05-301-30/+3
| |
* | util: Generic pointer to func conversion helper.José Fonseca2010-05-301-0/+12
| | | | | | | | That observes strict-aliasing rules.
* | gallivm: add assertions to check type of phi variablesBrian Paul2010-05-271-0/+2
| |
* | util: Also add a define for the dynamic library's prefix.José Fonseca2010-05-271-0/+3
| |
* | gallivm: Remove unnecessary headers.Vinson Lee2010-05-261-2/+0
| |
* | util: Remove unnecessary headers.Vinson Lee2010-05-261-2/+0
|/
* util: update comments at blitterMarek Olšák2010-05-251-1/+1
|