Commit Graph

34063 Commits

Author SHA1 Message Date
José Fonseca
caede7528d draw: Remove draw_pt_fetch_prepare call from llvm middle end.
Unneeded since we code generate the vertex fecthes.
2010-05-03 12:15:32 +01:00
José Fonseca
14a0328d4b tgsi: Parse and dump predicates. 2010-05-03 12:13:54 +01:00
José Fonseca
d288698a76 gallium: Remove loop register file.
It was only used for D3D's REP/END/BGNFOR/ENDFOR. D3D's aL register is
just like another address register now.
2010-05-03 10:53:32 +01:00
José Fonseca
e27983bc08 gallivm: Replace predicate assertion failure with warning message. 2010-05-03 09:54:01 +01:00
José Fonseca
d44c8ee568 draw: Disable rtasm compilation when using LLVM.
Saves time and trouble.
2010-05-03 09:53:12 +01:00
Dave Airlie
738cb50237 nouveau: fix nouveau_create_context decleration 2010-05-03 17:09:54 +10:00
Dave Airlie
e8f48b1dc9 softpipe: invalidate cache view when swizzles are different.
Current code only invalidated if the texture was different, however we
store swizzled values in the cache, so we need to invalidate in that case
also.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-05-03 16:27:42 +10:00
Dave Airlie
26a9b7e4c7 glx: fix regression with GLX_USE_GL
update for fbconfig_style_tags
2010-05-03 16:17:25 +10:00
Zack Rusin
d2b6ed7c4d gallivm: fix nested break and continue statements
we were resetting the mask on each new break/continue statement within
the same scope. we always need to and the current execution mask
with the current break/continue mask to get the correct result (the
masks are always ~1 initially)
2010-05-02 21:40:30 -04:00
Jakob Bornecrantz
c2c1f60391 identity: Move sampler view create and destroy to id_objects.c 2010-05-03 00:27:38 +01:00
Jakob Bornecrantz
59b160d286 identity: s/texture/resource/ 2010-05-03 00:27:37 +01:00
Jakob Bornecrantz
eda7c2506a identity: Whitespace & Style 2010-05-03 00:27:37 +01:00
Jakob Bornecrantz
83a1a0bc3e swrast: Correct include for mtypes.h 2010-05-03 00:27:37 +01:00
Luca Barbieri
d0f9e7521c gallium/util: print \n after DXTn printf
Re-add commit 2d65a7caf9

Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-03 00:14:20 +01:00
Xavier Chantry
5362f77b47 llvmpipe: add lp_test_* to .gitignore
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-03 00:13:36 +01:00
José Fonseca
b84590994c svga: Remove the screen private context.
All affected operations have already been moved to context.

More cleanup work can be done, in particular with the buffer transfers.
2010-05-03 00:13:36 +01:00
José Fonseca
49e37469bd svga: Remove empty file. 2010-05-03 00:13:36 +01:00
José Fonseca
7e28479c3a svga: Update flags documentation. 2010-05-03 00:13:36 +01:00
José Fonseca
4885cd4ff7 softpipe: Fix alpha blending for formats without alpha channel.
Don't use the dst alpha channel from the tile cache when it does not
exist in the true format.
2010-05-03 00:13:36 +01:00
José Fonseca
59253a79d8 llvmpipe: Fix alpha blending for formats without alpha channel.
Don't use the dst alpha channel from the swizzled tile when it does not
exist in the true format.
2010-05-03 00:13:36 +01:00
Xavier Chantry
b44c52870d Update drisw state tracker to use new API aware context create
Even though swrast defines its own __DriverAPIRec it still shares the
driCreateNewContext() implementation from dri_util.c.  So the CreateContext
prototypes have to match in the two __DriverAPIRecs.

Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
2010-05-02 17:46:43 -04:00
Vinson Lee
6edb18ee35 svga: Include svga_surface.h in svga_screen.c.
Fixes svga_screen_init_surface_functions implicit declaration warning.
2010-05-02 13:34:50 -07:00
Vinson Lee
1a30d98159 r300g: Remove unnecessary header. 2010-05-02 13:30:40 -07:00
Xavier Chantry
38e3fb23da Update dri state tracker to use new API aware context create 2010-05-02 16:27:42 -04:00
Vinson Lee
801dcd9e8f mesa: Include api_exec.h in dlist.c.
Fixes _mesa_alloc_dispatch_table implicit declaration warning.
2010-05-02 13:22:37 -07:00
Marek Olšák
b08b7b7377 r300g: do not validate buffers in check_cs
It's already done in r300_emit_buffer_validate.
This also fixes Total Annihilation 3D on debug builds at least.
2010-05-02 20:59:47 +02:00
Marek Olšák
3b2cf97c5c r300g: fix surface_copy for compressed formats
No accelerated blitting for these, it's too messy.
2010-05-02 20:59:47 +02:00
Kristian Høgsberg
2df3c361ef configure.ac: Fix test for whether to build src/gles 2010-05-02 14:52:39 -04:00
Kristian Høgsberg
aa8606fb23 mesa: Include mfeatures.h before testing feature macros 2010-05-02 14:19:54 -04:00
Kristian Høgsberg
da76a4d845 mesa: Only compile ES files when ES1 or ES2 are selected
This still requieres manual generation of the es1 and es2 glapis and is
disabled by default.
2010-05-02 14:09:52 -04:00
José Fonseca
559d124ed3 mesa: #ifdef out more remap_table related code when disabled.
Seems to get everything building again here.
2010-05-02 16:10:40 +01:00
José Fonseca
316b6fa509 retrace: Add sampler_view_destroy 2010-05-02 15:32:09 +01:00
José Fonseca
db1ed3da6c trace: Fix typo in method name. 2010-05-02 15:32:09 +01:00
Kristian Høgsberg
0870e4a202 Merge branch 'gles2-2'
Conflicts:
	src/mesa/drivers/dri/common/dri_util.h
2010-05-02 10:17:07 -04:00
Kristian Høgsberg
9fd5fa0512 Hook in install rules for es1 and es2 2010-05-02 10:14:53 -04:00
Kristian Høgsberg
74399d4af5 Add glesv2.pc and glesv1_cm.pc pkg-config files for ES 1 and 2 2010-05-02 09:51:13 -04:00
Kristian Høgsberg
a804af2a1e st/mesa: Create context for API_OPENGL as first priority 2010-05-02 09:27:51 -04:00
Marek Olšák
9d33605673 r300g: always set the pitch of the first miplevel in the tiling flags
This further reduces the number of DRM calls and flushes.
2010-05-02 13:27:57 +02:00
Marek Olšák
82027b2027 Revert "r300g: disable point sprites (again)"
This reverts commit 3e0f1719d4.
2010-05-02 12:56:34 +02:00
Marek Olšák
68e720e12d r300g: merge VS output mapping state (VAP) to rasterizer block state (RS)
These two should be tied together because what's set in VAP or stuffed in GA
should be rasterized in RS. Not doing so causes a hardlock.

The reason for the merge is that if stuffed texture coordinates (e.g. point
sprite texgen) happen to occupy the texcoord slot dedicated to fog or wpos,
the two must be relocated to other free slots, which needs remapping the vertex
shader outputs.

The rasterizer code is now literally a sequence read-rasterize-write.
2010-05-02 12:56:34 +02:00
Marek Olšák
35232172db r300g: inline update_derived_shader_state 2010-05-02 12:56:34 +02:00
Marek Olšák
45d79af644 r300g: fix segfault when resizing a DRI2 framebuffer
Resetting tiling flags might happen after a texture is destroyed...
Looking at the kernel sources, we don't actually need to reset the tiling
flags.
2010-05-02 12:56:34 +02:00
Marek Olšák
5c6ea462be r300g: cache tiling flags to reduce the number of DRM calls 2010-05-02 12:56:33 +02:00
Vinson Lee
fc1be4a994 mesa: s/sprintf/_mesa_snprintf/ 2010-05-02 01:03:59 -07:00
Vinson Lee
3c86e2f1dc i965g: s/sprintf/util_snprintf/ 2010-05-02 00:21:04 -07:00
Vinson Lee
f4874705d9 glsl: s/sprintf/_mesa_snprintf/ 2010-05-01 22:01:28 -07:00
Vinson Lee
9446fd8f69 glapi: s/strcpy/strncpy/ 2010-05-01 15:34:47 -07:00
Vinson Lee
70c7531051 llvmpipe: Remove unused variable. 2010-05-01 15:12:45 -07:00
Vinson Lee
33c34c0806 progs/tests: Remove meaningless const qualifiers. 2010-05-01 15:07:45 -07:00
Jakob Bornecrantz
cd502e5f5c swrastg: Use trace 2010-05-01 11:31:59 +01:00