Brian Paul
1250526e30
gallium: disable TGSI_OPCODE_ARR case until emit_rnd() is redone.
2008-11-26 07:41:19 -07:00
Brian Paul
6e96bd70e5
Revert "tgsi: Implement OPCODE_ROUND for SSE2 backend."
...
This reverts commit 685fd2c035 .
Does not compile since emit_rnd() is trying to pass 4 params to
emit_func_call_dst() which takes 3 params.
2008-11-26 07:38:31 -07:00
Brian Paul
11701b4c15
mesa: add some missing switch cases for generating state var strings
2008-11-26 07:21:12 -07:00
Daniel Zimmermann
c03af8e780
fix possible memory leak in bezierPatchMeshMake
2008-11-26 07:20:02 -07:00
Brian Paul
277089b81a
gallium: fix glBitmap color bug
...
By time we get around to rendering the cached bitmap, the current color may
have changed. Need to make sure we load the constant slot with the cached
color.
2008-11-26 07:08:19 -07:00
Brian Paul
281055987a
gallium: replace 2 with PIPE_SHADER_TYPES
2008-11-26 07:08:19 -07:00
Michal Krol
823aac36d5
tgsi: Implement OPCODE_SSG/SGN.
2008-11-26 13:54:28 +01:00
Michal Krol
eee3d21604
tgsi: Implement OPCODE_ARR.
2008-11-26 21:47:09 +09:00
Michal Krol
685fd2c035
tgsi: Implement OPCODE_ROUND for SSE2 backend.
2008-11-26 21:47:00 +09:00
Michal Krol
adf14090fb
tgsi: Implement OPCODE_ARR.
2008-11-26 13:24:33 +01:00
Michal Krol
18a1389077
tgsi: Implement OPCODE_ROUND for SSE2 backend.
2008-11-26 13:24:32 +01:00
Brian Paul
4de360e67d
gallium: added centroid/invarient fields to declarations
2008-11-25 09:03:47 -07:00
Michal Krol
152db5b884
softpipe: Fix function prototype.
2008-11-25 13:01:06 +01:00
Alan Hourihane
4b7a84a361
Merge commit 'origin/master' into gallium-0.2
2008-11-25 09:28:36 +00:00
Alan Hourihane
4af0d940a3
Merge commit 'origin/gallium-0.1' into gallium-0.2
...
Conflicts:
scons/gallium.py
src/gallium/auxiliary/pipebuffer/pb_buffer.h
2008-11-25 09:28:30 +00:00
José Fonseca
55839ae064
pipebuffer: Fix buffer overflow.
2008-11-25 15:49:23 +09:00
Brian Paul
f8870af44b
gallium: fix inverted raster pos when drawing into FBO
2008-11-24 18:37:36 -07:00
Brian Paul
8d95e66cf7
mesa: added support for GLSL 1.20 array.length() method
...
This is the only method supported in GLSL 1.20 so we take a few short-cuts.
2008-11-24 17:18:56 -07:00
Brian Paul
0fab514ff5
mesa: support for GLSL 1.20 array types
...
This allows syntax like "float[8] foo, bar;"
2008-11-24 15:28:21 -07:00
Brian Paul
c5b52b5e0e
mesa: pass shader centroid/invariant info through to the TGSI shader
2008-11-24 14:36:00 -07:00
Brian Paul
77762801bc
remove some redundant rules from prev merge
2008-11-24 14:31:41 -07:00
Brian Paul
df6155fcff
Merge commit 'origin/master' into gallium-0.2
...
Conflicts:
progs/glsl/Makefile
2008-11-24 14:08:58 -07:00
Brian Paul
868c607c17
tgsi: doxygen comments
2008-11-24 13:11:05 -07:00
Brian Paul
434e255eae
tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization
2008-11-24 13:11:05 -07:00
Brian Paul
1240280e6a
mesa: copy centroid/invariance/precision info in parse_init_declarator()
2008-11-24 13:11:05 -07:00
Brian Paul
c67c3714e8
mesa: check that varying variable qualifiers agree
2008-11-24 13:11:05 -07:00
Brian Paul
ed22544658
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
2008-11-24 13:11:05 -07:00
Brian Paul
891cf754b3
mesa: set flags for varying vars
2008-11-24 13:11:05 -07:00
Brian Paul
cddcd72dae
mesa: rename program parameter flags to match other Mesa conventions
2008-11-24 13:11:05 -07:00
Brian Paul
a7264720b4
mesa: copy Flags in _mesa_clone_parameter_list()
2008-11-24 13:11:05 -07:00
Brian Paul
68020ca2af
mesa: dump/debug varying vars list
2008-11-24 13:11:05 -07:00
Brian Paul
3068574929
mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation
...
Plus, update the print/debug code.
2008-11-24 13:11:05 -07:00
Brian Paul
84c1850e82
mesa: add Flags field to gl_program_parameter
...
Only one flag defined so far: PROG_PARAM_CENTROID_BIT
2008-11-24 13:11:05 -07:00
Brian Paul
b268c2899b
docs: update webmaster email addr
2008-11-24 13:11:05 -07:00
Brian Paul
d7b5243c64
gallium: massage sp_vbuf_draw() and sp_vbuf_draw_arrays() to look more alike
...
Also, update some comments.
2008-11-24 13:11:05 -07:00
Brian Paul
e545ce2af4
mesa: issue error, don't crash, when calling a prototyped, but undefined function
...
Bug #18659 .
2008-11-24 13:11:05 -07:00
Brian Paul
ca142c2c08
mesa: better variable name: s/aux/store/
2008-11-24 13:11:05 -07:00
Brian Paul
80301866f6
added progs/demos/fragcoord.c - tests gl_FragCoord attribute in fragment shader
...
Fragment's red/greenb/blue is a function gl_FragCoord.xyz
2008-11-24 13:11:05 -07:00
Eric Anholt
7e97362884
i965: Add support for accelerated CopyTexSubImage.
...
There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after
the offsets had been adjusted for a negative pitch. It appears that those
hacks were due to an unclear and surprising aspect of the hardware: inverting
the pitch results in the blit into the specified rectangle being inverted,
without the user needing to adjust y and base offset.
Tested with piglit copytexsubimage test on 915GM and GM965. Should fix
serious performance issues with ETQW and other applications.
2008-11-24 13:09:50 -07:00
Eric Anholt
a4d43c2012
intel: Don't glBitmap fallback with scissoring enabled.
...
The blit bitmap code already handles scissoring. This is a 15-100% speedup on
blender benchmark.blend thanks to avoiding fallbacks. Bug #17951 .
2008-11-24 13:09:50 -07:00
Eric Anholt
490ab64879
i915: Don't overwrite i915's Viewport function from generic code.
...
Instead, have i965 and i915 both call the generic function from their Viewport.
2008-11-24 13:09:50 -07:00
Brian Paul
b730d0d3e9
mesa: add gl_program::Input/OutputFlags[] array
...
These arrays will indicate per-input or per-output options for vertex/fragment
programs such as centroid-sampling and invariance.
2008-11-24 13:05:54 -07:00
Bernd Buschinski
d52e8543b6
glx: Add missing include for XCB, fixing crash on 64-bit.
...
Bug #18689
2008-11-24 11:40:38 -08:00
Jakob Bornecrantz
51af35b7cc
progs: Add ignores
2008-11-24 20:05:47 +01:00
Jakob Bornecrantz
f0e3366b08
util: Add generic tile and detile functions
2008-11-24 20:01:48 +01:00
Brian Paul
153cc70ddb
windows: replace free() with _mesa_unreference_framebuffer()
...
Fixes invalid memory reference bug when exiting.
2008-11-24 11:10:58 -07:00
Brian Paul
a203713738
mesa: copy centroid/invariance/precision info in parse_init_declarator()
2008-11-24 09:28:25 -07:00
Brian Paul
dc1107c08d
mesa: check that varying variable qualifiers agree
2008-11-24 09:25:05 -07:00
Brian Paul
0e2f757413
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
2008-11-24 09:13:14 -07:00
Brian Paul
3197954554
mesa: set flags for varying vars
2008-11-24 09:05:49 -07:00