summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-28r300g: rename aos to vertex arraysMarek Olšák
2010-12-28r300g: mark vertex arrays as dirty after a buffer_offset changeMarek Olšák
We shouldn't hit this bug in theory. NOTE: This is a candidate for the 7.10 branch.
2010-12-28i965: Fix occlusion query on sandybridgeZhenyu Wang
Clear target query buffer fixed occlusion query on sandybridge. https://bugs.freedesktop.org/show_bug.cgi?id=32167
2010-12-28Revert "i965: upload multisample state for fragment program change"Zhenyu Wang
This reverts commit de6fd527a545f8344e074312544517d05573fb72. Revert this workaround as it seems the real trouble is caused by lineloop, which doesn't require GS convert on sandybridge actually.
2010-12-27i965: Internally enable GL_NV_blend_square on ES2.Kenneth Graunke
Hopefully should fix bug #32520.
2010-12-27nvc0: reference the vertex buffersChristoph Bumiller
2010-12-27nvc0: reenable some shader optimizationsChristoph Bumiller
CSE and constants folding.
2010-12-27nvc0: use VTX_ATTR for stride 0 vertex attributesChristoph Bumiller
2010-12-27nvc0: implement VRAM buffer transfers with bounce buffersChristoph Bumiller
2010-12-27nvc0: init miptree transfer layer strideChristoph Bumiller
2010-12-27i965: don't spawn GS thread for LINELOOP on SandybridgeXiang, Haihao
LINELOOP is converted to LINESTRIP at the beginning of the 3D pipeline. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=32596
2010-12-27i965: Flatten if-statements beyond depth 16 on pre-gen6.Kenneth Graunke
Gen4 and Gen5 hardware can have a maximum supported nesting depth of 16. Previously, shaders with control flow nested 17 levels deep would cause a driver assertion or segmentation fault. Gen6 (Sandybridge) hardware no longer has this restriction. Fixes fd.o bug #31967.
2010-12-27glsl: Support if-flattening beyond a given maximum nesting depth.Kenneth Graunke
This adds a new optional max_depth parameter (defaulting to 0) to lower_if_to_cond_assign, and makes the pass only flatten if-statements nested deeper than that. By default, all if-statements will be flattened, just like before. This patch also renames do_if_to_cond_assign to lower_if_to_cond_assign, to match the new naming conventions.
2010-12-23nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINESChristoph Bumiller
2010-12-23nvc0: fix layer stride stateChristoph Bumiller
2010-12-23nvc0: use most defs/decls from nouveau_pushbuf.hChristoph Bumiller
2010-12-21nvc0: remove unused 'buf' parameter in pipe_buffer_unmapBen Skeggs
2010-12-21nvc0: BEGIN_RING->BEGIN_RING_NI in a couple of placesBen Skeggs
2010-12-21nvc0: fence.bo is mappable, mark it as suchBen Skeggs
2010-12-21Merge remote branch 'origin/master' into nvc0-newBen Skeggs
Conflicts: src/gallium/drivers/nouveau/nouveau_winsys.h
2010-12-21nouveau: fix includes for latest libdrmBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-20Regenerate gl_mangle.h.Tom Fogal
NOTE: This is a candidate for the 7.10 branch.
2010-12-20r600g: properly unset vertex bufferJerome Glisse
Fix bug http://bugs.freedesktop.org/show_bug.cgi?id=32455 Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-20st/python: remove unused 'buf' parameter in pipe_buffer_unmapVinson Lee
This is a follow-up to commit ec51092a72e2dff1e9b1362d813fe4691cda89b7. Fixes SCons build.
2010-12-20gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák
2010-12-20st/mesa: Remove comment cruft from st_context.h.Vinson Lee
This was unintentionally added by commit 1525fb4afec0adc164948b4060ec1c0359441cd3.
2010-12-20st/mesa: Clean up header file inclusion in st_cb_texture.h.Vinson Lee
2010-12-20st/mesa: Clean up header file inclusion in st_cb_readpixels.h.Vinson Lee
2010-12-19nvc0: s/INLIN_RING/IMMED_RINGChristoph Bumiller
2010-12-19nvc0: improve shader support for texturingChristoph Bumiller
Fixed shadow and cube texture fetches, add array texture fetches.
2010-12-19nvc0: adapt to array textures interface changeChristoph Bumiller
2010-12-19Merge remote branch 'origin/master' into nvc0-newChristoph Bumiller
2010-12-19nvc0: fix clipping with scissors/viewportChristoph Bumiller
Also setup optional path to use proper primitive clipping instead, which is probably slower.
2010-12-19nvc0: use BIND_RING to set subchannel classesChristoph Bumiller
2010-12-19nvc0: switch to the proper constants upload pathChristoph Bumiller
Makes things suddenly go surprisingly fast.
2010-12-19nvc0: add the index buffer offset where missingChristoph Bumiller
2010-12-19r300g: optimize the fallback for misaligned ushort indicesMarek Olšák
2010-12-18st/mesa: Clean up header file inclusion in st_cb_program.h.Vinson Lee
2010-12-18st/mesa: Clean up header file inclusion in st_cb_accum.h.Vinson Lee
2010-12-18mesa: Clean up header file inclusion in prog_statevars.h.Vinson Lee
2010-12-18mesa: fix queryobj whitespace.Dave Airlie
Had done this before pushing but forgot to amend, doh.
2010-12-18mesa/swrast/st: add ARB_occlusion_query2 support.Dave Airlie
This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-18mapi: Clean up sources.mk.Chia-I Wu
Rename MAPI_GLAPI_SOURCES to MAPI_UTIL_SOURCES. Rename macro MAPI_GLAPI_CURRENT to MAPI_MODE_UTIL. Update the comments to make it clear that mapi may be used in two ways and how.
2010-12-18mapi: Clean up u_current interface.Chia-I Wu
Try not to use macros to make u_current.h appear to be glapi.h. Use u_current.h to implement glapi.h instead whenever possible.
2010-12-18mapi: Add ABI-tag note.Chia-I Wu
TLS requires kernel >= 2.4.20. Per glapi.
2010-12-17Refresh autogenerated file builtin_function.cpp.Kenneth Graunke
NOTE: The 7.9 and 7.10 branches will need their builtins refreshed too. Rather than cherry-picking this commit, run 'make builtins'.
2010-12-17glsl/builtins: Compute the correct value for smoothstep(vec, vec, vec).Kenneth Graunke
These mistakenly computed 't' instead of t * t * (3.0 - 2.0 * t). Also, properly vectorize the smoothstep(float, float, vec) variants. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2010-12-17gallivm: Cleanup util_format_xxx_fetch_xxx call generation.José Fonseca
No need to register function prototypes in the module now that we call the C function pointer directly -- less LLVM objects lying around. Limited testing with lp_test_format.
2010-12-17glsl: Expose a public glsl_type::void_type const pointer.Kenneth Graunke
This is analogous to glsl_type::int_type and all the others.
2010-12-17r300g: finally fix the texture corruption on r3xx-r4xxMarek Olšák
Even though a bound texture stays bound when calling set_fragment_sampler_views, it must be assigned a new cache region depending on the occupancy of other texture units. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28800 Thanks to Álmos <aaalmosss@gmail.com> for finding the bug in the code. NOTE: This is a candidate for both the 7.9 and 7.10 branches.