Commit graph

115447 commits

Author SHA1 Message Date
Keith Whitwell
a6ae4ea854 965: magic callback to get buffer offset 2007-12-13 16:36:07 +00:00
Brian
81c9058ea9 Add QuadX,Y fields to tgsi_exec_machine to pass quad's position to tgsi interpreter.
The tgsi linear/perspective attribute code now uses these values rather than
input[0].  Need to update SSE path to take quad x,y as function params.
Then, we can remove additional code.
2007-12-13 09:05:15 -07:00
Keith Whitwell
8cd608d5ba 965: missing code from last commit 2007-12-13 15:39:34 +00:00
Keith Whitwell
559750298a 965: remove dead code 2007-12-13 15:37:19 +00:00
Keith Whitwell
0c2e87d565 965: remove dead code 2007-12-13 15:37:19 +00:00
Keith Whitwell
19025605e9 965: remove dead code 2007-12-13 15:37:19 +00:00
Keith Whitwell
7abe2bfefa 965: remove dead code 2007-12-13 15:37:19 +00:00
Keith Whitwell
54f1ce3b27 965: remove reference to metaops 2007-12-13 15:37:19 +00:00
Keith Whitwell
1f1506ec94 965: use state atom array directly 2007-12-13 15:37:19 +00:00
Keith Whitwell
4844b9fb9d 965: calculate nr enabled vbos on the fly 2007-12-13 15:37:18 +00:00
Zack Rusin
da89104c57 Actually allocate the output registers.
In tgsi the output's will (hopefully) consecutive so this
check (besides not being currently implemented) is not
necessary.
2007-12-13 10:33:12 -05:00
Zack Rusin
6f111e9c81 Don't generate spurious vs, move the enable a bit to do that. 2007-12-13 10:31:39 -05:00
Ben Skeggs
868048fcc7 nv40: Do all fp setup in nv40_fragprog.c 2007-12-14 01:51:43 +11:00
Ben Skeggs
00f0f0d0a4 nouveau: mass renaming for consistency, no functional changes 2007-12-14 01:14:23 +11:00
Dan Nicholson
f116634933 Merge branch 'master' into autoconf2 2007-12-12 21:24:06 -08:00
Dan Nicholson
c79c93c0ac autoconf: Improve help text for demos and DRI drivers
Changed the text for the default demos to be "auto" instead of "yes"
since that didn't make much sense in this context. Added an example
value for the --with-dri-drivers option as suggested by Brian.
2007-12-12 18:13:04 -08:00
Dan Nicholson
f64d6fe0d3 autoconf: Update bug address and fix some autoconf warnings
Point bug reports to Bugzilla like bugs.html. Also, a warning from
autoconf w.r.t. AC_OUTPUT was cleaned up.
2007-12-12 17:57:45 -08:00
Dan Nicholson
a130718f44 autoconf: Consistently use xlib for the driver name
Brian suggested that there should be more consistency using xlib vs. x11
in the configure script. Changed the options and variables to suit.
2007-12-12 17:49:49 -08:00
Dan Nicholson
3e288627cb autoconf: Optional assembly usage with --disable-asm
Allow the user to disable use of assembly code through the --disable-asm
option. This is only relevant on the platforms where assembly is
normally enabled such as Linux and FreeBSD.
2007-12-12 17:39:21 -08:00
Ben Skeggs
72d47f1949 nouveau: more adaption.. 2007-12-13 11:55:35 +11:00
Ben Skeggs
f1c5415675 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1 2007-12-13 10:41:43 +11:00
Brian
417c295333 added r5g5b5_put_tile_rgba() 2007-12-12 16:30:49 -07:00
Brian
4416514aa8 Remove get/put_tile_rgba() functions.
Temporarily, use the functions from sp_rgba_tile.c
2007-12-12 16:05:38 -07:00
Brian
034476fc78 remove #include 2007-12-12 16:04:52 -07:00
Eric Anholt
37406c2038 [intel] Assert against conflicting relocation emits in bufmgr_fake.c 2007-12-12 15:03:15 -08:00
Brian
a4ca2591f6 Move float/rgba tile get/put functions into new file.
This should be moved into a gallium util lib (location tbd) so it can also
be used by the state tracker.
Then, remove the pipe->get/put_tile_rgba() functions.
2007-12-12 16:00:11 -07:00
Brian
708251558c PIPE_SCREEN_SURFACE no longer needed 2007-12-12 15:24:01 -07:00
Brian
20eae595fa Re-org of st_create_framebuffer() and renderbuffer format selection.
st_create_framebuffer() now takes pipe_formats for the color, depth, stencil
buffers.
This avoids a round-about chain of calls to pipe->is_format_supported() for
window renderbuffers (their format never changes).
Renderbuffer format selection code in st_format.c is simpler now too.
2007-12-12 14:55:57 -07:00
Brian
a51d0e419a move some code to avoid deref of NULL ptr 2007-12-12 14:45:22 -07:00
Eric Anholt
5ad260246b [965] Bug #13600: Fix assertion failure with SRGB textures.
I broke this with cherry-pick resolving on
93c98a4669.
2007-12-12 12:09:07 -08:00
Keith Whitwell
06036bc8c4 965: remove complex compiler for simple fragment programs.
Keep the simple compiler for complex fragment programs...
2007-12-12 20:09:04 +00:00
Keith Whitwell
ea7c533d40 965: sketch changes to brw_wm_surface_state.c 2007-12-12 20:09:04 +00:00
Keith Whitwell
216de6ab5b 965: delete dead files 2007-12-12 20:09:04 +00:00
Keith Whitwell
5978289df1 965: delete dead files 2007-12-12 20:09:03 +00:00
Keith Whitwell
20e6a9b86d 965: delete dead files 2007-12-12 20:09:03 +00:00
Brian
69292a0067 remove old assertion 2007-12-12 13:08:00 -07:00
Brian
829099210b add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface types 2007-12-12 12:59:45 -07:00
Brian
b22287d097 update format param type 2007-12-12 12:59:19 -07:00
Brian
d7aa446369 Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request. 2007-12-12 12:58:59 -07:00
Brian
77baacbab1 fix some mistakes in the _PIPE_FORMAT_x #defines 2007-12-12 12:58:04 -07:00
Eric Anholt
7c71ef3a3d [intel] Move bufmgr back to context instead of screen, fixing glthreads.
Putting the bufmgr in the screen is not thread-safe since the emit_reloc
changes.  It also led to a significant performance hit from pthread usage
for the attempted thread-safety (up to 12% of a cpu spent on refcounting
protection in single-threaded 965).  The motivation had been to allow
multi-context bufmgr sharing in classic mode, but it wasn't worth the cost.
2007-12-12 11:52:10 -08:00
Zack Rusin
a308a3e3f8 i965: compile vertex shaders and emit hardware instructions
impossible to test because fragment shaders haven't been done yet
and it crahses in the fragment shading code. but given that i'm
infallible (and highly dillusional) i'm sure it's correct.
2007-12-12 12:26:33 -05:00
Dan Nicholson
16a07fb556 autoconf: Report the compiler options in the summary
Report the compiler flags and macros that will be used in the build.
This just provides a quick way to see what configure has silently been
doing.
2007-12-12 09:12:15 -08:00
Dan Nicholson
23656c47c9 autoconf: Optional debug build with --enable-debug
Allow the user to set the compiler debug flags and macros through the
option --enable-debug. This addes -DDEBUG to the macros and -g to the
CFLAGS and CXXFLAGS if gcc and g++ are in use.
2007-12-12 09:02:31 -08:00
Dan Nicholson
41b00707e2 autoconf: More informative errors when pkg-config macros undefined
Added a check that PKG_PROG_PKG_CONFIG is defined before calling it so
the user can see a proper error. Without it, the generated configure
script will just pass on to the next statement and bomb with a strange
shell syntax error.
2007-12-12 08:48:30 -08:00
José Fonseca
eaa82d33bf Add src/mesa to include path. 2007-12-12 16:04:58 +00:00
Ben Skeggs
1fb9736898 nouveau: take jumps into account properly when debugging pushbuf 2007-12-13 01:04:12 +11:00
Ben Skeggs
805c5993a3 nv40: Fix bug in vtxprog + a few tweaks 2007-12-12 23:37:52 +11:00
Ben Skeggs
9114324b0b nv40: small bug 2007-12-12 23:31:16 +11:00
Zack Rusin
94e19777c9 i915tex: remove. it's deprecated and causes merge problems
we did some small changes in the beginning of the gallium3d
lifecycle in i915tex which is not in master anymore and just
causes problems when doing merges. getting rid of the headache
by just nuking it here
2007-12-12 05:48:10 -05:00