Commit Graph

15141 Commits

Author SHA1 Message Date
Jakob Bornecrantz e9b8df69b4 i915: Support all primtive types in vbuf path 2008-06-13 12:21:58 +02:00
Zack Rusin 314c460604 silly bug: it's PROGRAM_VARYING 2008-06-12 19:41:54 -04:00
Zack Rusin 3911ef0327 glsl: make sure we replace all output reads with temporaries
test in if.glsl
2008-06-12 19:04:28 -04:00
Brian Paul e961a5da77 mesa: add some #if FEATURE_x tests 2008-06-12 16:58:04 -06:00
Brian Paul 5b51cc020e gallium: add some #if FEATURE_x tests 2008-06-12 16:58:04 -06:00
Brian Paul 6363960db5 mesa: remove unneeded #include 2008-06-12 16:58:04 -06:00
Brian Paul 73f78dedad gallium: add missing comma 2008-06-12 16:37:16 -06:00
Brian Paul 20ee00754d gallium: disable the codegen for TGSI_OPCODE_EXPBASE2 for now.
The x86 code seems to fail for exponents of 4 or larger.
See glean's vertProg1/EX2 test.
2008-06-12 16:01:43 -06:00
Keith Whitwell 08f1b8ac70 gallium: fix SSE codegen for instructions that use both a CONSTANT and IMMEDIATE
Fixes codegen for instructions like MUL dst, CONST[0], IMM[0];  the two operands
would up getting aliased in the x86/sse code.

Fixes glean/vertProg1/fogparams test.
2008-06-12 16:01:05 -06:00
Brian Paul b19e8f720b gallium: test for FEATURE_convolution 2008-06-12 15:46:10 -06:00
Brian Paul cfe8763714 gallium: remove unused/old st_atom_fixedfunction.c file 2008-06-12 15:08:49 -06:00
Zack Rusin 494c40dbed almost forgot - RelAddr is a boolean so use it here 2008-06-12 14:19:10 -04:00
Zack Rusin f49dd47dc9 add some glsl example testing different arrays of uniforms 2008-06-12 14:15:37 -04:00
Zack Rusin 38fdf130d4 shaders: fix allocation of arrays of parameters 2008-06-12 14:15:37 -04:00
Zack Rusin 68ef8e89a5 glsl: implement variable array indexes 2008-06-12 14:15:37 -04:00
Brian Paul 5ecb2f2d0f mesa: restore and fix Keith's "further degenerate the special case lit substitute"
There was a bug in emit_degenerate_lit() that caused the SLT to produce
unpredictable results in lit.z

Plus, added a bunch of new comments.
2008-06-12 11:17:46 -06:00
Keith Whitwell 23d340c9ed pb: don't assert(0) on failure to allocate - this is a normal condition in many drivers 2008-06-12 14:41:25 +01:00
Brian Paul 34ff12ca1f Revert "mesa: further degenerate the special case lit substitute"
This reverts commit e841b92d9c.

This fixes two specular lighting conform failures.
2008-06-11 20:50:26 -06:00
Brian Paul 11461f52be mesa: refactor: update SConscript with recently added new source files 2008-06-11 20:17:08 -06:00
Brian Paul 222c80893a mesa: refactor: move various ENUM_TO_x macros into macros.h 2008-06-11 20:17:08 -06:00
Brian Paul 77b794201a mesa: refactor: move glTexParameter-related functions into new texparam.c file 2008-06-11 20:17:08 -06:00
Brian Paul 7ecac78ab5 mesa: refactor: move glTexEnv-related functions into new texenv.c file 2008-06-11 20:17:08 -06:00
Brian Paul 27049189d6 mesa: refactor: move glTexGen-related functions into new texgen.c file 2008-06-11 20:17:08 -06:00
José Fonseca 2fed8d8496 gallium: Support L16 pixel format. 2008-06-12 10:56:19 +09:00
José Fonseca 0f552f500c pipebuffer: Fix improper memory free. 2008-06-12 10:56:16 +09:00
José Fonseca 23422d603a gallium: Implement debug_get_num_option.
For numeric options.
2008-06-12 10:56:04 +09:00
Brian Paul f61923441f egl: some basic docs for libEGL 2008-06-11 19:35:52 -06:00
Brian Paul 6b389b5c2f egl: some prototype Windows code (eq for dlopen,dlsym) 2008-06-11 19:35:32 -06:00
Alan Hourihane 6f7ed99b30 revert the DRI2 commits 2008-06-12 00:11:54 +01:00
Keith Whitwell 2161b0fafc draw: don't assume vertex position is in data[0] 2008-06-11 23:48:45 +01:00
Keith Whitwell 807f8f177b draw: preserve specular alpha when flatshading -- may be FOGC 2008-06-11 18:47:43 +01:00
Alan Hourihane d45e99060d fix card_extensions 2008-06-11 15:50:07 +01:00
Alan Hourihane f851ba705a fix legacy DRI 2008-06-11 15:35:12 +01:00
Alan Hourihane 5e9fe62c70 add missed files for DRI2 merge 2008-06-11 15:25:35 +01:00
Alan Hourihane 1bcb817167 Hook gallium i915 up to DRI2 2008-06-11 14:52:55 +01:00
Alan Hourihane 4dd1917e4b small optimization 2008-06-11 14:51:41 +01:00
Alan Hourihane 4566b006f1 Bring in DRI2 changes 2008-06-11 14:10:08 +01:00
Keith Whitwell bd92642100 draw: remove another debug assert on failover to generic vs varient 2008-06-11 09:36:58 +01:00
Keith Whitwell 3bdeff5bec trivial: add test for integer vertex arrays 2008-06-11 09:19:48 +01:00
Keith Whitwell ab399b555c draw: remove debug assert on failover to generic vs varient 2008-06-11 09:19:48 +01:00
Brian Paul e4cfe0854a mesa: refactor: fix some FEATURE_ typos, mistakes 2008-06-10 16:43:49 -06:00
Brian Paul 0f36a29d5e gallium: work-around glapi.c build problem for dri configs 2008-06-10 16:26:23 -06:00
Brian Paul e9b6ed395a egl: only windows are renderable at this time 2008-06-10 16:14:35 -06:00
Brian Paul b9c5b0bc4b egl: some prototype API detection code 2008-06-10 16:14:09 -06:00
Brian Paul 40d1a40f29 mesa: refactor: move #define FEATURE flags into new mfeatures.h file
Also, check the FEATURE flags in many places.
2008-06-10 16:13:42 -06:00
Brian Paul ef27bdbfa8 mesa: include mtypes.h 2008-06-10 15:23:51 -06:00
Brian Paul 4c1892ca89 mesa: remove unnecessary swrast, tnl includes 2008-06-10 12:08:40 -06:00
Brian Paul 00d90fe845 gallium: remove stray include of st_context.h 2008-06-10 12:07:38 -06:00
Brian Paul 5493c775b7 add some missing rule dependencies 2008-06-10 10:10:00 -06:00
Keith Whitwell aa7c21a45b Revert "draw: no need to rearrange most primitives in vcache for flatshade-first"
This reverts commit ad44e68706.
2008-06-10 16:56:32 +01:00