José Fonseca
f81b7a6285
gallium: update for new i915_screen.c file; fix some warnings.
2008-02-27 15:59:09 +09:00
José Fonseca
8902ce06e8
gallium: Use stricter types.
...
VC++ won't silently convert a pointer to a function with typed pointer
arguments to one with void pointer arguments.
2008-02-27 15:24:54 +09:00
Brian
9404712257
cell: insert a (disabled) call to spe_cpu_info_get()
...
Found on the Cell devel forum, but doesn't appear to be available in SDK 2.1.
2008-02-26 20:13:36 -07:00
Brian
aa59a937cc
gallium: introduce 'pipe_screen' for context-independent functions
...
This will allow creating textures before a rendering context exists, for example.
Only implemented in i915 driver for now. i915pipe->texture_create() just
dispatches through to the i915screen->texture_create() to avoid state tracker
changes for now.
2008-02-26 20:15:14 -07:00
Brian
4da19dbcaa
gallium: remove pipe parameter from pipe_texture_reference()
...
Added pipe field to pipe_texture (temporary, see comments).
First step toward context-less texture creation...
2008-02-26 19:31:22 -07:00
Brian
d4a4bed663
gallium: updated prototype (missed in prev commit)
2008-02-26 14:32:57 -07:00
Brian
5e29aab175
gallium: replace draw_convert_wide_points() with draw_wide_point_threshold()
...
Specifying a threshold size is a bit more flexible, and allows the option
of converting even 1-pixel points to triangles (set threshold=0).
Also, remove 0.25 pixel bias in wide_point().
2008-02-26 14:32:57 -07:00
Michal Krol
36aa9cf781
gallium: Print texture target for short dumps.
2008-02-26 22:10:52 +01:00
Ian Romanick
75dac3959f
cell: Multiple rendering contexts don't work yet
...
Log a message and forcibly exit. This prevents silly fools from
thinking there's a bug...instead of just an unimplemented feature. :)
2008-02-26 11:19:14 -08:00
Michel Dänzer
dbf12dcdb7
intel_winsys: Fix build failure due to DEBUG_IOCTL being undefined.
...
Include pipe/p_debug.h to consistently enable or disable the debugging code.
2008-02-26 18:48:13 +00:00
Brian
4901410293
gallium/i915: Use tgsi_scan_shader() to collect shader info
...
No longer use semantic info in pipe_shader_state.
Also, remove redundant semantic info from i915_fp_compile struct.
2008-02-26 10:47:42 -07:00
Brian
33d213b677
gallium: remove unused var
2008-02-26 10:44:44 -07:00
Brian
f74279002a
gallium: added tgsi_shader_field to sp_fragment_shader
...
Use the shader semantic info from there, instead of from pipe_shader_state.
Carry this idea to draw module and other drivers...
2008-02-26 10:13:39 -07:00
Brian
1410b7bb50
gallium: collect more shader info in tgsi_scan_shader()
...
Now getting input/output semantic info so we can eventually remove those
fields from pipe_shader_state.
2008-02-26 10:12:17 -07:00
Brian
ecd50ef58b
gallium: remove input_map[] from pipe_shader_state
2008-02-26 08:43:07 -07:00
Brian
232a41e19f
gallium: disable debug code
2008-02-26 08:41:42 -07:00
Ben Skeggs
68ef528862
Merge branch 'upstream-gallium-0.1' into nouveau-gallium-0.1
2008-02-27 00:34:31 +11:00
Michal Krol
ad6bb870de
gallium: Fix build on Windows.
2008-02-26 11:49:25 +01:00
Zack Rusin
7838aaffdb
implement cache limits for cso
...
by default set to 4096, which might be on the large side
2008-02-26 01:51:46 -05:00
Zack Rusin
e798510569
add an explicit callback decleration and use it to silence warnings
2008-02-26 01:51:46 -05:00
Zack Rusin
bf1c2f3602
hide cso cache definition and add some initial code for size limiting
...
the caches
2008-02-26 01:51:46 -05:00
Zack Rusin
6abb82da7e
implement deleting of driver side cached state in cso's
2008-02-26 01:51:46 -05:00
Brian
08a5f49644
gallium: rewrite AA point fragment shader to use a CMP instruction instead of IF/ELSE/ENDIF
...
Allows the shader to work on i915 hardware.
2008-02-25 18:56:36 -07:00
Brian
ba376b3314
gallium/i915: plug in aapoint draw stage
2008-02-25 18:56:36 -07:00
Brian
f43c44b5c9
gallium/i915: Fix emit_hw_vertex(): need to use vinfo->src_index[]
2008-02-25 18:56:36 -07:00
Brian
7ed9beef5f
gallium/i915: remove debug code
2008-02-25 18:56:36 -07:00
Brian
0235b32521
gallium/i915: fix i915_emit_texld() to handle swizzled texcoords
...
Allocate a temporary register, insert MOV instruction, etc.
2008-02-25 18:56:36 -07:00
Ian Romanick
2fc9d0ffac
cell: Additional changes to match changes in draw/draw_vertex_shader.c
2008-02-25 16:18:08 -08:00
Ian Romanick
2efa7e9489
cell: Fix off-by-one error in spu_dcache_fetch_unaligned
...
This time the off-by-one error caused an extra qword to be fetched
under certain circumstances when the source ea was not qword aligned.
2008-02-25 16:18:08 -08:00
Ian Romanick
a63fd641a0
cell: Trivial compiler warning clean-ups.
2008-02-25 16:18:08 -08:00
Ian Romanick
fb68daceec
Cell: Remove unnecessary include files
2008-02-25 16:18:08 -08:00
Ian Romanick
7976a084e7
Cell: Use multiple DMA tags for the dcache.
2008-02-25 16:18:08 -08:00
Brian
b02fc94834
gallium/i915: compute vertex size _after_ state validation in emit_prim().
...
Fixes crash when drawing aa lines.
2008-02-25 17:01:20 -07:00
Brian
99047e0968
gallium/i915: plug in aaline draw stage
2008-02-25 16:24:47 -07:00
Brian
92650aeadd
gallium/i915: make sure state is up to date in i915_vbuf_render_get_vertex_info(), also disable bogus assertion
2008-02-25 16:22:58 -07:00
Brian
f41e957557
gallium/i915: need to recompute vertex info if vertex shader changes
2008-02-25 16:20:04 -07:00
Brian
b53110c789
gallium/i915: call draw_flush() in i915_flush()
2008-02-25 16:16:07 -07:00
Brian
cc0cf1154b
gallium: fix bad ptr assignment
2008-02-25 15:34:46 -07:00
Brian
846b7fbc6c
gallium/i915: use draw_find_vs_output() directly, fix broken fogcoords.
...
We now produce the correct 915 vertex layout regardless of the order in
which fragment shader inputs are declared.
2008-02-25 14:48:31 -07:00
Brian
c037b4d45a
softpipe: use draw_find_vs_output() directly
2008-02-25 14:47:13 -07:00
Brian
d6c7f7e314
gallium: modify draw_find_vs_output() to search vertex shader outputs
...
This simplifies drivers using the draw module and removes the last dependency
on vertex-shader "internals". Since the draw module is producing the
post-transformed vertices, it makes sense to ask it where specific vertex
attributes are located.
This could also simplify some things in the state tracker code for selection,
feedback, rasterpos...
2008-02-25 14:46:42 -07:00
Brian
ea02342c11
gallium/i915: Use hardware rendering, unless INTEL_SP env var is set
2008-02-25 11:21:03 -07:00
Brian
20839b37ed
gallium/i915: added SGT/SLE opcodes
2008-02-25 11:13:58 -07:00
José Fonseca
e4e3008923
Make the pipe headers C++ friendly.
2008-02-25 20:05:41 +09:00
José Fonseca
2a0675eb75
Replace standand library functions by portable ones.
2008-02-25 16:39:39 +09:00
José Fonseca
b75706764b
Add Zack's comments about CSOs.
2008-02-25 15:18:33 +09:00
Ben Skeggs
026e2fd3c6
nv40: remove pipe_state struct now.
2008-02-25 13:33:08 +11:00
Ben Skeggs
4058a90127
nv40: construct vbo state the same way as the rest
2008-02-25 13:30:24 +11:00
Ben Skeggs
14de997d5d
nv40: dump meaningful names for surface formats
2008-02-25 12:26:48 +11:00
José Fonseca
fdcb9260ee
Add new files.
2008-02-24 17:58:05 +09:00
José Fonseca
7aadb475e5
gallium: Fix MSVC warnings.
2008-02-24 10:37:31 +09:00
Brian
012391357f
gallium: disable early Z test if fragment shader contains KIL instruction.
...
Use tgsi_scan_shader() to determine if the fragment shader uses KIL or
writes fragment.z
2008-02-23 16:17:17 -07:00
Brian
35ca45daba
gallium: added TGSI_FILE_COUNT
2008-02-23 16:15:54 -07:00
Brian
1d77d6caf6
gallium: added new tgsi_scan.c / tgsi_scan_shader() function
...
Used to get information about registers, instructions used in a shader.
2008-02-23 16:15:29 -07:00
José Fonseca
e9bb63c8e2
gallium: MSVC fixes.
2008-02-24 02:23:12 +09:00
José Fonseca
58a3d7dfd9
Revamp scons usage.
2008-02-23 19:49:08 +09:00
José Fonseca
e8de5c70e3
Bring in several forgotten MSVC fixes.
2008-02-23 14:14:54 +09:00
Brian
aec315f05f
gallium: fix a state validation bug found w/ pointblast.c
2008-02-22 18:34:31 -07:00
Brian
e9276efafe
gallium: fix bug in which wide point stage overrode the aapoint stage
...
Also, simplify the logic a bit.
2008-02-22 17:22:54 -07:00
Brian
c74900ee5d
gallium/i915: overhaul of fragment shader compilation, constant/immediate allocation
...
Before, fragment shaders were translated to i915 hw code at bind time, rather
than create time. Now there's an i915_fragment_shader struct with the expected
contents that's created by i915_create_fs_state(). Translation to i915 code
takes place there too.
Immediates are handled correctly now. During program translation we keep
track of which constant buffer slots are free (i.e. not referenced by the
shader). Then the TGSI immediates and ancillary immediates (introduced for
SIN/COS/etc) are put into those free slots.
When it's time to upload the constant buffer, use the fp->constant_flags[]
array to determine if we should grab an immediate from the shader, or a
user-defined parameter from the gallium constant buffer.
2008-02-22 16:48:05 -07:00
Patrice Mandin
d8a9d850b9
nv30: init zeta to NULL, use color pitch if no zeta
2008-02-22 22:21:15 +01:00
Brian
8cd7c1d03c
i915: include stdio.h
2008-02-22 14:07:33 -07:00
Brian
24f3d7de29
i915: include p_debug.h (resolves undefined assert())
2008-02-22 14:07:12 -07:00
Patrice Mandin
0a5ed0667e
nv30: wrong number of parameters
2008-02-22 17:18:27 +01:00
Brian
12c14c31b7
gallium: fix brokenb build
2008-02-22 08:56:55 -07:00
Brian
0bb53709e8
cell: added function prototypes to silence warnings
2008-02-22 08:52:57 -07:00
Brian
b4d050ffcc
cell: fix build: s/dest/vertex/
2008-02-22 08:52:57 -07:00
José Fonseca
f1bef2cba2
gallium: Countour MSVC's pickyness for structures returned by value.
2008-02-23 00:51:48 +09:00
José Fonseca
901b03e84d
gallium: Wrap decls in extern "C".
2008-02-23 00:51:37 +09:00
José Fonseca
6c597238b2
gallium: Add cso convenience routine (from Keith's patch).
2008-02-23 00:51:33 +09:00
José Fonseca
2cf860b866
gallium: MSVC fixes.
2008-02-23 00:51:29 +09:00
Michal Krol
e0de82fbcb
gallium: Fix build on Windows.
2008-02-23 00:51:19 +09:00
Michal Krol
57060bc1fa
gallium: Silence compiler warnings on Windows.
2008-02-23 00:51:15 +09:00
Michal Krol
69a7c9739b
gallium: Silence compiler warnings on Windows.
2008-02-23 00:51:12 +09:00
Michal Krol
6f238275c7
gallium: Define intptr_t for Windows platform.
2008-02-23 00:51:06 +09:00
Michal Krol
8828dd1443
gallium: Move align_pointer() to p_pointer.h.
2008-02-23 00:50:59 +09:00
Michal Krol
f44b30f1eb
gallium: New file.
2008-02-23 00:50:55 +09:00
José Fonseca
26c57d1630
Avoid building problematic module/drivers on windows.
2008-02-23 00:47:28 +09:00
Ben Skeggs
7b938431d0
nv40: stateobj start out with 0 refcount
2008-02-22 14:46:48 +11:00
Ben Skeggs
c2e36bdd1a
nv40: move hw_dirty
2008-02-22 13:55:18 +11:00
Ben Skeggs
5b2ff28a2f
nv40: rework fragment texture state
2008-02-22 13:32:51 +11:00
Ben Skeggs
73e0e567de
nouveau: fix build
2008-02-22 12:36:48 +11:00
Ben Skeggs
f7922db610
Merge branch 'upstream-gallium-0.1' into nouveau-gallium-0.1
...
Conflicts:
src/gallium/drivers/Makefile
2008-02-22 12:25:15 +11:00
Brian
446bfc32a8
gallium: new draw stage for polygon stipple.
...
For hardware without native polygon stipple. Create a 32x32 alpha texture
that encodes the stipple pattern. Modify the user's fragment program to
sample the texture (with gl_FragCoord) and kill the fragment according to
the texel value.
Temporarily enabled in softpipe driver, replacing the sp_quad_stipple.c step.
2008-02-21 16:56:32 -07:00
Brian
eb4dc2dd5e
gallium: new AA point drawing stage
...
AA points are drawn by converting the point to a quad, then modifying the
user's fragment shader to compute a coverage value. The final fragment
color's alpha is modulated by the coverage value. Fragments outside the
point's radius are killed.
2008-02-21 16:18:05 -07:00
Brian
d4d2e36a42
gallium: comments, white-space clean-up
2008-02-21 12:33:30 -07:00
Keith Whitwell
20fbcbf580
[PATCH] softpipe: unbreak sp_setup_pos_vector on non-x86 systems
2008-02-21 19:17:27 +00:00
Keith Whitwell
4339744c16
[PATCH] gallium: include p_compiler.h for boolean defn
2008-02-21 19:17:27 +00:00
Keith Whitwell
30479ef110
draw: vertex cache rework
...
Take a baby step to straightening out vertex paths.
2008-02-21 19:17:27 +00:00
Keith Whitwell
1eaf7b775b
tgsi: print debug messages on failure to codegenerate
2008-02-21 19:17:27 +00:00
Ian Romanick
de5c64e0af
Cell: Remove erroneous ALIGN16_ATTRIB attributes
...
If a structure is marked as being aligned the SPE compiler performs
extra optimizations (sadly, only -O2 is used) when reading the
structure. Since most of the structures sent in batch buffers are
only 8-byte aligned, this resulted in mysterous bugs with -O2.
2008-02-21 10:43:46 -08:00
Ian Romanick
6dd47c264a
Cell: Add spu_dcache.c to Makefile.
...
This was erroneously missing in previous commits.
2008-02-21 10:43:45 -08:00
Ian Romanick
e78fc9f2f4
Cell: Initial scalar implementation of spu_dcache_mark_dirty
2008-02-21 10:43:45 -08:00
Ian Romanick
2d1f086c12
Cell: Fix off-by-one error in spu_dcache_fetch_unaligned
...
An off-by-one error caused an extra qword to be fetched under certain
alignment / size combinations.
2008-02-21 10:43:45 -08:00
Ian Romanick
7c74037852
Cell: Initial pass at unified data cache
2008-02-21 10:43:45 -08:00
Brian
8be9bc08e1
gallium: include p_inlines.h
2008-02-20 18:00:03 -07:00
Brian
d3b7d26b0b
gallium: s/pipe_reference_texture/pipe_texture_reference/
2008-02-20 17:57:40 -07:00
Brian
228f6b9788
gallium: re-fix some msvc warnings
2008-02-20 15:32:41 -07:00
Brian
e523ef7204
cell: use pipe_texture_reference()
2008-02-20 15:14:14 -07:00
Brian
25ea1901b4
gallium: replace some ordinary assignments with pipe_reference_texture()
...
This fixes at least one instance of dereferencing an invalid texture pointer.
2008-02-20 15:09:44 -07:00
Brian
fce61f341f
gallium: fix bad ptr comparison
2008-02-20 15:09:44 -07:00
Brian
fd4bdd020a
cell: rename cell_state_fs.c -> cell_state_shader.c
2008-02-20 14:32:43 -07:00
Brian
6468347375
cell: init shader-related functions in cell_init_shader_functions()
2008-02-20 14:30:50 -07:00
Brian
9e57e70b42
cell: #includes to silence warnings
2008-02-20 14:27:08 -07:00
Brian
f6e1654e22
cell: plug in cell_set_sampler_texture
2008-02-20 14:25:07 -07:00
Brian
acd2253ae8
Remove obsolete files replaced by cell_pipe_state.c
2008-02-20 14:24:46 -07:00
Brian
9171e63f41
cell: put most simple state-setter functions in new cell_pipe_state.c file
...
Also, re-org of texture/surface functions.
2008-02-20 14:21:45 -07:00
Brian
4eae65c8e0
gallium: re-org of i965 texture/surface code, functions
2008-02-20 14:04:05 -07:00
Brian
882a4b5054
gallium: minor re-org of 915 surface/texture code
2008-02-20 14:00:42 -07:00
Brian
d5640a2dbd
gallium: new pipe->texture_update() function
...
Called whenever texture data is changed (glTexImage, glTexSubImage,
glCopyTexSubImage, etc).
2008-02-20 13:24:52 -07:00
Brian
22a0b85eae
gallium: use pipe_texture_reference() in sp_tile_cache_set_texture()
2008-02-20 11:15:59 -07:00
Ben Skeggs
759fa5fcc8
nv40: fb state
2008-02-20 17:22:40 +11:00
Ben Skeggs
9cd10d7618
nv40: almost there..
2008-02-20 17:14:41 +11:00
Ben Skeggs
46c3d0918d
nv40: keep track of generated context state vs current channel state
2008-02-20 16:21:28 +11:00
Brian
49c3f3b537
gallium: general clean-up of xlib winsys Makefile
2008-02-19 16:51:19 -07:00
Brian
75a4524f2c
gallium: initialize the killmask register to zero before running shader
...
This fixes mysterious missing fragments when running with SSE.
2008-02-19 16:28:25 -07:00
Brian
4ec46e4869
gallium: add some casts to prevent likely msvc warnings
2008-02-19 14:58:23 -07:00
Brian
a2c06c5b5c
gallium: don't hard-code attrib slot=0 in setup_fragcoord_coeff()
2008-02-19 14:56:01 -07:00
Brian
b1c8fa5b60
gallium: implement correct sampling for RECT targets / unnormalized texcoords
2008-02-19 14:55:18 -07:00
Brian
3e329ea7e4
gallium: updated cell build
...
Building on Ian's Cell build fix.
Put libcell.a in the gallium/drivers/cell/ directory.
General Makefile clean-up, simplification, updated comments.
2008-02-19 11:14:54 -07:00
Ian Romanick
66be2810c3
Cell: emit vertex shaders and uniforms more intelligently
2008-02-19 08:41:04 -08:00
Ian Romanick
4362c6e59d
Cell: trivial clean-ups
2008-02-19 08:41:04 -08:00
José Fonseca
5480a6bc13
Fix windows build.
2008-02-19 18:57:25 +09:00
José Fonseca
b62f0ddd09
Portability fixes.
...
Eliminate C99/C++ constructs.
(We should actually disable gcc C99 syntax options if we are serious about
portability.)
2008-02-19 18:56:55 +09:00
José Fonseca
b9da3791c9
Remove src/mesa and src/mesa/main from gallium source include paths.
2008-02-19 15:07:53 +09:00
José Fonseca
5d78212d75
Bring in ppc spe rtasm into gallium's rtasm module.
...
Moving files since these are not being used outside gallium.
2008-02-19 14:06:11 +09:00
José Fonseca
b0eef0dc25
Add run-time cpu capabilities detection stubs.
2008-02-19 14:06:11 +09:00
José Fonseca
90b2beb661
Simplify makefile boilerplate code.
...
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined
locally by makefiles, together with C_SOURCES and CPP_SOURCES.
2008-02-19 14:06:11 +09:00
José Fonseca
f430d95a36
Use gallium's rtasm module.
2008-02-19 14:01:49 +09:00
José Fonseca
17158c2f00
Move mm.c code into util module.
...
Using the u_ prefix to distingish the c source files that support gallium
interfaces and those that have really no relation with gallium itself.
2008-02-19 14:01:49 +09:00
José Fonseca
d2f6c9ab10
Add copyright headers to all rtasm source files.
2008-02-19 14:01:49 +09:00
José Fonseca
39ea030842
Rename rtasm files.
2008-02-19 14:01:49 +09:00
José Fonseca
df8ab3140c
Bring rtasm from mesa to gallium.
2008-02-19 14:01:49 +09:00
José Fonseca
e773a813cf
Initial scons support to build gallivm.
...
Not yet complete.
2008-02-19 14:01:49 +09:00
José Fonseca
e279b1c57a
More llvm -> gallivm.
...
Forgot this one on the last commit.
2008-02-19 14:01:49 +09:00
Brian
6c7f663cb9
gallium: move draw_set_viewport_state() call, plus code clean-up, remove obsolete comments
2008-02-18 18:39:55 -07:00
Brian
ae9931dad2
gallium: call draw_flush() for scissor/stipple state changes
2008-02-18 18:36:20 -07:00
Brian
478c14453b
gallium: remove the prototype/unused wide_line_aa() function
2008-02-18 16:50:07 -07:00
Brian
aceeb80d4f
gallium: antialiased line drawing
...
New draw/prim stage: draw_aaline. When installed, lines are replaced by
textured quads to do antialiasing. The current user-defined fragment shader
is modified to do a texture fetch and modulate fragment alpha.
2008-02-18 16:19:05 -07:00
José Fonseca
0448dbd64a
Update for llvm -> gallivm rename.
2008-02-18 12:33:34 +00:00
José Fonseca
3f3b09d6d8
Rename llvm -> gallivm.
...
Following the directory == library name policy simplifies the build system.
2008-02-18 20:05:06 +09:00
José Fonseca
687a8b96ef
Standardize on using the pipe/ include prefix.
2008-02-18 20:02:42 +09:00
José Fonseca
33ceb6716a
Update scons build for new code layout.
2008-02-18 10:52:44 +00:00
Ben Skeggs
c0f9cab905
nouveau: cleanups + fixes
2008-02-18 18:23:12 +11:00
José Fonseca
8450b14676
Cleanup depend files.
2008-02-18 15:37:52 +09:00
Ben Skeggs
9a5dd26fe2
nv40: and vertprog..
2008-02-18 17:36:24 +11:00
Ben Skeggs
4a9cb97bbf
nv40: get fragprog onto new state mechanism
2008-02-18 17:07:59 +11:00
José Fonseca
39fe5851a5
Actually use GALLIUM_DRIVER_DIRS.
2008-02-18 15:07:17 +09:00
Ben Skeggs
56045da083
nv40: move some things around
2008-02-18 16:38:27 +11:00
Ben Skeggs
112ba3355a
nv40: until gallium is fixed we'll need a fallback for user clip planes
2008-02-18 16:26:33 +11:00
José Fonseca
bfd5916eaf
Code reorganization: split gallium and mesa makefiles.
...
In other words, don't build src/gallium source code from within src/mesa/Makefile.
Also, allow to customize which gallium auxiliary dirs, driver driver, winsys
dirs get built from the config/* files.
2008-02-18 14:25:04 +09:00
Ben Skeggs
f911235f64
nouveau: header update
2008-02-18 15:32:42 +11:00
Ben Skeggs
037570fa5a
nv40: obey polygon offset state
...
Almost sure this isn't entirely correct. However, I'm not sure what
gallium expects yet, and this fixes some bugs, so it'll do for now.
2008-02-18 15:29:02 +11:00
Ben Skeggs
12e0aa7b1d
nv40: similar changes to polygon stipple as were done for scissor
2008-02-18 14:12:58 +11:00
Ben Skeggs
5e091b573a
nv40: ensure scissor gets disabled where necessary
...
Fixes progs/demos/lodbias.
Makes a complete mess of things, but now there's a motivation to finish
this off :)
2008-02-18 12:46:25 +11:00
Ben Skeggs
9a6c39bd2e
Merge branch 'upstream-gallium-0.1' into nouveau-gallium-0.1
2008-02-18 12:45:56 +11:00
Zack Rusin
4a79156812
fix the build
2008-02-17 09:43:02 -05:00
Brian
0c6bbd41bd
gallium: add missing mip level clamp
2008-02-16 13:55:47 -07:00
Brian
3b2a291888
gallium: tweak texture filter min/mag thresholds
2008-02-16 13:50:31 -07:00
Brian
08c9534107
gallium: implement min vs. mag filter determination for non-mipmapped textures
...
Fixes tests/minmag.c
2008-02-16 10:05:24 -07:00
Ben Skeggs
c303cf15dc
nouveau: fix potential userbuf crash.
2008-02-16 17:51:44 +11:00
Ben Skeggs
26add9288c
nouveau: match gallium code reorginisation.
...
That was... fun..
2008-02-16 17:23:12 +11:00
Ian Romanick
3320b1874e
Cell: Enable code gen for SPE attribute fetch
...
Doubles are still unsupported.
2008-02-15 11:03:54 -08:00
Ian Romanick
b08d3fa249
Make this file build on non-SSE builds (e.g., Cell)
2008-02-15 10:00:31 -08:00
Ian Romanick
397b81bd1c
Move cell_vertex_fetch.c for recent code reorg.
2008-02-15 09:43:13 -08:00
Keith Whitwell
c179bc9901
tgsi: pass through failure to sse-codegenerate for fragment programs too.
...
In particular, will fallback to interpreted execution for shaders with
TEX instructions.
2008-02-15 13:39:24 +00:00
Keith Whitwell
b29d8d2729
draw: subclass vertex shaders according to execution method
...
Create new files for shaders compiled/executed with llvm, sse, exec
respectively
2008-02-15 13:37:01 +00:00
Keith Whitwell
e822e09b89
softpipe: rename some functions to disambiguate
2008-02-15 13:35:46 +00:00
Keith Whitwell
30d0bacf7a
Merge commit 'origin/gallium-0.1' into gallium-0.1
2008-02-15 11:18:04 +00:00
Keith Whitwell
6ac2c1cc0c
Merge commit 'origin/gallium-0.1' into gallium-0.1
...
Conflicts:
src/gallium/drivers/softpipe/sp_quad_fs.c
src/gallium/drivers/softpipe/sp_state.h
src/gallium/drivers/softpipe/sp_state_fs.c
2008-02-15 11:15:47 +00:00
José Fonseca
66f22aa3bf
Code reorganization: s/aux/auxiliary/ -- update build.
2008-02-15 20:11:40 +09:00
José Fonseca
92fcbf6e7b
Code reorganization: s/aux/auxiliary/.
...
"aux" is a reserved name on Windows (X_X)
2008-02-15 20:07:18 +09:00
José Fonseca
6d3831b11d
Code reorganization: placeholder for state-trackers.
...
This is meant for temporarily holding state-trackers,
until they eventually find their way out of gallium tree.
2008-02-15 17:52:14 +09:00
José Fonseca
6acd63a498
Code reorganization: update build.
...
Update the Makefiles and includes for the new paths.
Note that there hasn't been no separation of the Makefiles yet, and make is
jumping all over the place. That will be taken care shortly. But for now, make
should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm
might require some minor tweaks.
2008-02-15 17:50:12 +09:00
José Fonseca
b642730be9
Code reorganization: move files into their places.
...
This is in a separate commit to ensure renames are properly preserved.
2008-02-15 17:45:40 +09:00