Commit graph

92185 commits

Author SHA1 Message Date
Dan Nicholson
3b8081603b Always pass -linker and -ldflags to mklib for shared libraries
This just makes the use of mklib more consistent throughout Mesa where
we always want to pass the linker and LDFLAGS when we might be making a
shared library.
2008-07-12 10:25:40 -07:00
Dan Nicholson
db072baaaf Call mklib with $(SHELL) so the user controls the interpreter
Respect the user's choice of shell when running mklib rather than always
using /bin/sh.
2008-07-12 10:25:40 -07:00
Dan Nicholson
4f5d97ee9e Call minstall with $(SHELL) so the user controls the interpreter
Running minstall directly means that /bin/sh is always used as hte
interpreter. If the user needs or wants to use a different shell fo
minstall, they can use the SHELL make variable.
2008-07-12 10:25:40 -07:00
Dan Nicholson
9eee7f260f Set $(SHELL) for all configs
Most make implementations will use /bin/sh as the interpreter for
commands and only use a different shell when the $(SHELL) make variable
is set. This makes the setting explicit and allows $(SHELL) to be used
in the commands themselves.
2008-07-12 10:25:40 -07:00
Dan Nicholson
bfb27b5fc0 autoconf: Subsitute SHELL for all platforms
Establish the shell that make will use from configure. This is exactly
how autoconf/automake operate, with the environment variable
CONFIG_SHELL respected to override the autoconf checks. In the usual
case where the user just executes `./configure', autoconf will pick a
shell from the current shell, sh, bash, ksh or sh5 that meets its base
criteria.

The special Solaris case of looking for a POSIX shell has been changed
to just set the SHELL variable since autoconf substitutes this already.
The EXTRA_CONFIG_LINES substitution is dropped as it should no longer be
needed.
2008-07-12 10:25:40 -07:00
Michal Krol
c415de5e25 scons: List `util/tgsi_text.c'. 2008-07-12 17:10:21 +02:00
Michal Krol
d0386d55ff tgsi: Add tgsi_text utility module.
Translates textual shader into a binary token stream.
The syntax matches the tgsi_dump module, so it's possible to
simply copy-paste the shader dump and transform it back
to a binary form.
2008-07-12 17:06:37 +02:00
Michal Krol
9ea485f886 tgsi: Fix dumping of indirect addressing. 2008-07-12 17:03:30 +02:00
Patrice Mandin
1d50e26f4a nv30: no npot textures 2008-07-12 15:07:02 +02:00
Patrice Mandin
fa167eedeb nv30: update caps 2008-07-12 13:59:24 +02:00
Patrice Mandin
a9863caefc nv30: do not shift texture format 2008-07-12 13:59:01 +02:00
Patrice Mandin
12118fcd12 nv30: Emit vertex buffer objects using state objects 2008-07-12 13:16:47 +02:00
Patrice Mandin
ac44f334e3 nv30: Move edgeflag stuff 2008-07-12 12:24:37 +02:00
Nicolai Haehnle
2d766923c4 r300: Fix saturate mode handling in radeon_program_alu 2008-07-12 12:20:28 +02:00
Nicolai Haehnle
cf0ae102db r500: Set Saturate correctly in radeon_program_pair 2008-07-12 12:04:28 +02:00
Patrice Mandin
3d0e18ff5f nv30: Reorder, remove useless stuff 2008-07-12 11:53:10 +02:00
Patrice Mandin
4ca346a8c0 nv30: Rename state emission func 2008-07-12 11:45:51 +02:00
Michal Krol
7279d663e9 tgsi: Add missing copyright headers. 2008-07-12 11:17:21 +02:00
Nicolai Haehnle
8774fcd89a r300: Fix input register allocation in radeon_program_pair
When an input is marked in gl_program.InputsRead but is not actually read
in the final program (due to dead-code elimination or whatever), the order
of input registers must still match gl_program.InputsRead. This is done
even more explicitly now.
2008-07-12 11:11:59 +02:00
Patrice Mandin
9489de9980 nv30: was setting wrong register 2008-07-12 10:13:58 +02:00
Patrice Mandin
b23e20a386 nv30: does not have vp_attrib/result 2008-07-12 10:10:16 +02:00
Nicolai Haehnle
11d711df36 r300: Explicitly set absolute value for the argument of RSQ
This fixes the last r500 bug related to glean/fragProg1.
2008-07-12 09:36:02 +02:00
Nicolai Haehnle
b6765c3499 r500_fragprog: Major refactoring of final emit
Use an abstracted instruction scheduling and register allocation algorithm
that we will be able to share with r300_fragprog.

Unlike the original emit code, this code tries to pair instructions that
only use the RGB part of the ALU with instructions that only use the alpha
part. However, the pairing algorithm still has some shortcomings;
for example, it doesn't generate optimal code for the emulation of LIT.
2008-07-12 09:36:02 +02:00
Nicolai Haehnle
d8d086c20b r500: Add "Not quite SSA" and dead code elimination pass
In addition, this pass fixes non-native swizzles.
2008-07-12 09:36:02 +02:00
Nicolai Haehnle
7904c9fad4 r500_fragprog: Transform trigonometric functions in first pass 2008-07-12 09:36:02 +02:00
Eric Anholt
2e841880cf drm-gem: Use new GEM ioctls for tiling state, and support new swizzle modes. 2008-07-11 18:58:19 -07:00
Alex Deucher
b0ef353b46 R300: update vap_cntl values for NUM_FPUS
based on info from hw team
2008-07-11 19:23:06 -04:00
Patrice Mandin
740c93a08c nv30: Change comment about slowdown 2008-07-12 00:48:44 +02:00
Patrice Mandin
58737dc875 nv30: Emit fragment program using state objects 2008-07-12 00:48:26 +02:00
Patrice Mandin
2419a5fe36 nv30: Emit vertex program using state objects 2008-07-12 00:19:15 +02:00
Brian Paul
80b24166a5 egl: a minor overhauld of egl_xdri.c
Rely more on the libGL code to avoid duplicated efforts.  Also fix confusion
arising from multiple __DRIscreen objects.
2008-07-11 15:45:03 -06:00
Brian Paul
df2c9424d3 glx: added __glXPreferEGL() to tell libGL to prefer "egl_" drivers over regular DRI drivers.
Also, clean-up, consolidate the dlopen() code a bit.
2008-07-11 15:45:03 -06:00
Brian Paul
7986baf7cf build egl subdirs 2008-07-11 15:45:03 -06:00
Patrice Mandin
c708627754 nv30: Move constant buffers out of vert/frag prog structures 2008-07-11 23:17:47 +02:00
Patrice Mandin
5acbd0b096 nv30: Emit fragtex state using state objects 2008-07-11 22:42:42 +02:00
Patrice Mandin
b327b06405 nv30: split fragprog_upload from fragprog_bind 2008-07-11 22:06:12 +02:00
Patrice Mandin
37a418b3b0 nv30: split fragprog_prepare from fragprog_translate 2008-07-11 21:31:24 +02:00
Patrice Mandin
36ac2ade17 nv30: Update miptree to match latest changes 2008-07-11 21:14:32 +02:00
Jakob Bornecrantz
6e938e4f82 gallium: Make dri drivers create a egl_name_dri.so if supported 2008-07-11 20:09:52 +02:00
Dan Nicholson
6c44c6d020 Remove generated pkg-config files on `make clean' 2008-07-11 10:43:29 -07:00
Dan Nicholson
99803a4ec9 autoconf: Add information about the --x-* options to --help output
Try to tell the user that the --x-* options are only used when the X
libraries can't be found by pkg-config.
2008-07-11 10:04:46 -07:00
Dan Nicholson
e97ab72b59 autoconf: Tell the user about docs/autoconf.html in --help output
The documentation in autoconf.html is much more explicit about how the
different configure options control the build. This adds a notice at the
end of the `./configure --help' output to tell the user about it.
2008-07-11 10:04:46 -07:00
Ben Skeggs
7c949fb2a2 nv50: obey do_flip in surface_copy() 2008-07-11 22:50:10 +10:00
Ben Skeggs
9b0add0be4 nv50: quick hack to get textures untiled on map, and tiled on unmap
progs/fp/tri-tex is all good now rather than all scrambled :)
2008-07-11 22:46:07 +10:00
Ben Skeggs
5180a668a7 nouveau: winsys surface funcs deprecated, remove them 2008-07-11 22:24:24 +10:00
Ben Skeggs
866a68dbd1 nv50: demagic tex filter / wrap mode 2008-07-11 22:01:29 +10:00
Ben Skeggs
7c745de749 nv50: add some texture formats 2008-07-11 21:19:41 +10:00
Ben Skeggs
62100692b8 nv50: split tic construction out into own file 2008-07-11 20:49:06 +10:00
Ben Skeggs
857a3294a9 nv50: add license headers to .c files 2008-07-11 20:44:39 +10:00
Dave Airlie
b52398571b intel: fix batch flushing problem with cliprects handling.
pointed out and debugged by stringfellow on #dri-devel
2008-07-11 07:28:55 +10:00