Commit graph

201327 commits

Author SHA1 Message Date
Eric Anholt
c8cb87d356 Remove leftover code for i915_texprog.c noticed in crossbar review. 2007-09-24 13:36:56 -07:00
Eric Anholt
56af8fd00f Fix progs/tests/ build with BSD make. 2007-09-24 10:26:56 -07:00
Eric Anholt
b74140db66 Update .gitignore for tests and xdemos. 2007-09-24 10:26:40 -07:00
Eric Anholt
9bb0d628b8 Just use stddef.h to get ptrdiff_t instead of obsolete malloc.h. 2007-09-24 10:22:31 -07:00
Eric Anholt
8cf9085bc7 Move i915tex driver into place as just i915. 2007-09-24 10:03:25 -07:00
Eric Anholt
8fba8d2018 Remove the old i915 driver now that i915tex works without TTM. 2007-09-24 09:56:40 -07:00
michal
c0dd02219d Enable SSE2 for FS. 2007-09-24 12:32:26 +01:00
Zack Rusin
c0afc92f00 In here we actually do want to assign it. Fix compilation. 2007-09-24 05:43:07 -04:00
Zou Nan hai
439fa79578 fix fd.o bug #12217, recalcuate urb when clip plane size change 2007-09-24 16:48:55 +08:00
Brian
ef5935bc94 fix DrawRangeElements error msg 2007-09-23 13:58:18 -06:00
Eric Anholt
39c709c0f6 Merge branch 'i915-unification'
This branch replaces the DRM pool interface used by i915tex with a "dri_bufmgr"
interface in dri/common which may be set up to use either TTM or traditional
static memory management according to what is available.  The i915tex TTM
code now requires an updated DDX which provides proper buffer objects for the
static front/back/depth, instead of using fake buffers.  The driver is now
built as i915_dri.so, and should replace the old i915 driver shortly.
2007-09-21 17:13:20 -07:00
Eric Anholt
d0350dadaa Fix buffer/fence reference counting due to Destroy vs Unreference difference.
While here, remove the unnecessary fence type saving for the wait ioctl, as
a 0 argument for type means "use your other saved copy".
2007-09-21 16:18:21 -07:00
Brian
1ae7373ac5 invert draw_vertex_cache_check_space() 2007-09-21 12:37:13 -06:00
Brian
ac394414fc added PSIZE 2007-09-21 12:36:59 -06:00
Brian
890125d3ad fix some post-transform vertex layout issues (bcolors, psize emitted last 2007-09-21 12:21:05 -06:00
Brian
da45890818 Fix up some point size breakage. Start on fogcoord too. 2007-09-21 12:06:08 -06:00
Brian
46f606e971 reenable some clear code that was temporarily disabled 2007-09-21 11:55:28 -06:00
Brian
440a5c7c24 remove debug printfs 2007-09-21 11:54:57 -06:00
Brian
a3a8887e57 comments 2007-09-21 11:34:28 -06:00
Brian
1ce50d8bd9 use VERT_ATTRIB_MAX for loop limit 2007-09-21 11:34:20 -06:00
Brian
1199605088 remove SEMANTIC_TEXCOORD 2007-09-21 11:22:34 -06:00
Brian
e9259ad0d7 Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC. 2007-09-21 11:20:29 -06:00
Brian
97b81eb98f rename index var from i to attr, use FRAG_ATTRIB_MAX instead of 16 2007-09-21 11:14:49 -06:00
Brian
8d987d3c4e minor renaming 2007-09-21 11:14:49 -06:00
Brian
9f96c5d619 pass vs output semantics to tgsi_mesa_compile_vp_program() to generate output DECs 2007-09-21 11:14:49 -06:00
Brian
f38881c542 fix in/out typos 2007-09-21 11:14:49 -06:00
Brian
ed10ece932 Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to produce DCLs. 2007-09-21 11:14:49 -06:00
Brian
562c941063 fix 1/i typos 2007-09-21 11:14:49 -06:00
José Fonseca
ae58f38fee Fix the doxygen target in the top-level Makefile. 2007-09-21 16:47:56 +01:00
Zack Rusin
42df29d3b9 Convert i915 to use cso semantics of alpha_test. 2007-09-21 07:06:19 -04:00
Zack Rusin
6cb87cf26f Make the alpha test state a cso. 2007-09-21 07:00:20 -04:00
Zack Rusin
b0fa489eba Silence a few warnings. 2007-09-21 04:56:39 -04:00
Brian
154335d53f remove :5 form format field in pipe_surface, makes no difference at this time 2007-09-20 19:06:26 -06:00
Brian
6016de689f fix -D_BSD_SOURC 2007-09-20 18:42:47 -06:00
Brian
1bf93fccdf remove old code in src_vector() 2007-09-20 15:32:18 -06:00
Brian
a5467fbdd9 fixes for bluegene-xlc-osmesa config 2007-09-20 15:11:14 -06:00
Brian
58484dc00a Added bluegene-xlc-osmesa config (Alexander Neundorf) 2007-09-20 15:09:57 -06:00
Brian
f69b5c56fe Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes.
Still need to produce decl instructions for vertex shaders...
2007-09-20 14:47:22 -06:00
Brian
478d1e2c9c remove old/used code 2007-09-20 14:08:09 -06:00
Brian
064daf319c remove lots of dead code related to program input/output mapping 2007-09-20 14:03:00 -06:00
Brian
a8834a75a5 obsolete 2007-09-20 13:58:47 -06:00
Brian
c231a9d020 remove #includes of tgsi_attribs.h 2007-09-20 13:58:12 -06:00
Brian
674d013069 checkpoint: TGSI_ATTRIB_x tokens no longer used 2007-09-20 13:50:53 -06:00
Brian
086734502a Checkpoint: vertex attribute clean-up.
Remove/disable the attrib/slot mapping arrays in a few places.
Work in progress...
2007-09-20 13:43:23 -06:00
Brian
745f0cbe05 Always update st->state.vs, not just when the program is dirty.
This fixes a regression in the cubemap.c demo which alternates between
two different vertex shaders.
2007-09-20 13:43:23 -06:00
Brian
768302c539 remove unused lookup[] 2007-09-20 13:43:23 -06:00
Brian
b5908a7671 fix input/output typos 2007-09-20 13:43:23 -06:00
Eric Anholt
c1ecc38320 Uniquely validate the batchbuffer-referenced buffers.
Otherwise, for multiple references by the batchbuffer, the kernel would see
the buffer already on the unfenced list and wait for it to leave the list
before continuing, leading to hanging and eventual -EBUSY.
2007-09-20 11:41:25 -07:00
Eric Anholt
7591259674 Add disabled-by-default tracing of TTM bufmgr operations. 2007-09-20 11:38:32 -07:00
Zack Rusin
742e32a40b Cache the i915 sampler state. 2007-09-20 12:34:31 -04:00