Commit Graph

15200 Commits

Author SHA1 Message Date
Jakob Bornecrantz c341094921 i915: Fix most of the clear problems
trivial/clear-undefined still fails
2008-06-13 19:03:51 +02:00
Jakob Bornecrantz 39bd7eb6dc trival: Added test for undefined context of buffer 2008-06-13 17:45:55 +02:00
Brian Paul 2cc1b7c742 gallium: another attempt at fixing libglapi.a compilation for DRI builds
If building for DRI, make a dummy/empty libglapi.a for now.
2008-06-13 09:15:07 -06:00
Brian Paul 9350fd62b6 mesa: fix typo: s/stacks/stack/ 2008-06-13 09:10:09 -06:00
Michal Krol 62f03a9ecc gallium: Fix PIPE_FORMAT_A2B10G10R10_UNORM definition.
Whoops!
2008-06-13 15:21:11 +02:00
Michal Krol b03a0373a2 gallium: Add PIPE_FORMAT_A2B10G10R10_UNORM. 2008-06-13 14:58:24 +02:00
Michal Krol 6f548c88e2 gallium: Allow pipe format component sizes to be specified
with finer granularity.

This will allow us to define A2R10G10B10 format.
2008-06-13 14:50:29 +02:00
Michal Krol b850453497 mesa: Remove duplicate code. 2008-06-13 14:49:04 +02:00
Jakob Bornecrantz de35bf5bdc i915: Messed up lineloop now works 2008-06-13 14:11:20 +02:00
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