Brian
be673e9719
Sampler state code now compiles and is built. Not tested yet.
2007-08-22 13:33:19 -06:00
Brian
d45dd5672a
added border_color to sampler state
2007-08-22 13:30:26 -06:00
Brian
8a868919b5
Improved pipe_region/surface_reference() functions
...
Now dereferences the old object first.
Target object may be NULL to clear the pointer.
2007-08-22 12:41:59 -06:00
Brian
c0bb4ba9e6
Rework of shader constant buffers.
...
They're now totally independent of the actual shaders.
Also, implemented in terms of pipe_buffer_handles/objects.
2007-08-22 12:26:46 -06:00
Keith Whitwell
d1fbf621dc
Import some sampler state code.
...
Doesn't compile, isn't built.
2007-08-22 10:34:38 +01:00
Brian
5ac22877c9
code movement, null ptr checks, etc
2007-08-22 10:04:45 -06:00
Brian
e7f814e034
remove unneeded include
2007-08-22 10:04:36 -06:00
Brian
4ed87bf229
remove unneeded includes
2007-08-22 10:04:16 -06:00
Brian
0e87617255
Obsolete.
2007-08-22 09:41:51 -06:00
Brian
c8c616d33c
don't need i915_fpc.c
2007-08-22 09:41:32 -06:00
Brian
2154d1c5ac
implement negation for src operands
2007-08-22 09:41:20 -06:00
Keith Whitwell
d021381d4e
Clear all the dirtyflag words
2007-08-22 09:01:34 +01:00
Keith Whitwell
9606cb15e7
Remove duplicate i915 shader disassembler
2007-08-22 09:01:34 +01:00
michal
5c086518f1
Headers.
...
Fix alignment issues.
Silence compiler warnings.
More debugging code.
2007-08-21 20:47:31 +01:00
michal
eb51761b82
Silence compiler warnings.
2007-08-21 20:45:09 +01:00
michal
044c19e6b3
Define __MSC__.
...
Make ALIGN macros more error-proof.
2007-08-21 20:42:33 +01:00
Brian
af3d6c83d2
temporarily call _mesa_enable_sw_extensions() so we can run more test progs without failing the extension checks
2007-08-21 20:18:58 -06:00
Brian
88e12872fa
comments
2007-08-21 20:18:58 -06:00
Brian
0d9bcdbeb1
Fragment shader translation seems to basically work now. More testing needed.
2007-08-21 20:18:58 -06:00
keithw
d70d41eefc
fix cut and paste
2007-08-21 19:49:46 +01:00
Keith Whitwell
ce4659e92a
First pass at a fallback concept for pipe devices.
...
Creates a new pipe driver that feeds commands to either a hardware or
software pipe depending on fallback state.
Untested concept checkpoint. At this point it compiles.
2007-08-21 19:46:48 +01:00
Keith Whitwell
93c7173ed2
Add missing #include
2007-08-21 17:34:13 +01:00
Brian
d97f90b93e
added fpc sources
2007-08-21 16:24:48 -06:00
Brian
3af1f3b922
Initial check-in of i915 fragment program translation (from tgsi).
2007-08-21 16:24:38 -06:00
Brian
d640198b2d
Set viewport state so viewport matches window dims.
...
trivial/readpixels.c works again.
2007-08-20 21:45:14 +01:00
Brian
3cb6fc3f9a
Move vertex transformation/shader code into draw_prim.c to avoid need for vs_flush() function pointer.
2007-08-20 18:53:41 -06:00
Brian
3772441c49
move ALIGN16-related macros into p_compiler.h
2007-08-20 18:45:14 -06:00
Brian
79b8f97457
include draw_context.h
2007-08-20 18:44:53 -06:00
Brian
d054331c47
Update glClear and glDrawPixels code.
...
Since they're implemented by drawing quadrilaterals (and go through vertex
transformation and viewport mapping) we don't have to invert Y coords.
2007-08-20 18:24:02 -06:00
Brian
c1fbd72adc
minor clean-ups
2007-08-20 17:26:00 -06:00
Brian
3239532795
Use new draw_arrays() code.
...
The i915 driver now uses the software-based vertex shader interpreter
and draws everything through pipe->draw_arrays().
2007-08-20 17:25:38 -06:00
Brian
a17d5361b2
remove the -DMESA flags
2007-08-20 17:02:27 -06:00
Brian
766fa51537
remove some of the #ifndef MESA stuff
2007-08-20 17:02:07 -06:00
Brian
ddf8ba2d1b
Obsolete
2007-08-20 16:48:55 -06:00
Brian
9d9e838974
remove dead code related to vf module
2007-08-20 16:43:58 -06:00
Brian
8175eaa3b4
Checkpoint: remove more of the old draw_vb() code.
2007-08-20 16:31:12 -06:00
Brian
51da8ee85e
Start to remove the temporary draw_vb() and draw_vertices() code.
...
new st_draw_vertices() utility used by glClear and glDrawPixels
2007-08-20 16:21:08 -06:00
Brian
0a262998ef
Move guts of vertex array drawing into the 'draw' module.
2007-08-20 15:11:11 -06:00
Brian
a83b72a672
implement DrawElements, still some rough spots
2007-08-20 12:52:33 -06:00
Brian
1dd55a77c8
implement draw_elements()
2007-08-20 12:52:00 -06:00
Brian
730df7662f
don't map element buffer in _mesa_validate_DrawElements() unless necessary
2007-08-20 12:50:34 -06:00
Brian
7d14c3e538
remove debug printf
2007-08-20 11:53:36 -06:00
Brian
98d30cb2d4
call draw_trim()
2007-08-20 11:49:16 -06:00
Brian
904163e4e9
fix cache overflow bug in get_vertex()
2007-08-20 11:41:23 -06:00
Brian
f252974121
fix VBO clean-up in vbo_exec_vtx_destroy()
2007-08-20 11:05:35 -06:00
Brian
df1df82f16
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-08-20 10:23:28 -06:00
Brian
14327705fd
Fix some draw_arrays issues.
...
We weren't mapping all the needed vertex array buffers.
Move array state that was temporarily in draw_context to softpipe_context.
Remove a bunch of dead code.
2007-08-19 17:31:21 +01:00
Brian
0453760a0b
more work on vertex shaders, now using vertex shaders instead of TnL module by default
2007-08-18 16:06:49 +01:00
Brian
1f026d98dd
Create a default vertex attribute buffer which mirrors ctx->Current.Attrrib[]
...
Used when the vertex shader references attributes which aren't present in VBOs.
2007-08-18 16:05:49 +01:00
Brian
b3f067e859
added tnl state atom
2007-08-18 16:04:49 +01:00