Keith Whitwell
4ea94c04c9
i965g: format RELOCs similarly
2009-11-02 08:50:16 +00:00
Keith Whitwell
23c2ba8280
i965g: rename brw_constant_buffer to brw_curbe_buffer
...
Now that there are real constant buffers, try to reduce naming confusion.
2009-11-02 08:48:26 +00:00
Younes Manton
87d7c1aa15
nouveau: Assume all texture blankets are linear for now.
2009-11-01 18:27:47 -05:00
Corbin Simpson
1f630fa016
r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.
...
Cleared out my git stash.
2009-11-01 11:54:52 -08:00
Keith Whitwell
15a8ac2c9d
i965g: driver and winsys compile
...
A milestone of sorts. Still a long way from something working --
the old one compiled too, at least some of the time...
2009-11-01 19:30:53 +00:00
Maciej Cencora
3d73852121
r300g: fix geometry corruptions
...
PVS flush is needed before changing the vertex shader or vertex shader constants.
2009-11-01 11:02:02 -08:00
Maciej Cencora
2db46af875
r300g: split constant buffer and shader emittion
2009-11-01 11:01:40 -08:00
Keith Whitwell
efda453d64
i965g: the whole drivers/i965 directory is compiling
...
That was a lot more work than I expected. Still the winsys to go,
then the small matter of making it work and re-enabling the
missing functionality.
2009-11-01 17:55:16 +00:00
Corbin Simpson
cab749a1d0
r300g: Adopt osiris' PSC data and swizzle.
...
A fair amount more flexible and easier to maintain.
2009-11-01 09:24:02 -08:00
Keith Whitwell
4a3e002cf9
i965g: more files compiling
2009-11-01 17:18:56 +00:00
Keith Whitwell
6981bbfabe
i965g: more files compiling
2009-11-01 15:59:21 +00:00
Keith Whitwell
15e7a3b8bb
i965g: more files compiling
2009-11-01 14:33:01 +00:00
Christoph Bumiller
5de8f97440
nv50: handle TGSI_SEMANTIC_FACE
2009-11-01 14:28:08 +01:00
Christoph Bumiller
496c9eaacf
nv50: make IF condition safe
...
Don't assume that a SET that writes to IF's argument
directly precedes the IF.
2009-11-01 14:28:04 +01:00
Christoph Bumiller
99e308a0e0
nv50: implement TGSI_OPCODE_AND/OR/XOR
...
Will use AND for gl_FrontFacing, the face input
is either 0 or 0xffffffff.
2009-11-01 14:27:35 +01:00
Keith Whitwell
39448a9aa0
i965g: more files compiling
2009-11-01 13:11:56 +00:00
Keith Whitwell
9b18ca0955
i965g: more work on compilation -- surface management
2009-11-01 12:08:14 +00:00
Keith Whitwell
e7b7600082
i965g: more work on compilation
2009-10-31 20:05:19 +00:00
Christoph Bumiller
1cc16e1b83
nv50: fix textures with block size != cpp
...
First, using width * block size as pitch is evidently
wrong if a block contains more than 1 texel.
For tiled textures, since a block occupies a contiguous
area of memory, y addressing in m2mf has to be done by
block index, not the y coordinate itself.
This should fix compressed textures.
2009-10-31 20:51:09 +01:00
Keith Whitwell
f202a34cb1
i965g: non-glsl fragment shader path is compiling
...
Disabled glsl code for now, probably want to clean this up somehow.
2009-10-31 18:23:14 +00:00
Keith Whitwell
5d61b6f1f6
i965g: wip on fragment shaders
2009-10-31 15:05:01 +00:00
Younes Manton
91232b7004
nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.
2009-10-31 09:42:49 -04:00
Christoph Bumiller
9831e1f76c
nv50: use SIFC also for shader upload
...
Adds a more generic SIFC transfer function.
2009-10-31 13:40:33 +01:00
Christoph Bumiller
525f529d13
nv50: make MRTs work
...
We have to indicate to the hw whether the FP exports
multiple colour results.
Method 0x121c is used to specify the number of RTs.
Also deactivate zeta explicitly if there's no zsbuf.
2009-10-31 13:40:33 +01:00
Dave Airlie
73b45b0669
radeon: add missing include
2009-10-31 21:24:50 +10:00
Marek Olšák
c9928ac3ee
r300g: correct the pitch calculation for smaller mipmaps
2009-10-31 07:30:48 +01:00
Marek Olšák
3f60130b87
r300g: pretend NPOT support
...
It's requires to get GL2.1, therefore, much more piglit tests can be used
for testing. Figure out later how to emulate this.
2009-10-31 07:30:48 +01:00
Marek Olšák
a8f85dceb5
r300g: fix reading from the destination buffer in blending
2009-10-31 07:30:48 +01:00
Marek Olšák
63c9450ae7
r300g: add precalculating of pixel pitch, add a new NPOT flag
2009-10-31 07:30:48 +01:00
Marek Olšák
11180b4471
r300g: remove unnecessary assertions
...
Also, correct typos in comments.
2009-10-31 07:30:48 +01:00
Marek Olšák
ace78d90de
r300g: fix crash in r300_is_texture_referenced
...
Also, a subtle fix in emitting a texture state
2009-10-31 07:30:47 +01:00
Dave Airlie
5cf7c8e2d5
radeon: use _mesa_get_current_tex_unit
2009-10-31 15:50:12 +10:00
Brian Paul
5e9f97f0ea
ARB prog parser: regenerated files
2009-10-30 19:08:19 -06:00
Brian Paul
df5615de1f
ARB prog parser: new set_src_reg(), set_dst_reg() helpers
...
These functions do sanity checks on the register file and index.
2009-10-30 19:08:18 -06:00
Brian Paul
a71edc9455
mesa: better error message
2009-10-30 19:08:18 -06:00
Eric Anholt
7c8bed62e0
intel: Use GTT mapping when available for swrast.
...
This improves piglit quick.tests runtime from 19:33 minutes to 6:06 on
my GM45. It should also hide most of the A17 swizzling issues, though
they'll still exist when swapping occurs (which is the kernel's problem
either way).
2009-10-30 17:35:12 -07:00
Eric Anholt
d63c29ef20
x86: Fix the test for negative pixel count in optimized rgb565 spans.
...
There's a bunch of bogus looking stuff the count handling in this code, but
this fixes the testcases we have.
2009-10-30 17:35:11 -07:00
Eric Anholt
21a3a79371
intel: Fix up z24_x8 depth spans since the texformat merge.
2009-10-30 17:35:11 -07:00
Eric Anholt
cb132406de
i965: Add an index assert on get_fp_inst array like other compiler arrays.
2009-10-30 13:28:44 -07:00
Eric Anholt
2c30ee9bd6
i965: Fix BRW_WM_MAX_INSN to reflect current limits.
...
Part of fixing bug #24355 .
2009-10-30 13:20:34 -07:00
Eric Anholt
2073006c95
intel: Set the texture format in the TFP path.
...
This fixes a regression in piglit's tfp test as of
11caea687e . Additionally, set the texture
format for the RGB textures to MESA_FORMAT_XRGB8888 and support it in the
hw paths so that hopefully sw fallbacks involving TFP get better alpha
behavior.
The radeon drivers appear to need the same fix.
Bug #24803
2009-10-30 12:41:28 -07:00
Alex Deucher
b568a2c808
r600: remove duplicate line
2009-10-30 15:08:09 -04:00
Alex Deucher
703a836d40
r600: fill in some missing tex formats
...
This improves shadowtex since the component ordering
is at least correct now, but I'm not sure how to
deal with texturing from a depth surface yet due to
differences in depth and color tile layouts.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-30 15:02:34 -04:00
Alex Deucher
57864f6e04
r600: fix a warning, update comments
2009-10-30 11:52:02 -04:00
Andre Maasikas
5f7d5d3ea3
r600: use AUTO_INDEX for draw - saves cmd buffer space
...
also seems we can use INDX_OFFSET if start != 0
2009-10-30 17:18:00 +02:00
Brian Paul
409469fb70
intel: fix up some XRGB breakage
...
We weren't choosing the right XRGB span functions for reading the
framebuffer. XRGB formats still aren't turned on yet though.
2009-10-30 09:13:04 -06:00
Brian Paul
730a3de9f9
mesa: fix inverted buffer object test
...
Fixes bug 24799.
2009-10-30 08:31:01 -06:00
Brian Paul
71cd40bccf
mesa: fix incorrect format info for MESA_FORMAT_SL8
...
Fixes bugs 24798 and 24801.
2009-10-30 08:21:16 -06:00
Chow Loong Jin
35506dec67
Add --with-dri-searchpath argument
...
* Add an extra argument to configure which allows for specifying
different DRI driver search paths to libGL (FDO #24766 )
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-10-30 06:00:13 -07:00
Michal Krol
ca9c413647
softpipe: Respect gl_rasterization_rules in primitive setup.
2009-10-30 08:05:40 +00:00