mesa.git
15 years agor600: implement texture border color
Alex Deucher [Tue, 28 Jul 2009 21:59:54 +0000 (17:59 -0400)]
r600: implement texture border color

15 years agor600: fix flat shading
Alex Deucher [Tue, 28 Jul 2009 20:58:41 +0000 (16:58 -0400)]
r600: fix flat shading

Set the flat shading bit on the appropriate PS input
depending on the type of attribute it is.  The VS output
and PS input routing should probably be made more dynamic
at some point.  We may want to use semantic ids to make
it easier.

15 years agor600: don't call r700UpdateShaders twice for each render
Alex Deucher [Tue, 28 Jul 2009 19:58:01 +0000 (15:58 -0400)]
r600: don't call r700UpdateShaders twice for each render

15 years agor600: move r700TranslateFragmentShader into r700UpdateShaders
Alex Deucher [Tue, 28 Jul 2009 19:53:45 +0000 (15:53 -0400)]
r600: move r700TranslateFragmentShader into r700UpdateShaders

15 years agor600: disable flat shade fix in 506bacb8e40b0a170a4b620113506925d2333735
Alex Deucher [Tue, 28 Jul 2009 15:10:38 +0000 (11:10 -0400)]
r600: disable flat shade fix in 506bacb8e40b0a170a4b620113506925d2333735

This breaks textures.  We need to only set this bit for
attributes that that need flat shading.

15 years agoMerge branch 'mesa_7_5_branch'
Brian Paul [Tue, 28 Jul 2009 14:58:25 +0000 (08:58 -0600)]
Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
configs/default
docs/relnotes.html
src/mesa/main/version.h

15 years agogallium: minor code/comments clean-up
Brian Paul [Mon, 27 Jul 2009 23:18:05 +0000 (17:18 -0600)]
gallium: minor code/comments clean-up

15 years agoegl: Comment out unused tables in_eglFillInConfigs
Chia-I Wu [Mon, 27 Jul 2009 22:57:36 +0000 (16:57 -0600)]
egl: Comment out unused tables in_eglFillInConfigs

This silences a compiler warning.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
15 years agoprogs/trivial: add missing files to Makefile, .gitignore
Vinson Lee [Tue, 28 Jul 2009 14:54:14 +0000 (08:54 -0600)]
progs/trivial: add missing files to Makefile, .gitignore

15 years agoR6xx/r7xx: enable flat shading, this can fix quadric/accanti/accpersp
Cooper Yuan [Tue, 28 Jul 2009 05:57:07 +0000 (13:57 +0800)]
R6xx/r7xx: enable flat shading, this can fix quadric/accanti/accpersp

15 years agor600: fix _REV texture format component swizzles
Alex Deucher [Mon, 27 Jul 2009 22:12:30 +0000 (18:12 -0400)]
r600: fix _REV texture format component swizzles

15 years agomesa: regenerated file
Brian Paul [Mon, 27 Jul 2009 21:42:29 +0000 (15:42 -0600)]
mesa: regenerated file

15 years agoglx: remove XTHREADS support
RALOVICH, Kristóf [Thu, 23 Jul 2009 15:58:08 +0000 (17:58 +0200)]
glx: remove XTHREADS support

15 years agodocs: do not mentions xthreads any more
RALOVICH, Kristóf [Thu, 23 Jul 2009 15:57:48 +0000 (17:57 +0200)]
docs: do not mentions xthreads any more

15 years agoglapi: regenerated GL API assembly files
RALOVICH, Kristóf [Thu, 23 Jul 2009 15:57:22 +0000 (17:57 +0200)]
glapi: regenerated GL API assembly files

15 years agoglapi: remove XTHREADS support
RALOVICH, Kristóf [Thu, 23 Jul 2009 15:56:52 +0000 (17:56 +0200)]
glapi: remove XTHREADS support

15 years agointel: Fix leak of DRI option info due to using the wrong free routine.
Brian Paul [Mon, 27 Jul 2009 21:32:50 +0000 (15:32 -0600)]
intel: Fix leak of DRI option info due to using the wrong free routine.

(cherry picked from commit 6d66f23c50ebe8f973757b6fd1b81c9b7920c447)

15 years agointel: Clean up leak of driver context structure on context destroy.
Brian Paul [Mon, 27 Jul 2009 21:28:49 +0000 (15:28 -0600)]
intel: Clean up leak of driver context structure on context destroy.

(cherry picked from commit ddef7dc87b2001fbe117ee5f24a0c645ee95a03c)

15 years agost/mesa: silence warning
Brian Paul [Mon, 27 Jul 2009 21:10:28 +0000 (15:10 -0600)]
st/mesa: silence warning

15 years agomesa: separate some finite/pragma Watcom stuff
Brian Paul [Mon, 27 Jul 2009 21:09:56 +0000 (15:09 -0600)]
mesa: separate some finite/pragma Watcom stuff

15 years agosoftpipe: include sp_winsys.h to silence function prototype warning
Brian Paul [Mon, 27 Jul 2009 21:08:44 +0000 (15:08 -0600)]
softpipe: include sp_winsys.h to silence function prototype warning

15 years agor300/compiler: Make calculate_inputs_outputs available to external users
Nicolai Hähnle [Mon, 27 Jul 2009 18:16:17 +0000 (20:16 +0200)]
r300/compiler: Make calculate_inputs_outputs available to external users

In the long run, it's probably better to just get rid of InputsRead and
OutputsWritten.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/compiler: Add vertex program code dumper from Gallium driver
Nicolai Hähnle [Mon, 27 Jul 2009 17:29:21 +0000 (19:29 +0200)]
r300/compiler: Add vertex program code dumper from Gallium driver

15 years agor300/compiler: Prepare for hookup to Gallium
Nicolai Hähnle [Mon, 27 Jul 2009 17:34:08 +0000 (19:34 +0200)]
r300/compiler: Prepare for hookup to Gallium

15 years agor300/fragprog: Move wpos_attr and fog_attr where they belong
Nicolai Hähnle [Sun, 26 Jul 2009 11:50:56 +0000 (13:50 +0200)]
r300/fragprog: Move wpos_attr and fog_attr where they belong

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/fragprog: Remove hardcoded FRAG_ATTRIB_xxx constants
Nicolai Hähnle [Sun, 26 Jul 2009 10:05:57 +0000 (12:05 +0200)]
r300/fragprog: Remove hardcoded FRAG_ATTRIB_xxx constants

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/fragprog: No longer rely on hardcoded FRAG_RESULT_xxx constants
Nicolai Hähnle [Sun, 26 Jul 2009 09:52:17 +0000 (11:52 +0200)]
r300/fragprog: No longer rely on hardcoded FRAG_RESULT_xxx constants

Also, this makes radeon_program_pair depend on the r300 fragment program
compiler. Since we now know that r600+ no longer use the same pairing
style in their ALU, we can stop pretending that program_pair is useful
for anything but r300-r500 fragment programs.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/fragprog: Move some of the attribute handling out of the compiler
Nicolai Hähnle [Fri, 24 Jul 2009 23:19:04 +0000 (01:19 +0200)]
r300/fragprog: Move some of the attribute handling out of the compiler

Attribute indices will probably be different in Gallium, so make the compiler
independent of magic values.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/fragprog: Finally get rid of the duplicate program copy
Nicolai Hähnle [Fri, 24 Jul 2009 23:08:37 +0000 (01:08 +0200)]
r300/fragprog: Finally get rid of the duplicate program copy

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/vertprog: Move Mesa-dependent input/output handling out of compiler
Nicolai Hähnle [Fri, 24 Jul 2009 22:59:31 +0000 (00:59 +0200)]
r300/vertprog: Move Mesa-dependent input/output handling out of compiler

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Remove ugly PSIZ hack
Nicolai Hähnle [Fri, 24 Jul 2009 22:50:53 +0000 (00:50 +0200)]
r300: Remove ugly PSIZ hack

Instead of setting Sourced, we simply force writemasks to begin with.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/vertprog: Refactor wpos rewrite using rc_program
Nicolai Hähnle [Fri, 24 Jul 2009 22:49:25 +0000 (00:49 +0200)]
r300/vertprog: Refactor wpos rewrite using rc_program

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/vertprog: Refactor fog_as_texcoord to use rc_program
Nicolai Hähnle [Fri, 24 Jul 2009 22:41:05 +0000 (00:41 +0200)]
r300/vertprog: Refactor fog_as_texcoord to use rc_program

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/vertprog: Refactor addArtificialOutputs to use rc_program
Nicolai Hähnle [Fri, 24 Jul 2009 22:07:46 +0000 (00:07 +0200)]
r300/vertprog: Refactor addArtificialOutputs to use rc_program

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/fragprog: Refactor wpos rewrite to use rc_program
Nicolai Hähnle [Fri, 24 Jul 2009 21:28:08 +0000 (23:28 +0200)]
r300/fragprog: Refactor wpos rewrite to use rc_program

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/compiler: Refactor fragment program fog rewrite to use rc_program
Nicolai Hähnle [Fri, 24 Jul 2009 21:06:54 +0000 (23:06 +0200)]
r300/compiler: Refactor fragment program fog rewrite to use rc_program

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/compiler: Refactor rewrite_depth_out to use rc_program
Nicolai Hähnle [Fri, 24 Jul 2009 20:50:35 +0000 (22:50 +0200)]
r300/compiler: Refactor rewrite_depth_out to use rc_program

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/compiler: Refactor local transforms to use rc_program
Nicolai Hähnle [Fri, 24 Jul 2009 20:34:44 +0000 (22:34 +0200)]
r300/compiler: Refactor local transforms to use rc_program

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agointel: Use _mesa_warning() to report GEM warnings
Brian Paul [Mon, 27 Jul 2009 20:35:18 +0000 (14:35 -0600)]
intel: Use _mesa_warning() to report GEM warnings

15 years agowindows: updated VC8 project files
Karl Schultz [Mon, 27 Jul 2009 19:38:35 +0000 (13:38 -0600)]
windows: updated VC8 project files

See bug 22882.

15 years agodocs: 7.5 tarball md5sums
Brian Paul [Fri, 17 Jul 2009 22:58:27 +0000 (16:58 -0600)]
docs: 7.5 tarball md5sums

15 years agor300: Allow compiler to add constants in a cleaner way
Nicolai Hähnle [Fri, 24 Jul 2009 20:41:14 +0000 (22:41 +0200)]
r300: Allow compiler to add constants in a cleaner way

Adding constants is used in a number of non-native instruction
rewrites, and it required us to keep copies of modified gl_programs
around. This is a first step towards ending this.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/compiler: Refactor nqssadce to use rc_program
Nicolai Hähnle [Thu, 23 Jul 2009 20:49:31 +0000 (22:49 +0200)]
r300/compiler: Refactor nqssadce to use rc_program

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/compiler: Refactor for rc_program usage
Nicolai Hähnle [Thu, 23 Jul 2009 20:09:48 +0000 (22:09 +0200)]
r300/compiler: Refactor for rc_program usage

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/compiler: Add rc_print_program
Nicolai Hähnle [Thu, 23 Jul 2009 20:09:11 +0000 (22:09 +0200)]
r300/compiler: Add rc_print_program

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/compiler: Lay groundwork for better error handling
Nicolai Hähnle [Thu, 23 Jul 2009 19:38:28 +0000 (21:38 +0200)]
r300/compiler: Lay groundwork for better error handling

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Remove dependency on GLcontext from compiler
Nicolai Hähnle [Thu, 23 Jul 2009 19:10:37 +0000 (21:10 +0200)]
r300: Remove dependency on GLcontext from compiler

Unfortunately, this does cause some code duplication (which we can hopefully
eliminate eventually).

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/vertprog: Cleanup source conflict handling
Nicolai Hähnle [Thu, 23 Jul 2009 18:24:22 +0000 (20:24 +0200)]
r300/vertprog: Cleanup source conflict handling

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/vertprog: Massively reduce code duplication
Nicolai Hähnle [Thu, 23 Jul 2009 17:52:00 +0000 (19:52 +0200)]
r300/vertprog: Massively reduce code duplication

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/vertprog: Use generic transforms and throw away unneeded code
Nicolai Hähnle [Thu, 23 Jul 2009 17:25:06 +0000 (19:25 +0200)]
r300/vertprog: Use generic transforms and throw away unneeded code

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Move vertex program compilation to compiler
Nicolai Hähnle [Thu, 23 Jul 2009 16:40:41 +0000 (18:40 +0200)]
r300: Move vertex program compilation to compiler

This is just the first step of refactoring. The separation is not yet
clean enough with this commit.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Cleanup vertex_program structure
Nicolai Hähnle [Thu, 23 Jul 2009 22:32:41 +0000 (00:32 +0200)]
r300: Cleanup vertex_program structure

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Remove faux lazy translation of vertex programs
Nicolai Hähnle [Wed, 22 Jul 2009 20:47:31 +0000 (22:47 +0200)]
r300: Remove faux lazy translation of vertex programs

De facto, vertex programs were translated immediately in all situations,
so let's just stop pretending that we do lazy translation.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Reduce include dependencies
Nicolai Hähnle [Wed, 22 Jul 2009 20:13:06 +0000 (22:13 +0200)]
r300: Reduce include dependencies

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Introduce rc_program and use it in radeon_pair
Nicolai Hähnle [Wed, 22 Jul 2009 20:10:13 +0000 (22:10 +0200)]
r300: Introduce rc_program and use it in radeon_pair

The goal is to convert both Mesa and TGSI programs into an intermediate format
that happens to be convenient for us.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Add radeon_compiler as a base for compilation-related tasks
Nicolai Hähnle [Wed, 22 Jul 2009 19:29:35 +0000 (21:29 +0200)]
r300: Add radeon_compiler as a base for compilation-related tasks

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Remove some unnecessary includes
Nicolai Hähnle [Tue, 21 Jul 2009 18:25:33 +0000 (20:25 +0200)]
r300: Remove some unnecessary includes

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/compiler: Compile the compiler seperately into an archive
Nicolai Hähnle [Thu, 16 Jul 2009 21:56:15 +0000 (23:56 +0200)]
r300/compiler: Compile the compiler seperately into an archive

This is all part of untangling the compiler from the classic driver, so that
it may be used in Gallium without depending on Mesa stuff if possible

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Further reduce dependency between compiler and classic driver
Nicolai Hähnle [Tue, 21 Jul 2009 16:28:30 +0000 (18:28 +0200)]
r300: Further reduce dependency between compiler and classic driver

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Remove some dependencies on additional fragment program copies
Nicolai Hähnle [Thu, 16 Jul 2009 20:58:13 +0000 (22:58 +0200)]
r300: Remove some dependencies on additional fragment program copies

The copy is still needed because some program transforms add state variables
or constants.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Remove GLcontext from r300_fragment_program_compiler
Nicolai Hähnle [Thu, 16 Jul 2009 20:40:53 +0000 (22:40 +0200)]
r300: Remove GLcontext from r300_fragment_program_compiler

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Remove GLcontext requirement from radeonLocalTransform
Nicolai Hähnle [Thu, 16 Jul 2009 20:39:16 +0000 (22:39 +0200)]
r300: Remove GLcontext requirement from radeonLocalTransform

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Remove unused enums
Nicolai Hähnle [Thu, 16 Jul 2009 20:36:54 +0000 (22:36 +0200)]
r300: Remove unused enums

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Remove GLcontext requirement from radeon_nqssadce
Nicolai Hähnle [Thu, 16 Jul 2009 20:32:46 +0000 (22:32 +0200)]
r300: Remove GLcontext requirement from radeon_nqssadce

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Remove GLcontext requirement from radeon_program_pair
Nicolai Hähnle [Thu, 16 Jul 2009 20:23:48 +0000 (22:23 +0200)]
r300: Remove GLcontext requirement from radeon_program_pair

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/program_pair: Introduce driver-specific texture instruction structure
Nicolai Hähnle [Thu, 16 Jul 2009 17:57:43 +0000 (19:57 +0200)]
r300/program_pair: Introduce driver-specific texture instruction structure

This is to prepare more experimentation and possible internal changes in the
compiler.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300/program_pair: Dynamically allocate instructions temporarily
Nicolai Hähnle [Wed, 15 Jul 2009 20:25:28 +0000 (22:25 +0200)]
r300/program_pair: Dynamically allocate instructions temporarily

In preparation of using TGSI, where we cannot easily predict the number
of instructions.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agor300: Detangle fragment program compiler from driver-specific structure
Nicolai Hähnle [Wed, 15 Jul 2009 15:36:42 +0000 (17:36 +0200)]
r300: Detangle fragment program compiler from driver-specific structure

This is in preparation of sharing the fragment program compiler with Gallium:
Compiler code is moved into its own directory and modified so that it no
longer depends on driver structures.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
15 years agoradeon: Add r6xx/r7xx chip family to get_chip_family_name
Pauli Nieminen [Mon, 27 Jul 2009 14:13:48 +0000 (17:13 +0300)]
radeon: Add r6xx/r7xx chip family to get_chip_family_name

This fixes problem that glxinfo was reporting r600+ cards as unknown.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
15 years agonouveau: swizzle a single row or column, doing it one pixel at a time
Patrice Mandin [Mon, 27 Jul 2009 08:57:53 +0000 (10:57 +0200)]
nouveau: swizzle a single row or column, doing it one pixel at a time

15 years agor600: fix textures
Alex Deucher [Mon, 27 Jul 2009 07:52:37 +0000 (03:52 -0400)]
r600: fix textures

We weren't allocating enough gprs for the fragment shader
in some cases.  There are likely other issues that still need
to be sorted out for textures, but at least they now work.

15 years agor600: don't draw when num indices is 0
Alex Deucher [Mon, 27 Jul 2009 06:25:24 +0000 (02:25 -0400)]
r600: don't draw when num indices is 0

fixes engine demo

15 years agor600: set VGT NUM_INSTANCES as part of the draw command
Alex Deucher [Mon, 27 Jul 2009 06:07:59 +0000 (02:07 -0400)]
r600: set VGT NUM_INSTANCES as part of the draw command

set VGT NUM_INSTANCES as part of the draw command rather
than as state as recommended by the pm4 guide.  Also,
use the NUM_INSTANCES packet.

15 years agor600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSET
Alex Deucher [Mon, 27 Jul 2009 05:57:25 +0000 (01:57 -0400)]
r600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSET

noticed by vehemens on IRC.

15 years agor600: switch vtx resource setup to use SETfield macros
Alex Deucher [Fri, 24 Jul 2009 16:39:51 +0000 (12:39 -0400)]
r600: switch vtx resource setup to use SETfield macros

For consistency

15 years agor600: switch tex code to use SETfield macros
Alex Deucher [Fri, 24 Jul 2009 14:58:47 +0000 (10:58 -0400)]
r600: switch tex code to use SETfield macros

for consistency with the rest of the code.

15 years agor300g: Fix two trivial texture size issues.
Corbin Simpson [Mon, 27 Jul 2009 05:48:20 +0000 (22:48 -0700)]
r300g: Fix two trivial texture size issues.

Next thing to fix: progs/tests/mipgen.

15 years agoradeon-gallium: If BO allocation fails, return NULL.
Corbin Simpson [Mon, 27 Jul 2009 05:35:26 +0000 (22:35 -0700)]
radeon-gallium: If BO allocation fails, return NULL.

15 years agor300g: Add some debugging, correct little bits of math in texture setup.
Corbin Simpson [Fri, 24 Jul 2009 21:37:07 +0000 (14:37 -0700)]
r300g: Add some debugging, correct little bits of math in texture setup.

Simple stuff still works, but not sure about some of the more complex things.

15 years agonouveau: only swizzle square textures for copy
Patrice Mandin [Sun, 26 Jul 2009 20:30:35 +0000 (22:30 +0200)]
nouveau: only swizzle square textures for copy

15 years agoutil: fix typo.
José Fonseca [Sun, 26 Jul 2009 19:31:11 +0000 (20:31 +0100)]
util: fix typo.

15 years agonouveau: Take into account destination position for copy_swizzle, need to split copy...
Patrice Mandin [Sun, 26 Jul 2009 14:18:06 +0000 (16:18 +0200)]
nouveau: Take into account destination position for copy_swizzle, need to split copy a bit more

15 years agonouveau: Recursively swizzle an NPOT sized copy
Patrice Mandin [Sun, 26 Jul 2009 10:30:12 +0000 (12:30 +0200)]
nouveau: Recursively swizzle an NPOT sized copy

15 years agonouveau: use nv04_surface_copy_swizzle only for POT sizes
Patrice Mandin [Fri, 24 Jul 2009 21:37:46 +0000 (23:37 +0200)]
nouveau: use nv04_surface_copy_swizzle only for POT sizes

15 years agoradeon-gallium: remove old getparam ioctl
Joakim Sindholt [Fri, 24 Jul 2009 12:54:00 +0000 (14:54 +0200)]
radeon-gallium: remove old getparam ioctl

15 years agomesa: include glew headers in MesaDemos tarballs
Brian Paul [Fri, 24 Jul 2009 02:20:39 +0000 (20:20 -0600)]
mesa: include glew headers in MesaDemos tarballs

15 years agor600: fix segfault in morph3d
Alex Deucher [Thu, 23 Jul 2009 22:23:18 +0000 (18:23 -0400)]
r600: fix segfault in morph3d

These attributes still need work, but it shouldn't hurt to
enable them.

15 years agodraw: correct address for machine struct in llvm path
Keith Whitwell [Thu, 23 Jul 2009 17:48:04 +0000 (18:48 +0100)]
draw: correct address for machine struct in llvm path

This changed after a recent commit.

15 years agogallivm: updates for TGSI changes
Keith Whitwell [Thu, 23 Jul 2009 16:56:41 +0000 (17:56 +0100)]
gallivm: updates for TGSI changes

make linux-llvm succeeds, but doesn't seem to be working, at least with
llvm 2.5

15 years agor300g, radeon-gallium: Fix API, cleanup.
Corbin Simpson [Thu, 23 Jul 2009 14:14:07 +0000 (07:14 -0700)]
r300g, radeon-gallium: Fix API, cleanup.

Something called "validate" should return FALSE on failure, not TRUE.

15 years agoradeon-gallium: Build fixes wrt changed libdrm_radeon space check API
Nicolai Hähnle [Thu, 23 Jul 2009 14:05:21 +0000 (07:05 -0700)]
radeon-gallium: Build fixes wrt changed libdrm_radeon space check API

Had to be hacked up a bit to apply to master. Sorry 'bout that. :3

15 years agor300g: PIPE_CAP_BLEND_EQUATION_SEPARATE.
Corbin Simpson [Thu, 23 Jul 2009 08:04:26 +0000 (01:04 -0700)]
r300g: PIPE_CAP_BLEND_EQUATION_SEPARATE.

15 years agogallium: clean up opcode definitions
Keith Whitwell [Wed, 22 Jul 2009 10:31:41 +0000 (11:31 +0100)]
gallium: clean up opcode definitions

Remove commented-out opcodes.  Remove information about API mappings
to opcodes, but add a reference to tgsi-instruction-set.txt where
that information is better presented.

15 years agogallium: remove deprecated TGSI opcodes
Keith Whitwell [Wed, 22 Jul 2009 10:25:26 +0000 (11:25 +0100)]
gallium: remove deprecated TGSI opcodes

Various opcodes which can be implemented trivially with other TGSI opcodes,
such as matrix multiplication and negation.  These were not used by any
state tracker or implemented by any of the drivers.

15 years agor600: Remove CRLF line endings.
José Fonseca [Thu, 23 Jul 2009 13:11:10 +0000 (14:11 +0100)]
r600: Remove CRLF line endings.

15 years agoutil: Add support for Mac OS.
Vinson Lee [Thu, 23 Jul 2009 13:07:31 +0000 (14:07 +0100)]
util: Add support for Mac OS.

15 years agor300g: Actually mark shaders as translated/untranslated.
Corbin Simpson [Thu, 23 Jul 2009 06:58:35 +0000 (23:58 -0700)]
r300g: Actually mark shaders as translated/untranslated.

Also trust that Gallium will not give us TGSI that miscounts shader consts.

This creates a 20x speedup on glxgears, from 8 FPS to 160 FPS.

15 years agocell: update TGSI_OPCODE_ cases
Brian Paul [Thu, 23 Jul 2009 03:04:07 +0000 (21:04 -0600)]
cell: update TGSI_OPCODE_ cases

15 years agogallium: Fix PPC build.
Michel Dänzer [Wed, 22 Jul 2009 22:47:32 +0000 (00:47 +0200)]
gallium: Fix PPC build.

15 years agonouveau: nv30: wrong variable for format
Patrice Mandin [Wed, 22 Jul 2009 20:25:36 +0000 (22:25 +0200)]
nouveau: nv30: wrong variable for format