Eric Anholt
74dffb39c3
i965: Factor out the ir comparision to BRW_CONDITIONAL_* code.
14 years ago
Vinson Lee
f3319561a4
glcpp: Add negative tests for redefintions with valueless macros.
14 years ago
Dave Airlie
17004b3954
tgsi_dump: fix assert due to missing property name.
14 years ago
Marek Olšák
33e0b726e8
r300g: rename aos to vertex arrays
14 years ago
Marek Olšák
d9b84017e0
r300g: mark vertex arrays as dirty after a buffer_offset change
We shouldn't hit this bug in theory.
NOTE: This is a candidate for the 7.10 branch.
14 years ago
Zhenyu Wang
689aca7822
i965: Fix occlusion query on sandybridge
Clear target query buffer fixed occlusion query on sandybridge.
https://bugs.freedesktop.org/show_bug.cgi?id=32167
14 years ago
Zhenyu Wang
59fa8600d8
Revert "i965: upload multisample state for fragment program change"
This reverts commit de6fd527a5
.
Revert this workaround as it seems the real trouble is caused by
lineloop, which doesn't require GS convert on sandybridge actually.
14 years ago
Kenneth Graunke
6bb1e4541e
i965: Internally enable GL_NV_blend_square on ES2.
Hopefully should fix bug #32520 .
14 years ago
Christoph Bumiller
0cb6d1a4eb
nvc0: reference the vertex buffers
14 years ago
Christoph Bumiller
4fa429c876
nvc0: reenable some shader optimizations
CSE and constants folding.
14 years ago
Christoph Bumiller
a10b1c1204
nvc0: use VTX_ATTR for stride 0 vertex attributes
14 years ago
Christoph Bumiller
e4349027f6
nvc0: implement VRAM buffer transfers with bounce buffers
14 years ago
Christoph Bumiller
abd08f4c01
nvc0: init miptree transfer layer stride
14 years ago
Xiang, Haihao
b832ae8a4a
i965: don't spawn GS thread for LINELOOP on Sandybridge
LINELOOP is converted to LINESTRIP at the beginning of the 3D pipeline.
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=32596
14 years ago
Kenneth Graunke
634a7dce9c
i965: Flatten if-statements beyond depth 16 on pre-gen6.
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 .
14 years ago
Kenneth Graunke
9ac6a9b2fa
glsl: Support if-flattening beyond a given maximum nesting depth.
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.
14 years ago
Christoph Bumiller
780fbecc20
nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINES
14 years ago
Christoph Bumiller
96def0c314
nvc0: fix layer stride state
14 years ago
Christoph Bumiller
2c20aae233
nvc0: use most defs/decls from nouveau_pushbuf.h
14 years ago
Ben Skeggs
82e0a38eed
nvc0: remove unused 'buf' parameter in pipe_buffer_unmap
14 years ago
Ben Skeggs
317a1445c8
nvc0: BEGIN_RING->BEGIN_RING_NI in a couple of places
14 years ago
Ben Skeggs
e4e1a85bf8
nvc0: fence.bo is mappable, mark it as such
14 years ago
Ben Skeggs
e52ebd6e85
Merge remote branch 'origin/master' into nvc0-new
Conflicts:
src/gallium/drivers/nouveau/nouveau_winsys.h
14 years ago
Ben Skeggs
5c102dd94f
nouveau: fix includes for latest libdrm
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
14 years ago
Tom Fogal
cd9ed3da68
Regenerate gl_mangle.h.
NOTE: This is a candidate for the 7.10 branch.
14 years ago
Jerome Glisse
abe9ffc25c
r600g: properly unset vertex buffer
Fix bug http://bugs.freedesktop.org/show_bug.cgi?id=32455
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
14 years ago
Vinson Lee
a14f79f801
st/python: remove unused 'buf' parameter in pipe_buffer_unmap
This is a follow-up to commit ec51092a72
.
Fixes SCons build.
14 years ago
Marek Olšák
ec51092a72
gallium: remove unused 'buf' parameter in pipe_buffer_unmap
14 years ago
Vinson Lee
c451aade88
st/mesa: Remove comment cruft from st_context.h.
This was unintentionally added by commit
1525fb4afe
.
14 years ago
Vinson Lee
2dd788663a
st/mesa: Clean up header file inclusion in st_cb_texture.h.
14 years ago
Vinson Lee
10eb0c39d5
st/mesa: Clean up header file inclusion in st_cb_readpixels.h.
14 years ago
Christoph Bumiller
9f2cf89957
nvc0: s/INLIN_RING/IMMED_RING
14 years ago
Christoph Bumiller
608b3c4432
nvc0: improve shader support for texturing
Fixed shadow and cube texture fetches, add array texture fetches.
14 years ago
Christoph Bumiller
ca5deb0c35
nvc0: adapt to array textures interface change
14 years ago
Christoph Bumiller
0f68236a24
Merge remote branch 'origin/master' into nvc0-new
14 years ago
Christoph Bumiller
d047168d81
nvc0: fix clipping with scissors/viewport
Also setup optional path to use proper primitive clipping instead,
which is probably slower.
14 years ago
Christoph Bumiller
e9de2a31a5
nvc0: use BIND_RING to set subchannel classes
14 years ago
Christoph Bumiller
f0f1cce962
nvc0: switch to the proper constants upload path
Makes things suddenly go surprisingly fast.
14 years ago
Christoph Bumiller
99f9a9727c
nvc0: add the index buffer offset where missing
14 years ago
Marek Olšák
237880463d
r300g: optimize the fallback for misaligned ushort indices
14 years ago
Vinson Lee
c87f82bc40
st/mesa: Clean up header file inclusion in st_cb_program.h.
14 years ago
Vinson Lee
ac09685d2a
st/mesa: Clean up header file inclusion in st_cb_accum.h.
14 years ago
Vinson Lee
488e994ba9
mesa: Clean up header file inclusion in prog_statevars.h.
14 years ago
Dave Airlie
aa4d311873
mesa: fix queryobj whitespace.
Had done this before pushing but forgot to amend, doh.
14 years ago
Dave Airlie
ff7aa554a1
mesa/swrast/st: add ARB_occlusion_query2 support.
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>
15 years ago
Chia-I Wu
7048095513
mapi: Clean up sources.mk.
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.
14 years ago
Chia-I Wu
c17d4999f1
mapi: Clean up u_current interface.
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.
14 years ago
Chia-I Wu
c7119e281b
mapi: Add ABI-tag note.
TLS requires kernel >= 2.4.20. Per glapi.
14 years ago
Kenneth Graunke
a954dbeb8c
Refresh autogenerated file builtin_function.cpp.
NOTE: The 7.9 and 7.10 branches will need their builtins refreshed too.
Rather than cherry-picking this commit, run 'make builtins'.
14 years ago
Kenneth Graunke
d7423a6531
glsl/builtins: Compute the correct value for smoothstep(vec, vec, vec).
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.
14 years ago