Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-15 | util/blitter: allocate most of the state objects on-demand | Marek Olšák | |
2009-12-15 | util/blitter: use PIPE_MAX_* limits, and fix a memory leak | Marek Olšák | |
2009-12-15 | pipe: add PIPE_MAX_TEXTURE_TYPES | Marek Olšák | |
2009-12-15 | util: add blitter | Marek Olšák | |
2009-12-15 | util: add a function which converts 2D coordinates to cubemap coordinates | Marek Olšák | |
The code was taken over from u_gen_mipmap. | |||
2009-12-15 | util: add new fragment shaders to simple_shaders | Marek Olšák | |
New shaders: * Fragment shader which writes depth sampled from a texture * Fragment shader which copies COLOR[0] to multiple render targets Additional improvements: * The fragment 'tex' shaders now take a sampler type (TGSI_TEXTURE_*) so that they can sample from any type of texture, not only from a 2D one. | |||
2009-12-15 | llvmpipe: Fix yet another copynpaste typo in lp_build_log2_approx. | José Fonseca | |
Now fslight looks perfect. | |||
2009-12-15 | llvmpipe: Fix lp_build_polynomial comment. | José Fonseca | |
2009-12-15 | llvmpipe: Fix typo in lp_build_log constant. | José Fonseca | |
2009-12-15 | util: Fix unity value for swizzle 1. | José Fonseca | |
It should be 255 for ubytes, and not 1. Thanks Michal for spotting this. | |||
2009-12-15 | llvmpipe: Fix bad SI -> FP conversion into lp_build_log2_approx. | José Fonseca | |
It should be a bitcast as the integer value is actually an encoded FP already. | |||
2009-12-15 | util: Add dl wrappers. | José Fonseca | |
Borrowed from Mesa, slightly changed for more type safety. | |||
2009-12-15 | tgsi/text: Don't use strncasecmp(), it breaks windows build. | Michal Krol | |
Also, break out of the for-loop when a matching property is found. | |||
2009-12-14 | tgsi: add properties and system value register | Zack Rusin | |
adds support for properties to all parts of the tgsi framework, plus introduces a new register which will be used for system generated values. | |||
2009-12-14 | nouveau: avoid running out of relocs | Maarten Maathuis | |
- Added flush notify functions for NV30 and NV40. - Flushing mid frame will call flush notify, which will resubmit all relocs. - We don't try to recover from reloc failure yet. | |||
2009-12-14 | nv50: be more cautious about using reg_instance | Christoph Bumiller | |
Trying to free part of nv50_pc->reg_instances[] for an nv50_reg representing an indirect constant resulted in a segmentation fault. | |||
2009-12-14 | tgsi/ureg: Add ureg_DECL_gs_input(). | Michal Krol | |
Allows one to declare GS input registers. | |||
2009-12-14 | nv50: store immediates as uint32 | Christoph Bumiller | |
Sometimes we want non-float immediates, hacking them into floats isn't nice. Sorry, this should have already been committed before. | |||
2009-12-13 | nouveau: nv50: Add missing ctor_immd_4u32 function | Patrice Mandin | |
2009-12-13 | nv50: add proper zslice offset in miptree_surface | Christoph Bumiller | |
2009-12-13 | nv50: use m2mf z pos instead of calculating offset manually | Christoph Bumiller | |
2009-12-13 | nv50: add craziness for non-constant TXB and TXL | Christoph Bumiller | |
If lod or bias can be non-constant across a quad of fragments, we need to execute TEX separately for each value. Don't ask why. | |||
2009-12-12 | Revert "nouveau: nv30: Disable swizzled surface usage if any dimension is 1 ↵ | Patrice Mandin | |
(Warsow creates a 1x1 front buffer)" This reverts commit ec7844537ecdb0b598447e37bf0b7120acd029f3. | |||
2009-12-12 | nouveau: nv30: Disable swizzled surface usage if any dimension is 1 (Warsow ↵ | Patrice Mandin | |
creates a 1x1 front buffer) | |||
2009-12-12 | Merge branch 'master' into glsl-pp-rework-2 | Michal Krol | |
Conflicts: progs/perf/drawoverhead.c progs/perf/teximage.c progs/perf/vbo.c progs/perf/vertexrate.c src/mesa/shader/slang/library/slang_common_builtin_gc.h | |||
2009-12-12 | nv50: support TXB and TXL | Christoph Bumiller | |
... and don't set the 'live' flag for TEX anymore, we'd have to know if results affect the inputs for another TEX, and I'm not going to do that kind of analysis now. | |||
2009-12-12 | nv50: add S8Z24 depth texture format too | Christoph Bumiller | |
2009-12-12 | nv50: fix depth comparison func TSC bits | Christoph Bumiller | |
Unfortunately it seems that if depth comparison is active and we read a 2D texture, i.e. provide only 2 inputs, the second is used for comparison ... | |||
2009-12-12 | nv50: add src_mask case for IF opcode | Christoph Bumiller | |
2009-12-12 | nv50: plug memory leak in miptree creation/destruction | Christoph Bumiller | |
Keeping this dynamically allocated for texture arrays. Since we don't use it to store zslice offsets anymore it's either 1 or 6 integers (cube) ... | |||
2009-12-12 | nv50: use copies of tgsi src nv50_regs | Christoph Bumiller | |
So we can use the 'mod' member without concern if a source is used multiple times in 1 insn. | |||
2009-12-12 | nv50: support vertex program textures | Christoph Bumiller | |
2009-12-11 | gallium: added comment for pipe_reference() return value | Brian Paul | |
2009-12-11 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c | |||
2009-12-11 | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | |
2009-12-11 | svga: Add a missing dependency from the prescale state. | José Fonseca | |
Thanks for Keith to finding this. Fixes Jedi Knight 2 menus. | |||
2009-12-11 | svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC. | José Fonseca | |
Since we're reusing buffers we're effectively transforming all of them into dynamic buffers. It would be nice to not cache long lived static buffers. But there is no way to detect the long lived from short lived ones yet. A good heuristic would be buffer size. | |||
2009-12-11 | svga: Keep tight control of texture handle ownership. | José Fonseca | |
The texture owns the surface handle. All derivatives need to keep a reference to texture. This fixes several assertions failures starting up Jedi Knight 2. Should cause no change for DRM surface sharing -- reference count still done as before there. | |||
2009-12-11 | svga: Fix mixed signed comparisons. | José Fonseca | |
2009-12-10 | st/xorg: fix yv12 plus some cleanups in the upload code | Zack Rusin | |
2009-12-10 | st/xorg: enable yv12 for xv | Zack Rusin | |
2009-12-10 | scons: Get GLSL code building correctly when cross compiling. | José Fonseca | |
This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS. | |||
2009-12-10 | winsys/intel: fix dereferencing of opaque type due to pipe_reference changes | Roland Scheidegger | |
2009-12-09 | r300g: fix routing of vertex streams if TCL is bypassed | Marek Olšák | |
Generating mipmaps finally works, among other things. Yay! | |||
2009-12-09 | r300g: always disable unused colorbuffers | Marek Olšák | |
2009-12-09 | r300g: make pow(0,0) return 1 instead of NaN in the R500 fragment shader | Marek Olšák | |
Unfortunately we can't fix this easily in the R300 fragment shader, and it's probably not worth the effort. | |||
2009-12-09 | r300g: clean up r300_emit_aos | Marek Olšák | |
2009-12-09 | Revert "Simplify the redundant meaning of format layout." | Michal Krol | |
This reverts commit eb926ddf9eee1095c7fc12013f0b8375bbaeca6f. | |||
2009-12-09 | util: Document the meaning of util_format_layout. | José Fonseca | |
The util_format_layout name was unfortunate and there are as been a lot of confusion due to this. Hopefully this will shed some light on what it was meant for. Bottom line is: do not rely on these values unless you're automatically code generating pixel packing/unpacking routines. Suggestions for better names than util_format_layout are welcome! | |||
2009-12-09 | vmware/xorg: Properly detect overlay support | Jakob Bornecrantz | |