Zack Rusin
effb73befa
glsl: fix array size initialiazers using const variables
...
e.g.
const int kernelSize = 9;
uniform vec2 kernel[kernelSize];
2008-06-12 15:15:34 -04:00
Zack Rusin
19659a50f9
almost forgot - RelAddr is a boolean so use it here
2008-06-12 15:08:58 -04:00
Zack Rusin
2542c59c55
shaders: fix allocation of arrays of parameters
2008-06-12 15:08:27 -04:00
Zack Rusin
74964ff04d
glsl: implement variable array indexes
2008-06-12 15:08:12 -04:00
Zack Rusin
494c40dbed
almost forgot - RelAddr is a boolean so use it here
2008-06-12 14:19:10 -04:00
Zack Rusin
f49dd47dc9
add some glsl example testing different arrays of uniforms
2008-06-12 14:15:37 -04:00
Zack Rusin
38fdf130d4
shaders: fix allocation of arrays of parameters
2008-06-12 14:15:37 -04:00
Zack Rusin
68ef8e89a5
glsl: implement variable array indexes
2008-06-12 14:15:37 -04:00
Brian Paul
5ecb2f2d0f
mesa: restore and fix Keith's "further degenerate the special case lit substitute"
...
There was a bug in emit_degenerate_lit() that caused the SLT to produce
unpredictable results in lit.z
Plus, added a bunch of new comments.
2008-06-12 11:17:46 -06:00
Keith Whitwell
23d340c9ed
pb: don't assert(0) on failure to allocate - this is a normal condition in many drivers
2008-06-12 14:41:25 +01:00
Dan Nicholson
0440f5a187
Update .gitignore for progs/glsl
2008-06-12 06:37:45 -07:00
Dave Airlie
41bdb88f27
sparc: add swrast to dri drivers
2008-06-12 16:26:46 +10:00
Brian Paul
34ff12ca1f
Revert "mesa: further degenerate the special case lit substitute"
...
This reverts commit e841b92d9c .
This fixes two specular lighting conform failures.
2008-06-11 20:50:26 -06:00
Brian Paul
11461f52be
mesa: refactor: update SConscript with recently added new source files
2008-06-11 20:17:08 -06:00
Brian Paul
222c80893a
mesa: refactor: move various ENUM_TO_x macros into macros.h
2008-06-11 20:17:08 -06:00
Brian Paul
77b794201a
mesa: refactor: move glTexParameter-related functions into new texparam.c file
2008-06-11 20:17:08 -06:00
Brian Paul
7ecac78ab5
mesa: refactor: move glTexEnv-related functions into new texenv.c file
2008-06-11 20:17:08 -06:00
Brian Paul
27049189d6
mesa: refactor: move glTexGen-related functions into new texgen.c file
2008-06-11 20:17:08 -06:00
Dave Airlie
2b0e75ea7a
sparc: add DRI drivers for sparc patch from Fedora
2008-06-12 12:06:50 +10:00
José Fonseca
2fed8d8496
gallium: Support L16 pixel format.
2008-06-12 10:56:19 +09:00
José Fonseca
0f552f500c
pipebuffer: Fix improper memory free.
2008-06-12 10:56:16 +09:00
José Fonseca
23422d603a
gallium: Implement debug_get_num_option.
...
For numeric options.
2008-06-12 10:56:04 +09:00
Brian Paul
f61923441f
egl: some basic docs for libEGL
2008-06-11 19:35:52 -06:00
Brian Paul
6b389b5c2f
egl: some prototype Windows code (eq for dlopen,dlsym)
2008-06-11 19:35:32 -06:00
Brian Paul
3f3e4f645d
remove obsoleted doxygen \param comments
...
Someone changed the function parameters but didn't bother to update the
comments.
Also, whitespace changes, clean-ups.
2008-06-11 19:33:30 -06:00
Brian Paul
8d976aedc4
comments
2008-06-11 19:33:14 -06:00
Alan Hourihane
6f7ed99b30
revert the DRI2 commits
2008-06-12 00:11:54 +01:00
Keith Whitwell
2161b0fafc
draw: don't assume vertex position is in data[0]
2008-06-11 23:48:45 +01:00
Eric Anholt
407ce3da3c
[intel-gem] Chase domain flag renaming in the DRM.
...
This is an API breakage only.
2008-06-11 14:44:48 -07:00
Eric Anholt
0227d91a9e
[gem] Enable bo_reuse by default.
...
The objects are swappable, so we're less concerned by excessive object
allocation now, and it's about a 20% performance improvement. If we get
concerns about the memory consumption from others, we can look into a
compromise position later.
2008-06-11 11:46:29 -07:00
Keith Whitwell
807f8f177b
draw: preserve specular alpha when flatshading -- may be FOGC
2008-06-11 18:47:43 +01:00
Alan Hourihane
d45e99060d
fix card_extensions
2008-06-11 15:50:07 +01:00
Alan Hourihane
f851ba705a
fix legacy DRI
2008-06-11 15:35:12 +01:00
Alan Hourihane
5e9fe62c70
add missed files for DRI2 merge
2008-06-11 15:25:35 +01:00
Alan Hourihane
1bcb817167
Hook gallium i915 up to DRI2
2008-06-11 14:52:55 +01:00
Alan Hourihane
4dd1917e4b
small optimization
2008-06-11 14:51:41 +01:00
Alan Hourihane
4566b006f1
Bring in DRI2 changes
2008-06-11 14:10:08 +01:00
Keith Whitwell
bd92642100
draw: remove another debug assert on failover to generic vs varient
2008-06-11 09:36:58 +01:00
Keith Whitwell
3bdeff5bec
trivial: add test for integer vertex arrays
2008-06-11 09:19:48 +01:00
Keith Whitwell
ab399b555c
draw: remove debug assert on failover to generic vs varient
2008-06-11 09:19:48 +01:00
Brian Paul
e4cfe0854a
mesa: refactor: fix some FEATURE_ typos, mistakes
2008-06-10 16:43:49 -06:00
Brian Paul
0f36a29d5e
gallium: work-around glapi.c build problem for dri configs
2008-06-10 16:26:23 -06:00
Brian Paul
e9b6ed395a
egl: only windows are renderable at this time
2008-06-10 16:14:35 -06:00
Brian Paul
b9c5b0bc4b
egl: some prototype API detection code
2008-06-10 16:14:09 -06:00
Brian Paul
40d1a40f29
mesa: refactor: move #define FEATURE flags into new mfeatures.h file
...
Also, check the FEATURE flags in many places.
2008-06-10 16:13:42 -06:00
Brian Paul
ef27bdbfa8
mesa: include mtypes.h
2008-06-10 15:23:51 -06:00
Brian Paul
4c1892ca89
mesa: remove unnecessary swrast, tnl includes
2008-06-10 12:08:40 -06:00
Brian Paul
9563449c14
remove unnecessary swrast, tnl includes
2008-06-10 12:08:30 -06:00
Brian Paul
00d90fe845
gallium: remove stray include of st_context.h
2008-06-10 12:07:38 -06:00
Brian Paul
c233b4245f
add some missing rule dependencies
2008-06-10 10:10:12 -06:00