Keith Whitwell
afd328afa8
llvmpipe: restore larger command blocks
2010-09-11 10:04:53 +01:00
Keith Whitwell
10d0a835bc
llvmpipe: move some debug to DEBUG_SCENE
2010-09-11 10:04:53 +01:00
Keith Whitwell
bc759cd37e
llvmpipe: add DEBUG_MEM option
2010-09-11 10:04:53 +01:00
Keith Whitwell
b7a54b3dc6
llvmpipe: allow bigger scenes
2010-09-11 10:04:52 +01:00
Tom Stellard
4749429a4a
r300/compiler: Reorganize presub_helper()
2010-09-10 18:18:10 -07:00
Tom Stellard
3fffcb317c
r300/compiler: Don't use presubtract in TEX instructions
2010-09-10 18:18:10 -07:00
Tom Stellard
8b67159e9a
r300/compiler: Print the presub subtract operation in the correct order
2010-09-10 18:18:10 -07:00
Tom Stellard
e3fc210a4f
r300/compiler: Fix dataflow bug in presub_helper()
2010-09-10 18:18:09 -07:00
Tom Stellard
d442c7f172
r300/compiler: Replace asserts with error messages
2010-09-10 18:18:09 -07:00
Tom Stellard
66b1e716fb
r300/compiler: Fix copy propigation for some presub instructions
2010-09-10 18:18:09 -07:00
Tom Stellard
564653b9f1
r300/compiler: Add peephole optimization for the 'sub' presubtract operation
2010-09-10 18:18:09 -07:00
Tom Stellard
a64b4a05af
r300/compiler: Add peephole optimization for the 'add' presubtract operation
2010-09-10 18:18:09 -07:00
Tom Stellard
598e220f95
r300/compiler: Clean up rc_pair_alloc_source()
2010-09-10 18:18:09 -07:00
Tom Stellard
63432ecfce
r300/compiler: Enable presubtract sources
...
The r300 compiler can now emit instructions that select from the presubtract
source. A peephole optimization has been added to convert instructions like:
ADD Temp[0].x, none.1, -Temp[1].x into the INV (1 - src0) presubtract
operation.
2010-09-10 18:18:08 -07:00
Ian Romanick
d8a3662008
mesa: Remove unused Emit flags from gl_shader_compiler_options
2010-09-10 13:10:26 -07:00
Ian Romanick
55aaee6020
intel: Remove noise opcode support from i915 and i965 drivers
...
With recent changes to the GLSL compiler, these opcode should never be
seen in these drivers.
2010-09-10 12:33:15 -07:00
Alex Deucher
58eaade662
r600c: add missing header
2010-09-10 14:14:12 -04:00
Alex Deucher
9cced19125
r600c: add OQ support for evergreen
2010-09-10 13:26:10 -04:00
Alex Deucher
7ffc5d7c2e
r600c: oq updates
2010-09-10 13:13:08 -04:00
Alex Deucher
4e53d6e6c9
r600c: add blit support for evergreen
...
driver was previously calling the r600 blit code
which won't work on evergreen.
2010-09-10 13:01:23 -04:00
Alex Deucher
886c6c09ea
r600c: emit start3d packet on evergreen
2010-09-10 13:01:23 -04:00
Alex Deucher
f35b728acc
r600c: fix some typos
2010-09-10 13:01:23 -04:00
Alex Deucher
a712db73ce
r600c: fix type in cb setup on evergreen
2010-09-10 13:01:23 -04:00
Alex Deucher
c7843280f0
r600c: add support for more rendering formats on evergreen
2010-09-10 13:01:22 -04:00
Andre Maasikas
78109952d4
r600: set correct initial point_minmax values
2010-09-10 14:55:10 +03:00
Tilman Sauerbeck
ec2e0fd1e9
r600g: Fixed a bo reference leak in the draw module.
...
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10 13:09:33 +02:00
Tilman Sauerbeck
0b4c529da5
r600g: Only increase a bo's map_count if radeon_bo_map() succeeded.
...
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10 13:09:33 +02:00
Tilman Sauerbeck
56a80535b6
r600g: Fixed a bo leak in the error path of radeon_ctx_set_bo_new().
...
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10 13:09:33 +02:00
Tilman Sauerbeck
ac2bddb9f2
r600g: Fixed a bo leak in r600_texture_from_handle().
...
We would leak bo if the argument check failed.
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10 13:09:33 +02:00
Tilman Sauerbeck
ae23d425c2
r600g: Don't leave stale references in query_list when we cannot create bo.
...
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10 13:09:33 +02:00
Tilman Sauerbeck
96a4edb8cc
r600g: Implemented the y component write for the LOG opcode.
...
This makes the 'vp1-LOG test' piglit test work.
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-10 13:09:32 +02:00
Chia-I Wu
ea9e5dbbc2
egl: Simplify _eglBindContext.
...
Remove the hard-to-get-right _eglBindContextToSurfaces. As well as fix
an assertion failure from b90a3e7d8b when
such call sequence is hit
eglMakeCurrent(dpy, surf1, surf1, ctx1);
eglMakeCurrent(dpy, surf2, surf2, ctx2);
eglMakeCurrent(dpy, surf1, surf1, ctx1);
2010-09-10 18:41:14 +08:00
Andre Maasikas
67270e1fd6
r600: dont bswap rgba FLOAT formats
...
fixes at least some readback tests in piglit
2010-09-10 12:14:26 +03:00
Chia-I Wu
67660ccee9
targets/egl: Fix crashes from loading invalid modules.
...
Be defensive.
2010-09-10 16:03:04 +08:00
Chia-I Wu
5ea092117f
gallium: Remove ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2.
...
They are no longer used.
2010-09-10 15:44:19 +08:00
Chia-I Wu
948e3fa27c
st/egl: Use profiles to create OpenGL ES contexts.
...
Replace all uses of ST_API_OPENGL_ES{1,2} by profiles. Having 3
st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a
sane abstraction, since all of them share glapi for current
context/dispatch management.
2010-09-10 15:44:11 +08:00
Chia-I Wu
0cd480f076
st/dri: Use profiles to create OpenGL ES contexts.
...
Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is
not a sane abstraction, since all of them share glapi for current
context/dispatch management.
2010-09-10 15:43:34 +08:00
Chia-I Wu
4531356817
gallium: Add context profile support to st_api.
...
Add struct st_context_attribs to describe context profiles and
attributes. Modify st_api::create_context to take the new struct
instead of an st_visual.
st_context_attribs can be used to support GLX_ARB_create_context_profile
and GLX_EXT_create_context_es2_profile in the future. But the
motivation for doing it now is to be able to replace ST_API_OPENGL_ES1
and ST_API_OPENGL_ES2 by profiles.
Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is
not a sane abstraction, since all of them share glapi for current
context/dispatch management.
2010-09-10 15:37:43 +08:00
Dave Airlie
fcae8ca575
r600g: fixup state calculations for picking states.
...
for evergreen I ended up using a non-contig array of states, but
this code needs a bit of fixing up to deal with that.
2010-09-10 22:41:00 +10:00
Dave Airlie
f61b241eba
r600g: fixup CB state numbering header
2010-09-10 21:59:06 +10:00
Dave Airlie
cc1b3b1013
r600g: fix warning in r600 pipe driver
2010-09-10 14:07:49 +10:00
Dave Airlie
ad5ada4372
r600g: evergreen CBs are more sane to support with a single state
2010-09-10 13:52:02 +10:00
Dave Airlie
7d564fdddd
r600g: add multi-buffer flush support properly.
2010-09-10 13:52:02 +10:00
Dave Airlie
ab686d340a
r600g: fix regression in multi-buffer tests since CB flush merge
2010-09-10 13:52:02 +10:00
Eric Anholt
6ef5f21234
i965: Add switch cases for ir_unop_noise, which should have been lowered.
...
Fixes compiler warnings.
2010-09-09 19:49:58 -07:00
Dave Airlie
50526e094f
r600g: add initial evergreen support
...
adds shader opcodes + assembler support (except ARL)
uses constant buffers
add interp instructions in fragment shader
adds all evergreen hw states
adds evergreen pm4 support.
this runs gears for me on my evergreen
2010-09-10 19:41:18 +10:00
Dave Airlie
42da027433
r600g: align flushing of cb/db with DDX/r600c.
...
the DDX and r600c both flush cb/db after the draw is emitted,
as long as they do that, r600g can't be different, as it races.
We end up with r600g flush, set CB, DDX set CB, flush. This
was causing misrendering on my evergreen, where sometimes the drawing
would go to an old CB.
2010-09-10 11:29:23 +10:00
Dave Airlie
e795ca8f31
r600g: don't need 3 bos here.
...
the code should reloc correctly a single BO 3 times.
2010-09-10 11:29:23 +10:00
Brian Paul
48fda8c446
graw: added test for finding shader mem leaks
2010-09-09 19:19:28 -06:00
Brian Paul
451dfe5413
draw: minor reformatting
2010-09-09 19:19:28 -06:00