Tilman Sauerbeck
2108caac25
r600g: Fixed a bo leak in r600_blit_state_ps_shader().
...
We would leak the newly created bo if it cannot be mapped.
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-16 11:07:32 +02:00
Chia-I Wu
03224f492d
st/xlib: Notify the context when the front/back buffers are swapped.
...
The current context should be notified when the the front/back buffers
of the current drawable are swapped. The notification was skipped when
xmesa_strict_invalidate is false (the default).
This fixes fdo bug #29774 .
2010-09-16 13:09:48 +08:00
Chia-I Wu
9ca59b2427
mesa: Update ES APIspec.xml.
...
Enable some extensions now that the needed tokens are defined in
GLES/glext.h and GLES2/glext.h. Update the prototype of MultiDrawArrays
now that the prototype of _mesa_MultiDrawArraysEXT has been updated.
2010-09-16 13:09:01 +08:00
Dave Airlie
ef2808f56f
r600g: fix texture bos and avoid doing depth blit on evergreen
...
since the depth blit code is hardcoded hex yay \o/
2010-09-16 21:48:02 +10:00
Dave Airlie
9a589961a2
r600g: fixup texture state on evergreen.
...
This whole set of state just seems wrong, another cut-n-paste nightmare.
2010-09-16 21:29:08 +10:00
Vinson Lee
9f7f7b3ff8
mesa/st: Silence uninitialized variable warning.
2010-09-15 18:47:17 -07:00
Vinson Lee
0d2561a562
nv50: Fix 'control reaches end of non-void function' warning.
2010-09-15 18:26:06 -07:00
Vinson Lee
b09af4c391
nv50: Silence uninitialized variable warnings.
2010-09-15 18:24:28 -07:00
Vinson Lee
00118c4077
draw: Remove unnecessary header.
2010-09-15 18:17:51 -07:00
Vinson Lee
d94c7841b2
gallivm: Remove unnecessary headers.
2010-09-15 18:14:18 -07:00
Vinson Lee
84e41b738b
nv50: Silence uninitialized variable warning.
2010-09-15 17:27:50 -07:00
Vinson Lee
b533bb7d86
nv50: Silence uninitialized variable warning.
2010-09-15 17:24:50 -07:00
Vinson Lee
cbc6748795
nv50: Silence uninitialized variable warning.
2010-09-15 17:09:59 -07:00
Vinson Lee
4d4278675e
nv50: Remove unnecessary headers.
2010-09-15 16:51:39 -07:00
Vinson Lee
a64e3d2e6c
nv50: Update files in SConscript to match Makefile.
2010-09-15 16:46:04 -07:00
Dave Airlie
1a20aae581
r600g: add vgt dma src defines
2010-09-16 09:41:43 +10:00
Dave Airlie
3ead528bbb
r600g: use index min/max + index buffer offset.
...
more prep work for fixing up buffer handling
2010-09-16 09:40:42 +10:00
Dave Airlie
05433f20b6
r600g: pull r600_draw struct out into header
...
we need this for future buffer rework, it also makes the vtbl easier
2010-09-16 09:40:42 +10:00
Brian Paul
0a7824862e
gallivm: expand AoS sampling to cover all filtering modes
...
...and all texture targets (1D/2D/3D/CUBE).
2010-09-15 17:04:31 -06:00
Brian Paul
95254bbd2d
tgsi: fix incorrect usage_mask for shadow tex instructions
...
The shadow versions of the texture targets use an extra component
(Z) to express distance from light source to the fragment.
Fixes the shadowtex demo with llvmpipe.
2010-09-15 13:56:02 -06:00
Brian Paul
68cfc8e996
nv50: use unsigned int for bitfields to silence warnings
2010-09-15 12:51:09 -06:00
Brian Paul
3085efabb1
llvmpipe: s/boolean/unsigned/ in bitfield to silence warning
...
Using non-int types for bitfields is a gcc extension.
The size of the struct is not effected by this change.
2010-09-15 12:49:13 -06:00
Brian Paul
29289b43b7
llvmpipe: cast to silence warning
2010-09-15 12:48:29 -06:00
Brian Paul
7545514fb6
glsl2: fix signed/unsigned comparison warning
2010-09-15 12:47:32 -06:00
John Doe
e0b6df4fcc
r600g: misc cleanup
...
Avoid using r600_screen structure to get ptr to radeon
winsys structure.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-15 11:48:34 -04:00
Christoph Bumiller
26fe16a99b
Merge remote branch 'origin/nv50-compiler'
...
Conflicts:
src/gallium/drivers/nouveau/nouveau_class.h
src/gallium/drivers/nv50/nv50_screen.c
2010-09-15 17:34:40 +02:00
Keith Whitwell
59ca1ae84b
llvmpipe: return zero from floor_pot(zero)
2010-09-15 16:28:49 +01:00
Christoph Bumiller
84d170bbce
nv50: put low limit on REG_ALLOC_TEMP and FP_RESULT_COUNT
2010-09-15 15:35:14 +02:00
Christoph Bumiller
c46e7a05e5
nv50: improve and fix modifier folding optimization
...
Execute before folding loads, because we don't check if it's legal
in lower_mods.
Ensure that a value's insn pointer is updated when transferring it
to a different instruction.
2010-09-15 15:35:14 +02:00
Christoph Bumiller
16d8f5fee5
nv50: consider address register in reload elimination
2010-09-15 15:35:14 +02:00
Keith Whitwell
be2fb11f10
llvmpipe: remove duplicate code
...
Bad rebase presumably.
2010-09-15 14:30:01 +01:00
Keith Whitwell
cc2ed02c0a
llvmpipe: brackets around macro arg
2010-09-15 14:30:01 +01:00
Chia-I Wu
e3c46cf586
glapi: Fix ES build errors again.
...
This fixes an error in GLAPI ES. My build is ok with or without this
patch, and the error affects others' setups.
[Patch from Francesco Marella]
2010-09-15 21:19:44 +08:00
Vinson Lee
efab1c8642
r600g: Silence unused variable warning.
...
The code that uses dname is currently ifdef'ed out.
2010-09-15 06:14:02 -07:00
Vinson Lee
1ce4f86803
r600g: Silence uninitialized variable warning.
2010-09-15 06:09:28 -07:00
Vinson Lee
a712e193a3
r600g: Silence uninitialized variable warning.
2010-09-15 05:52:16 -07:00
Vinson Lee
76c0576101
r600g: Silence uninitialized variable warning.
2010-09-15 05:46:34 -07:00
Vinson Lee
66a146dd05
nvfx: Silence uninitialized variable warnings.
2010-09-15 05:43:50 -07:00
Vinson Lee
9aee4be5e0
r600g: Silence uninitialized variable warning.
2010-09-15 05:34:29 -07:00
Vinson Lee
7290c5982c
r600g: Silence uninitialized variable warning.
2010-09-15 05:31:31 -07:00
Vinson Lee
f20f2cc330
glsl: Fix 'format not a string literal and no format arguments' warning.
...
Fix the following GCC warning.
loop_controls.cpp: In function 'int calculate_iterations(ir_rvalue*, ir_rvalue*, ir_rvalue*, ir_expression_operation)':
loop_controls.cpp:88: warning: format not a string literal and no format arguments
2010-09-15 05:17:57 -07:00
Dave Airlie
09ef8e9283
r300g: fix buffer reuse issue caused by previous commit
...
caused by 0b9eb5c9bb
test run glxgears, resize.
2010-09-15 13:26:04 +02:00
Chia-I Wu
cad87ebc3a
glapi: Fix build errors for ES.
...
The latest glext.h defines GL_FIXED. Test GL_OES_fixed_point instead to
decide whether to define GLfixed and GLclampx.
This fixes fdo bug #30205 .
2010-09-15 17:45:26 +08:00
Andre Maasikas
84f7b5d974
r600c: fix buffer height setting in dri2 case
...
fbHeight is 0 in this case
uncovered by changes in b0bc026c and should fix kernel rejecting command
streams after that commit
2010-09-15 11:32:18 +03:00
Marek Olšák
0b9eb5c9bb
r300g: prevent creating multiple winsys BOs for the same handle
...
This fixes a DRM deadlock in the cubestorm xscreensaver, because somehow
there must not be 2 different BOs relocated in one CS if both BOs back
the same handle. I was told it is impossible to happen, but apparently
it is not, or there is something else wrong.
2010-09-15 04:29:18 +02:00
Vinson Lee
fd7f70af48
mesa: Include missing header in program.h.
...
Include compiler.h for ASSERT symbol.
2010-09-14 17:54:46 -07:00
Vinson Lee
6a8a506158
r600g: Remove unnecessary headers.
2010-09-14 17:42:47 -07:00
Luca Barbieri
ccb5e65bc9
auxiliary: fix unintended fallthrough
2010-09-14 21:45:01 +02:00
Vinson Lee
cdf74a1ab9
llvmpipe: Remove unnecessary header.
2010-09-14 14:23:17 -07:00
Brian Paul
4cd751bcc4
glx: add const qualifiers to __indirect_glMultiDrawArraysEXT()
2010-09-14 11:01:03 -06:00