Zack Rusin
6f04f0f8aa
disable llvm for fragment shaders for now
17 роки тому
Zack Rusin
8f15140943
rewrite the way cpu engine is handled
17 роки тому
Zack Rusin
716206c190
rewrite the way we handle ir in llvm code
introduce intermediate step gallivm_ir before compiling it
down to the final llvm ir.
17 роки тому
Zack Rusin
474f1a1d56
add a stub of a lowering pass
17 роки тому
Ben Skeggs
ce358b879c
nouveau: memory leak
17 роки тому
Ben Skeggs
ae78e6b549
nv40: prep for multiple pipe contexts on a single hw channel
17 роки тому
Ben Skeggs
fc38b21d2a
nouveau: interface updates
17 роки тому
Ben Skeggs
6aad1d9bbc
nv40: delay all state emit until before draw
17 роки тому
Brian
fc65fb54ee
gallium: include st_cb_drawpixels.h
17 роки тому
Brian
fa0a651a3e
fix comment typos
17 роки тому
Brian
44bb16c4d4
gallium: initial implemenation of auto mipmap generation in state tracker
Use hardware rendering to compute/render mipmap levels.
The fallback path (which will be used for non-renderable texture formats)
isn't working yet.
17 роки тому
Brian
d68ea8114a
gallium: added inClipCoords param to st_draw_vertices() to indicate coord system of vertices
Also, export st_make_passthrough_vertex_shader() from st_cb_drawpixels.c
17 роки тому
Brian
184054fea1
gallium: added draw_flush() call in softpipe_bind_sampler_state()
17 роки тому
Brian
76dc41765f
Remove unused texunit parameter to ctx->Driver.GenerateMipmap()
17 роки тому
Jerome Glisse
e770d6adeb
intel_winsys: remove leftover code
17 роки тому
Jerome Glisse
1e2f5fb05a
failover: several fixes to failover pipe module
17 роки тому
Michel Dänzer
99c3c2d038
tgsi: Fall back to interpreter instead of assert(0) on unimplemented SSE code.
17 роки тому
Michel Dänzer
f41a4ee11a
pipebuffer: Fix reversed assertion.
17 роки тому
José Fonseca
87c8a1ba36
gallium: Conditionally use posix libraries/includes.
17 роки тому
Brian
1d05c41c5b
Cell: silence unused var warnings
17 роки тому
Brian
0af89a60b4
gallium: #include p_debug.h since we use assert
17 роки тому
Brian
8ce9d29df9
Cell: use mem_dup()
17 роки тому
Brian
2a3b31c1c4
gallium: use mem_dup()
17 роки тому
Brian
67155e8edf
gallium: added mem_dup()
17 роки тому
Brian
64ca0678ee
gallium: change pipe->texture_create() to operate like the CSO functions
Now, pass in a template object and return a new object.
17 роки тому
Brian
20f16a6ae4
clean-ups in guess_and_alloc_texture()
17 роки тому
Brian
30c9e12f8d
plug in ctx->Driver.GenerateMipmap function
17 роки тому
Brian
08ffa00d15
Added ctx->Driver.GenerateMipmap() driver hook
17 роки тому
Brian
20aa31a244
clean-ups
17 роки тому
Brian
1ad145a950
added comment
17 роки тому
Brian
e232b3ffc1
comments, clean-ups, consts
17 роки тому
Brian
35caa43e68
clean-up
17 роки тому
Brian
61e59234d0
gallium: add bitmap/drawpixels texcoord bias support
The state tracker will call pipe->get_paramf(PIPE_CAP_BITMAP_TEXCOORD_BIAS)
to get a bias factor for adjusting the texcoords used in bitmap/drawpixels.
This allows us to compensate for small differences in rasterization from
one device to another.
17 роки тому
José Fonseca
bf3101afdc
gallium: Bring latest fixes.
17 роки тому
José Fonseca
560416b263
gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.
17 роки тому
José Fonseca
7ff0b6782a
gallium: Add forgotten return type.
17 роки тому
José Fonseca
d432583d69
gallium: Update scons instructions. Propagate user environment.
17 роки тому
José Fonseca
25c29080f7
gallium: Cross-platform debugging helpers.
17 роки тому
José Fonseca
152ea0b424
gallium: Portability guidelines.
17 роки тому
Brian
d154f6a24b
Cell: remove accidentally added OPT_FLAGS lines
17 роки тому
Brian
14f1f2523b
Cell: SIMD-ize tri_linear_coeff(), use vector float for vertex attributes in struct vertex_header
17 роки тому
Brian
df2ab198eb
Cell: re-enable inlined vertex buffers
Vertex data must be on a 16-byte address/offset so SIMD operations will work
properly in the SPU code.
17 роки тому
Brian
2ec5ae5e50
Cell: remove dummy fields, update/add some comments
17 роки тому
Brian
48aad03939
Cell: added cell_batch_alloc_aligned()
17 роки тому
Ian Romanick
ac07631d85
Use _transpose_matrix4x4 from Cell SDK instead of my own version
17 роки тому
Ian Romanick
76702d5fcd
Add some debug messages
17 роки тому
Ian Romanick
f33c8119ab
More semi-trivial vectorization in the shader VM
17 роки тому
Ian Romanick
40147bd835
Vectorize vertex puller
17 роки тому
Ian Romanick
d8642b8309
Vectorize all micro ops
Fold single instruction micro ops inline. Remove unused micro ops.
17 роки тому
Ben Skeggs
e9147bfab4
nv40: cleanup state handling a bit
17 роки тому