Brian Paul
7e86d9bd8c
llvmpipe: implement TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33284
2011-01-19 18:46:59 -07:00
Christian König
a124490262
r600g: fix segfault if texture operand is a literal
...
This fixes Bug 33262
2011-01-19 23:48:02 +01:00
Brian Paul
34613c66ac
gallium/docs: document result type for some types of queries
2011-01-19 07:41:55 -07:00
Christian König
ba700d2ead
r600g: fix reserve_cfile for R700+
...
According to R700 ISA we have only two channels for cfile constants.
This patch makes piglit tests "glsl1-constant array with constant
indexing" happy on RV710.
2011-01-19 00:40:28 +01:00
Brian Paul
42dbc2530b
llvmpipe: make sure binning is active when we begin/end a query
...
This fixes a potential failure when a begin/end_query is the first
thing to happen after flushing the scene.
NOTE: This is a candidate for the 7.10 and 7.9 branches.
2011-01-18 14:02:01 -07:00
Brian Paul
fb7a8dedfa
softpipe: rename some functions for consistency
2011-01-18 14:02:01 -07:00
Henri Verbeet
9e964baaf3
r600g: Kill trailing whitespace.
2011-01-18 20:57:04 +01:00
Henri Verbeet
7e2e8d09f7
r600g: Remove the unused eg_states_inc.h and r600_states_inc.h.
2011-01-18 20:57:04 +01:00
Henri Verbeet
495dec0a2b
r600g: Simplify some r600_bc_add_alu_type() calls to r600_bc_add_alu().
2011-01-18 20:57:04 +01:00
Brian Paul
5b58b8c579
softpipe: added some null pointer checks
...
This shouldn't really be needed but it may help with
http://bugs.freedesktop.org/show_bug.cgi?id=32309
2011-01-18 09:59:28 -07:00
Brian Paul
c97e4532bb
softpipe: s/tex_cache/fragment_tex_cache/
...
Just to be more consistant with the vertex and geometry tex cache fields.
2011-01-18 09:59:28 -07:00
José Fonseca
843f537cfb
Remove executables from source tree.
2011-01-18 15:25:30 +00:00
Brian Paul
96a2e89dde
llvmpipe: enable PIPE_CAP_INDEP_BLEND_FUNC
...
The driver was saying that independend blend functions was not supported,
but it really was. The driver was using the per-target independend blend
factors but the state tracker was only setting the 0th one (per the
Gallium spec).
Fixes a piglit fbo-drawbuffers2-blend regression.
See https://bugs.freedesktop.org/show_bug.cgi?id=33215
2011-01-17 16:51:13 -07:00
Dave Airlie
2bf52e7c28
nouveau: fix build against out of tree libdrm
...
For doing builds against a separated libdrm these cflags are needed.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-17 15:42:34 +10:00
Christian König
ef3b8042e0
r600g: fix PIPE_CAP_INSTANCED_DRAWING warning
2011-01-16 23:52:53 +01:00
Christian König
b61afe13f1
r600g: fix alu inst group merging for relative adressing
2011-01-16 21:43:17 +01:00
Christoph Bumiller
a4742c6a07
nvc0: fix and enable instanced drawing and arrays
2011-01-16 14:10:46 +01:00
Chia-I Wu
326332a130
d3d1x: Fix broken build.
...
st/egl native.h changed its interface in
a22a332fc7 .
2011-01-16 20:58:17 +08:00
Christian König
ac6334145e
r600d: fix some bugs added reworking literal handling
...
If a literal slot isn't used it should be set
to 0 instead of an uninitialized value. Also the
channels for pre R700 trig functions were incorrect.
And most important literals were not counted against ndw,
resulting in an invalid force_add_cf detection.
2011-01-16 03:30:25 +01:00
Brian Paul
5700bc6bac
draw: add missing LP_CHECK_MEMBER_OFFSET()
2011-01-15 17:37:40 -07:00
Henri Verbeet
a25473b535
r600g: Remove the redundant radeon_new() prototype.
2011-01-15 19:48:43 +01:00
Henri Verbeet
5a2abf7a85
r600g: Fix some register value name typos.
...
SFR -> SRF.
2011-01-15 19:48:43 +01:00
Henri Verbeet
f6f7808028
r600g: Get rid of r600_translate_vertex_data_type().
...
This has been replaced with r600_vertex_data_type().
2011-01-15 19:48:43 +01:00
Brian Paul
652901e95b
Merge branch 'draw-instanced'
...
Conflicts:
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/drivers/llvmpipe/lp_state_fs.c
src/glsl/ir_set_program_inouts.cpp
src/mesa/tnl/t_vb_program.c
2011-01-15 10:24:08 -07:00
Christoph Bumiller
21001d2ba7
nvc0: try to swap immediates to first source too
2011-01-15 14:14:55 +01:00
Christoph Bumiller
52474d4246
nvc0: make sure all sources of the BIND op are distinct
...
They're supposed to be assigned consecutive registers so they can't
contain the same SSA value more than once.
2011-01-15 14:14:50 +01:00
Christoph Bumiller
1ae982adfd
nvc0: update user vbufs on each draw call
...
This is required in case set_vertex_buffers is not called again.
2011-01-15 12:18:52 +01:00
Christoph Bumiller
b50d02e2e0
nvc0: enable early fragment tests where possible
2011-01-15 12:17:57 +01:00
Christoph Bumiller
5ec66c6e70
nvc0: upload small buffers through the command buffer
2011-01-15 12:17:00 +01:00
Chia-I Wu
b70d0a6a51
targets/egl-static: Assorted cleanups and fixes.
...
Share more code between windows and non-windows platforms. Check
env['x11'] for X11 and add env['X11_LIBS'] to LIBS. Add ws_wrapper for
i965g.
2011-01-15 12:35:22 +08:00
Chia-I Wu
6f769a690b
targets/egl: i965 needs libwsw.
...
Fix undefined symbol wrapper_sw_winsys_dewrap_pipe_screen.
2011-01-15 12:35:19 +08:00
Alex Deucher
634dece281
r600g: compiler helper opcode fixes for evergreen
...
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-14 17:50:49 -05:00
Alex Deucher
9dfc68314d
r600g: pass r600_bc to some addition compiler helper functions
...
needed for asic specific opcodes
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-14 17:50:29 -05:00
Vinson Lee
4c6d6dd8fc
r600g: Disable V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR case.
...
The usage of macro V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR was
introduced by commit 323ef3a1f0 but the
macro is undefined. Disable this case to fix the build for now.
2011-01-14 13:47:37 -08:00
Christian König
323ef3a1f0
r600g: add more missing instructions to r600_bc_get_num_operands
2011-01-14 18:46:52 +01:00
Vinson Lee
a2ab929ab2
r600g: Move declaration before code in r600_asm.c.
...
Fixes SCons build.
2011-01-13 14:17:01 -08:00
Christian König
96f8f8db7b
r600g: rework literal handling
2011-01-13 23:01:35 +01:00
Christian König
d7342f6a81
r600g: merge alu groups
2011-01-13 23:01:35 +01:00
Christian König
eea1d8199b
r600g: implement replacing gpr with pv and ps
2011-01-13 23:01:35 +01:00
Christian König
0448f73f06
r600g: add missing RECIPSQRT_CLAMPED to r600_bc_get_num_operands
2011-01-13 21:29:47 +01:00
Christian König
a25b91c2c2
r600g: rework bank swizzle code
2011-01-13 21:22:00 +01:00
Christian König
89275c0b36
r600g: fix alu slot assignment
2011-01-13 19:41:07 +01:00
Christian König
236e99fe05
r600g: optimize away CF ALU instructions even if type doesn't match
2011-01-13 19:41:07 +01:00
Christoph Bumiller
370ae0bd61
nvc0: identify POINT_RASTER_RULES, add POINT_SMOOTH state
...
Point smoothing requires rasterization rules to be set to OGL.
Sorry for the extra noise caused by the header update.
2011-01-13 19:36:25 +01:00
Chia-I Wu
abbb1c8f08
draw: Fix an off-by-one bug in a vsplit assertion.
...
When use_spoken is true, istart (the first vertex of this segment) is
replaced by i0 (the spoken vertex of the fan). There are still icount
vertices.
Thanks to Brian Paul for spotting this.
2011-01-14 02:02:26 +08:00
Vinson Lee
d599df8a8c
targets/egl-static: Remove unnecessary header.
2011-01-13 09:16:25 -08:00
Vinson Lee
eb70e58caf
r600g: Silence uninitialized variable warnings.
2011-01-13 09:07:19 -08:00
José Fonseca
9277a62aa3
scons: Ensure the OpenVG/EGL import libs are also prefixed with 'lib'.
2011-01-13 12:33:41 +00:00
José Fonseca
63528c4510
scons: Build libOpenVG.dll & libEGL.dll
...
But without creating liblibOpenVG or liblibEGL elsewhere.
Thanks Chia-I Wu for pointing this out.
2011-01-13 11:54:43 +00:00
José Fonseca
80f18876f6
util: Undo spurious changes in last commit.
2011-01-13 11:45:40 +00:00