Commit Graph

92185 Commits

Author SHA1 Message Date
Brian fa82d86368 Cell: send actual vertex size in the render command 2008-01-24 16:47:23 -07:00
Brian 0673c571c7 Cell: rewrite compute_vertex_layout() 2008-01-24 16:41:03 -07:00
Brian 95ff06d610 Cell: fix asst. warnings 2008-01-24 16:39:34 -07:00
Brian c753e7adde gallium: added rastpos_destroy() 2008-01-24 16:05:33 -07:00
Eric Anholt f0310f7636 Bufmgr cleanup from intel-batchbuffer branch of 2d driver. 2008-01-24 13:00:13 -08:00
Eric Anholt 5f0d76204d Clean up comments/dead code from relocation buffer change. 2008-01-24 12:29:04 -08:00
Eric Anholt 8931585d2c Merge commit 'airlied/i915-ttm-cfu'
This requires current DRM which changes the relocation buffer from being a
buffer object to plain malloced memory.
2008-01-24 12:28:42 -08:00
Brian 6c29be9f41 i915: add case for TGSI_FILE_IMMEDIATE to avoid error, but still needs proper handling... 2008-01-24 09:59:39 -07:00
Brian 47b3afc53f Cell: use Cell driver by default if linux-cell is built
To disable the Cell driver and use softpipe instead, export GALLIUM_NOCELL=1
2008-01-24 09:18:43 -07:00
Brian b87c1ab2c0 Bring in previous 7.0.1/2 release notes, added Cell driver page. 2008-01-24 09:15:31 -07:00
Zack Rusin 6e2c3b3a49 disable usage of llvm in fragment shaders
it produces wrong results because it hasn't been adjusted to some
new changes and it will just be in the way while changing llvm
code to a different vector layout
2008-01-24 08:29:19 -05:00
Zack Rusin bac991d645 change the name of the shaders to reflect what they do.
remove stale code and do some general cleanups.
2008-01-24 07:49:36 -05:00
Brian 11349b6a5f Cell: s/FORMAT/EMIT/ 2008-01-23 23:33:35 -07:00
Brian 2549d79ae5 gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex as-is in vbuf code 2008-01-23 23:27:31 -07:00
Brian 6000dcc973 gallium: improved vertex layout and interpolant setup in softpipe 2008-01-23 23:08:59 -07:00
Dave Airlie a018abd446 i915: move to using copy from user for relocations 2008-01-24 14:38:50 +10:00
Ian Romanick dc1abc3932 Specify linker instead of letting mklib use gcc
This is the final bit required to get Cell builds on x86 working.
Without this, mklib tries to link using the x86 gcc instead of
ppu32-gcc.
2008-01-23 15:25:52 -08:00
Ian Romanick b3492a2052 Use HOST_CC for programs that will run on the build host 2008-01-23 15:25:52 -08:00
Ian Romanick ffcb4d8498 Use EXTRA_LIB_PATH with *_LIB_DEPS
Make sure EXTRA_LIB_PATH is used with all the LIB_DEPS.  Re-order some
of the options and tweak the whitespace to make the various LIB_DEPS
more readable.  This makes building for Cell on x86 a bit easier and
doesn't seem to effect other builds.
2008-01-23 15:25:52 -08:00
Ian Romanick eb4a7382dc Remove unnecessary paths
Removing the paths on certain commands (e.g., ppu32-gcc) and removing
-I/usr/include makes it possible to build for Cell on both PowerPC and
x86 hosts.
2008-01-23 15:25:52 -08:00
Brian f5d2c1eef9 Cell: remove old test code 2008-01-23 16:19:40 -07:00
Brian f19b2d7221 Cell: asst. updates to sync up with today's earlier gallium changes 2008-01-23 16:17:49 -07:00
Brian 4875b40304 Assorted patches for miniglx/linux-solo (Gavin Li <codeview@gmail.com>) 2008-01-23 16:03:19 -07:00
Brian 8de2331e43 gallium: remove support for separate depth/stencil buffers. Always combined now. 2008-01-23 15:45:52 -07:00
Brian 1cf3c77e08 gallium: in sp_tile_cache_clear() mark all cache slots as empty/free. Fixes progs/redbook/stencil.c 2008-01-23 15:39:34 -07:00
Brian 336e2cb9ec gallium: rework compute_vertex_layout() to intelligently map vs outputs to fs inputs
Some follow-on simplification in prim setup is possible...
2008-01-23 14:23:49 -07:00
Brian 2d37e78e63 gallium: restore/rewrite vbuf code for softpipe
Now based on the draw_vbuf code, instead being a custom one-off.
Disabled by default, enable with SP_VBUF env var.
2008-01-23 13:17:50 -07:00
Brian cd3643698e gallium: overhaul usage of vertex_info in draw module.
Remove all dependencies on vertex_info, except for draw_vbuf.
Drawing stages now strictly operate on post-transformed vertices and don't
know anything about hw vertices.
Use vertex program output info for two-side/flat/etc stages.
Temporarily disable vbuf module in softpipe driver.
2008-01-23 12:48:41 -07:00
Brian b3f081999f gallium: s/INTERP_NONE/INTERP_LINEAR/ to fix assertion with progs/samples/select.c 2008-01-23 09:27:39 -07:00
Brian 2444f6c6a4 gallium: fix computation of raster.point_size_per_vertex flag 2008-01-23 08:24:30 -07:00
Brian 46a787ad97 gallium: multiply vertex point size by 0.5 2008-01-23 08:24:08 -07:00
Ben Skeggs 9043323f14 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1 2008-01-23 15:27:00 +11:00
Brian 2a077500a8 Fix some issues with glDrawBuffer(GL_NONE), bug 14198
Set _ColorDrawBuffers[0] = NULL if no renderbuffers enabled.
Check that _ColorDrawBuffers[0] is non-null before dereferencing in a few places.
2008-01-22 21:11:55 -07:00
Brian 286380020b gallium: use temp reg for storing color to avoid reading 'result.color' 2008-01-22 20:52:48 -07:00
Brian 59e8f3e5e9 gallium: Don't allocate a vertex buffer until after setting the prim type.
The vertex size may depend on whether we're drawing points, lines or triangles.
2008-01-22 16:37:19 -07:00
José Fonseca 52264ec53d added stipple_destroy() 2008-01-22 16:35:50 -07:00
Adam Jackson e1ae5b89fc glxinfo: Fix multisample visual reporting.
strstr() == 0 tests for the string _not_ being present.  Originally
Red Hat bug #351871.
2008-01-22 14:57:20 -05:00
Brian f1fb69a6e5 gallium: Added FORMAT_1F_PSIZE to insert constant point size into vertices
Also, added draw_convert_wide_points/lines() so a driver can tell the draw
module whether to convert wide points/lines into triangles, or just pass
them through.
2008-01-22 10:17:28 -07:00
Kristian Høgsberg 46eb02b609 [intel] Clean up references to screen buffer metrics.
The screen wide info such as pitch and cpp are obsoleted by the FBO
changes, so clean up the last few references to those, except for
setting up the legacy screen regions.
2008-01-22 12:14:59 -05:00
Brian 5c82549d9e fix pc vs. gc->ps usage (bug 14197) 2008-01-22 08:40:29 -07:00
Brian 6bd32cbcf3 Don't build yuvrect_client by default
Added 'extra' rule to build optional yuvrect_client, shape, xdemo programs
2008-01-22 07:57:33 -07:00
Brian 60dd3b1d9a remove unused var 2008-01-22 07:57:33 -07:00
Alexey Sokolov e58c365cda define M_PI if needed 2008-01-22 07:57:33 -07:00
Brian 7049ff53f6 gallium: silence warnings 2008-01-21 21:19:24 -07:00
Brian cfeda4165b Cell: initial support for sampler state 2008-01-21 21:17:21 -07:00
Brian 0c085717cb Cell: s/cell_init_surface_funcs/cell_init_surface_functions/ 2008-01-21 21:17:21 -07:00
Brian 13189412d9 Cell: Added cell_surface.[ch] files 2008-01-21 21:17:21 -07:00
Brian a1799ecd82 gallium: remove unneeded protos, #includes, etc 2008-01-21 21:17:21 -07:00
Brian b91de8a6e7 gallium: include sp_headers.h 2008-01-21 21:17:21 -07:00
Brian 8538da0d7a Cell: renamed cell_surface.[ch] to cell_clear.[ch] 2008-01-21 21:17:21 -07:00