Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-04-30 | llvmpipe: fix out-of-bounds texture sampling | Brian Paul | |
If we're using a wrap mode in which border color sampling is possible it means that texcoords may be outside of the texture image bounds. Fetching the texel may result in a segfault. Use the 'use_border' variable to catch such texcoords and replace the texel offset with zero (which will be in bounds). Fixes segfault in Lightsmark demo, fd.o bug 27877. | |||
2010-04-30 | llvmpipe: added lp_build_sample_nop() for debugging | Brian Paul | |
2010-04-30 | Merge commit 'origin/master' into gallium-msaa | Roland Scheidegger | |
2010-04-29 | util: Update caps after helpfull input | Jakob Bornecrantz | |
In no particular order: * Make list const * Add function comments * Clearly state that demo lists are not complete * Fix whitespace * Use __FUNCTION__ instead of __func__ * Add unimplemented check which always fail Thanks Brian and Keith. | |||
2010-04-29 | util: Add small caps checker helper | Jakob Bornecrantz | |
2010-04-29 | util: Format error format string as the rest of the pipe formats | Jakob Bornecrantz | |
2010-04-29 | draw llvm: stay in bounds even if fetch_count % 4 != 0 | Zack Rusin | |
if fetch_count % 4 != 0 then on the last iteration we fetch garbage. this patch makes sure we stay within bounds | |||
2010-04-29 | cso: remove commented-out code, update function docs | Brian Paul | |
2010-04-29 | gallivm: add some assertions in special-case sampler code | Brian Paul | |
2010-05-19 | util: Remove unused imports from Python scripts. | Vinson Lee | |
2010-05-19 | util: Remove unnecessary semicolons in Python scripts. | Vinson Lee | |
2010-05-19 | tgsi: Implement OPCODE_DIV. | Michal Krol | |
2010-05-17 | gallivm: Tweak ret_mask handling. | José Fonseca | |
2010-05-17 | gallivm: implement function calls by inlining | Zack Rusin | |
with this approach we inline the entire function body in the caller | |||
2010-05-15 | util: Remove unused cruft. | José Fonseca | |
2010-05-15 | draw: Use GALLIVM_DEBUG opt. | José Fonseca | |
2010-05-15 | gallivm: Centralize some of the LLVM debugging options. | José Fonseca | |
2010-05-15 | gallivm: Temporarily remove function call support | José Fonseca | |
Commits moved to the gallivm-call feature branch for further experimentation and stabilization. | |||
2010-05-15 | gallivm: use our util_snprintf | Zack Rusin | |
2010-05-15 | gallivm: implement function calls | Zack Rusin | |
2010-05-14 | gallivm: added some vector length sanity checks | Brian Paul | |
2010-05-14 | gallivm: added lp_sizeof_llvm_type() | Brian Paul | |
2010-05-14 | gallivm: comments, const qualifiers | Brian Paul | |
2010-05-14 | tgsi: clean up in emit_fetch() | Brian Paul | |
2010-05-14 | tgsi: add a dummy function to silence warning | Brian Paul | |
2010-04-29 | gallium/draw: Fix PPC compiler warning. | Michel Dänzer | |
2010-04-29 | gallium/draw: Fix PPC build failure. | Michel Dänzer | |
2010-04-27 | gallium: fix glaring bugs in last commit | Roland Scheidegger | |
2010-04-26 | gallium: interface changes for multisampling | Roland Scheidegger | |
add function to set sample mask, and state for alpha-to-coverage and alpha-to-one. Also make it possible to query for supported sample count with is_msaa_supported(). Use explicit resource_resolve() to resolve a resource. Note that it is illegal to bind a unresolved resource as a sampler view, must be resolved first (as per d3d10 and OGL APIs, binding unresolved resource would mean that special texture fetch functions need to be used which give explicit control over what samples to fetch, which isn't supported yet). Also change surface_fill() and surface_copy() to operate directly on resources. Blits should operate directly on resources, most often state trackers just used get_tex_surface() then did a blit. Note this also means the blit bind flags are gone, if a driver implements this functionality it is expected to handle it for all resources having depth_stencil/render_target/sampler_view bind flags (might even require it for all bind flags?). Might want to introduce quality levels for MSAA later. Might need to revisit this for hw which does instant resolve. | |||
2010-04-26 | gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOP | Alan Hourihane | |
2010-04-26 | draw: Always use the llvm middle end when available & enabled. | José Fonseca | |
2010-04-26 | draw: Pass-through pipe_buffer::max_index to translate. | José Fonseca | |
max_index must be observed to prevent crashes due to bad index data. I've been using this patch for some time without regressions. Some places, where we use internal vertex buffer, it is not entirely clear what max_index should be, so passing just ~0 to avoid regressions for now. | |||
2010-04-26 | translate: Take and respect a max_index argument. | José Fonseca | |
2010-04-26 | os: Check for spurious wakeups in pipe_barrier_wait. | Vinson Lee | |
The POSIX function pthread_cond_wait can have spurious wakeups when waiting on a condition variable. Add a 64-bit counter that is incremented whenever the barrier becomes full. A woken thread checks the counter. If the counter has not changed then it has been spuriously woken and goes back to sleep. If the counter has changed then it was properly signaled and exits the barrier. Tested on Mac OS X. This patch was based on ideas from Luca Barbieri. | |||
2010-04-26 | llvmpipe: Respect pipe_sampler_view::swizzle_r/g/b/a | José Fonseca | |
This allows u_sampler_view_default_dx9_template to do its magic on DX9. | |||
2010-04-25 | draw: Respect pipe_vertex_buffer::max_index in llvm generated code. | José Fonseca | |
Everybody should respect max_index, specially llvm generated code, which likes to eat vertices 4 at a time, so it may end up chew a bit a bit more than actually exists. | |||
2010-04-25 | gallivm: Rename variable info to opcode_info. | Vinson Lee | |
Avoid hiding existing variable already named info in outer scope. | |||
2010-04-24 | gallivm: Remove NULL check of pointer that can't be NULL. | Vinson Lee | |
info cannot be NULL at the call to debug_printf. emit_instruction dereferences info, so at debug_printf it is either not NULL or the program has already crashed. | |||
2010-04-24 | llvmpipe: Implement shader bias. | José Fonseca | |
Fixes glean glsl1 test: texture2D(), with bias. | |||
2010-04-24 | util: Add missing static keyword. | José Fonseca | |
2010-04-24 | util: Fix unsigned <-> ptr conversions. | José Fonseca | |
2010-04-24 | gallivm: Centralize the cpu caps detection. | José Fonseca | |
2010-04-24 | cso_cache: Ensure irrelevant state of the blend state is zeroed. | José Fonseca | |
Otherwise drivers that bake the full blend state in a key end up having uninitialized memory in their key. Courtesy of valgrind. | |||
2010-04-24 | gallivm: LLVMConstBitCast -> LLVMBuildBitCast | José Fonseca | |
As the argument in general might not be a constant. | |||
2010-04-23 | gallium: In option helpers, move assignment outside of if clause. | Vinson Lee | |
This silences Coverity assign_where_compare_meant warnings. | |||
2010-04-23 | gallium/util: document that pack/unpack strides are in bytes | Brian Paul | |
2010-04-23 | gallium/draw: remove old comment | Brian Paul | |
2010-04-23 | gallium: Convert some uses of get option to static | Jakob Bornecrantz | |
2010-04-23 | gallium: Add static get option helpers | Jakob Bornecrantz | |
2010-04-23 | gallium: Add option to not print options | Jakob Bornecrantz | |