José Fonseca
ff26c50153
tgsi: Make tgsi_sanity return TRUE on success as documented.
2008-07-19 12:32:29 +09:00
José Fonseca
1a8ceb3828
gallium: Move PIPE_TEXTURE_USAGE* to p_defines.h
2008-07-19 12:32:29 +09:00
Brian Paul
72e57b52f0
mesa: glsl: various writemask/swizzle improvements and clean-ups
2008-07-18 19:46:19 -06:00
Brian Paul
7218626cf5
mesa: rework array/struct addressing code.
...
The slang_ir_storage type now has a pointer to parent storage to represent
storage of an array element within an array, or a field within a struct.
This fixes some problems related to addressing of fields/elements in non-
trivial cases. More work to follow.
2008-07-18 14:46:42 -06:00
Brian Paul
a4fd90e325
mesa: regenerated file
2008-07-18 14:46:41 -06:00
Brian Paul
2b3515c5b2
mesa: fix some GLSL /= int operators
...
plus add a few more special constructors to improve code quality.
2008-07-18 14:46:41 -06:00
Brian Paul
b64882d0f8
mesa: fix set_program_uniform_matrix(): need to loop over matrix count
2008-07-18 14:46:41 -06:00
Ian Romanick
99fe0c222c
intel-gem: Bump driver date
...
Bump the driver date and insert the string "GEM". When running tests,
this make it much easier to know that the right driver is being used.
2008-07-18 12:40:04 -07:00
Dan Nicholson
776c60d3c3
autoconf: Support Motif widgets in GLw with --enable-motif
...
Add an --enable-motif option, which will enable the Motif widgets in
libGLw and link it with libXm. The Motif installation information will
be gathered from the motif-config script (this comes with LessTif) or
fallback to the standard autoconf checks.
To allow the location of the Motif headers to be set from configure, the
default setting of -I/usr/include/Motif1.2 has been moved into
configs/default and then passed to the Makefile through the MOTIF_CFLAGS
variable.
2008-07-18 08:07:07 -07:00
José Fonseca
583b9ccbd5
gallium: Add a pf_is_ycbcr utility function.
2008-07-18 22:22:22 +09:00
Xiang, Haihao
b4b7326717
intel: fix texture border issue. (bug #16697 )
2008-07-18 17:40:11 +08:00
José Fonseca
3ca935d9ef
python/tests: Extend the texture tests to cover volumes.
2008-07-18 10:42:44 +09:00
José Fonseca
bfee84df86
python: Add methods to get texture width, height, etc.
...
SWIG does a poor job with arrays inside structures.
2008-07-18 10:42:44 +09:00
Michal Krol
1e5419fa30
tgsi: Express tgsi_sanity in terms of tgsi_iterate.
2008-07-18 00:41:45 +02:00
Michal Krol
e1fd3ea415
scons: List util/tgsi_iterate.c.
2008-07-18 00:40:28 +02:00
Michal Krol
638ecbda3e
tgsi: Add tgsi_iterate_shader utility.
...
Walks the token stream and invokes callbacks.
2008-07-18 00:39:23 +02:00
Brian Paul
3bfedb7ed4
mesa: build the stand-alone glslcompiler by default, update the docs
2008-07-17 15:40:10 -06:00
Michal Krol
f2053cfa1a
tgsi: Fix parsing an instruction with no operands.
2008-07-17 20:40:13 +02:00
Michal Krol
10d1dc68a4
tgsi: Perform a sanity check after reading a shader from text.
2008-07-17 20:23:26 +02:00
Michal Krol
3c5ec98e45
scons: List util/tgsi_sanity.c.
2008-07-17 20:22:47 +02:00
Michal Krol
2727702b17
tgsi: New file.
2008-07-17 20:19:40 +02:00
José Fonseca
e74f94b39a
python: Reimplement the generation of random texture samples in C.
2008-07-18 01:20:44 +09:00
José Fonseca
174c6912d6
gallium: Expose the ability to get a tile outside a surface.
2008-07-18 01:20:44 +09:00
José Fonseca
6a65a0d9ef
gallium: Be less verbose with debug options messages.
2008-07-18 01:20:44 +09:00
José Fonseca
c76787a1dc
scons: Set default LIBS env var.
2008-07-18 01:20:44 +09:00
José Fonseca
381e3489c2
scons: Convert tabs to spaces.
2008-07-18 01:20:44 +09:00
José Fonseca
d398e1360d
python: Reimplement tile comparison in C to speed up tests.
2008-07-18 01:20:44 +09:00
Brian Paul
73b8ee4121
mesa: regenerated file
2008-07-17 10:09:04 -06:00
Brian Paul
d9f4d04111
mesa: fix/improve the atan(y,x) function
2008-07-17 10:08:14 -06:00
Brian Paul
457bb10cee
mesa: regenerated file
2008-07-17 10:04:56 -06:00
Brian Paul
91de7b6cd3
mesa: fix/improve the atan(y,x) function
2008-07-17 10:04:56 -06:00
Brad Smith
8336fbc35c
mesa: added checks for OpenBSD
2008-07-17 10:04:56 -06:00
Brad Smith
f49d345a51
mesa: added checks for OpenBSD
2008-07-17 08:15:57 -06:00
José Fonseca
f610deed37
python/tests: Cover all last_level combinations.
2008-07-17 08:52:51 +09:00
Brian Paul
0138435643
mesa: regenerated file
2008-07-16 16:27:14 -06:00
Brian Paul
33a25729e8
mesa: fix temp re-use bug in emit_arith()
2008-07-16 16:20:25 -06:00
Brian Paul
082cde143b
mesa: fix copy&paste errors in degrees() functions
2008-07-16 16:20:07 -06:00
Jonathan White
e4f3770690
mesa: WinCE fixes
2008-07-16 16:11:38 -06:00
Brian Paul
ab8f838060
mesa: fix temp re-use bug in emit_arith()
2008-07-16 16:11:38 -06:00
Brian Paul
a1e55dcd9c
mesa: regenerated files
2008-07-16 16:11:38 -06:00
Brian Paul
bd09676de5
mesa: fix copy&paste errors in degrees() functions
2008-07-16 16:11:38 -06:00
Brian Paul
ebcdbff6f1
mesa: implement grammar/parsing for precision/invariant syntax
...
Plus, fix some issues with pre-defined preprocessor symbols and version checking.
2008-07-16 16:11:38 -06:00
Michal Krol
7a0b79fe36
mesa: Silence compiler warnings on Windows.
2008-07-16 20:14:42 +02:00
Ian Romanick
29cb89d0c2
intel: Clean-up ARB_texture_env_crossbar
...
Enable support for ARB_texture_env_crossbar in the master extension
list instead of in every single device-specific list.
2008-07-16 10:37:49 -07:00
Ian Romanick
442c195c4a
Remove redundant initalization of MaxTextureUnits
2008-07-16 09:43:03 -07:00
Brian Paul
26df49cd7a
egl: set EGL_SAMPLES, EGL_SAMPLE_BUFFERS config attribs
2008-07-16 10:35:12 -06:00
Brian Paul
479a807e01
mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE
...
Issues found by Bob Ellison.
2008-07-16 10:27:33 -06:00
Brian Paul
7d13dded5c
mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE
...
Issues found by Bob Ellison.
2008-07-16 10:23:28 -06:00
José Fonseca
7f32834df3
python/tests: Extend the texture tests to cover cube maps.
2008-07-16 23:27:15 +09:00
José Fonseca
1049e65240
python: Set PIPE_TEX_MIPFILTER_NONE by default.
2008-07-16 23:26:23 +09:00