Keith Whitwell
73c2711bb1
rtasm: clean up debug dumping a little
пре 17 година
Keith Whitwell
785831fc6f
cso: propogate one easy error - many more
пре 17 година
Keith Whitwell
d3db46eb82
translate: fail on x86 rtasm fail
пре 17 година
Keith Whitwell
b17e123a8f
rtasm: propogate errors in x86 emit
пре 17 година
Michel Dänzer
65efe807b9
gallium: Use CSO cache for shaders.
пре 17 година
Zack Rusin
0824fb1d6a
actually write the results
пре 17 година
Keith Whitwell
30b4dc2909
draw: more propogation -- pstipple stage.
пре 17 година
Keith Whitwell
0d4ece4c5a
draw: propogate lots of errors
пре 17 година
Keith Whitwell
0cd90a917d
draw: propogate errors out of aapoint stage
пре 17 година
Keith Whitwell
69ecc2a577
draw: propogate errors out of aaline stage
пре 17 година
Keith Whitwell
a918a9c744
draw: consolidate all the passthrough line/tri/point funcs
пре 17 година
José Fonseca
d3045ebb06
gallium: Hash the fragment shader tokens, instead of pipe_shader_state.
PS: pipe_shader_state should probably go away now that it is reduced to a single pointer.
пре 17 година
José Fonseca
e29583afcb
gallium: Include dependent header.
пре 17 година
José Fonseca
13d8b1b211
gallium: Set all state via cso_context in blit/gen_mipmap utils.
cso_restore_* functions are implemented on top of cso_set_*, therefore
they require full knowledge of the current pipe state to work correctly.
Directly calling pipe's set_*_state functions will lead to undefined state.
Also save and restore shaders.
пре 17 година
José Fonseca
08717d9461
gallium: Do not mistake pipe state objects for state tracker state objects.
пре 17 година
Keith Whitwell
76a3590046
util: work around freaky win32 math.h
пре 17 година
Keith Whitwell
615cdd3a53
tgsi: use new float math funcs, drop local disassembly code
пре 17 година
Keith Whitwell
f30f320612
util: add wrappers for float math functions on windows
пре 17 година
Keith Whitwell
b6c9d2ef2c
rtasm: add dump facility for x86 (from tgsi_sse2.c)
пре 17 година
Zack Rusin
201ac414d4
make llvm draw paths compile with the latest changes
switch the method of distribution of builtins (to get rid of the
llvm2cpp dependency)
пре 17 година
José Fonseca
40e0439db4
gallium: Centralize SSE usage logic.
пре 17 година
José Fonseca
29858e1b55
gallium: Refcount textures.
Pipe driver does refcount textures. If cso_context does not, dangling
pointers appear.
пре 17 година
Keith Whitwell
68a7cb21fa
draw: rearrange debug code
пре 17 година
Keith Whitwell
d0a4bf08b1
translate: fix several bugs
- specify cdecl calling convention on WIN32
- fix load bgra8 function
- fix previous don't crash fix.
пре 17 година
Keith Whitwell
bfd179776f
draw: add missing translate->set_buffer for fetch emit path
пре 17 година
Keith Whitwell
b1158a5e00
translate: don't crash on failure to create sse version
пре 17 година
Keith Whitwell
af523a5bd7
rtasm: include yet another i386 define varient
пре 17 година
Keith Whitwell
d3cb62b8b3
draw: fix scons build
пре 17 година
Keith Whitwell
7d72607e14
draw: move incoming vertex state into draw->pt
This state is effectively private to the vertex processing part
of the draw module.
пре 17 година
Keith Whitwell
dcf6f776ce
draw: make draw_reset_vertex_ids private to the draw_pipe_* code
пре 17 година
Keith Whitwell
2dae208fb1
draw: make room for extra_vs_outputs
пре 17 година
Keith Whitwell
e7bac42766
draw: put pipeline flushing behind a new interface
пре 17 година
Keith Whitwell
bee1d31641
draw: move pt_pipeline code to draw_pipe.c
This is now the drawing interface to the pipeline. No more
calling into pipeline.first->tri(), etc.
пре 17 година
Keith Whitwell
c898eae272
draw: always emit header in draw_pt_fetch.c
пре 17 година
Keith Whitwell
507fbe2d32
draw: move some pipeline-specific code & state to draw_pipe.[ch]
пре 17 година
Keith Whitwell
0959f909ba
draw: remove dead file pipe_wide_prims.c
пре 17 година
Keith Whitwell
1246d06313
draw: remove named clipmask flags, tidy up pt middle ends
пре 17 година
Keith Whitwell
882e5d84dc
draw: remove dead code
пре 17 година
Keith Whitwell
26831bdac5
draw: rename pipeline files to draw_pipe_*
пре 17 година
Keith Whitwell
43452886e2
cell: don't need to trim prims
пре 17 година
Keith Whitwell
c717f1fbe2
softpipe: don't need to trim prims
пре 17 година
Keith Whitwell
1b411f8943
draw: sort makefile sources
пре 17 година
Keith Whitwell
6c38c600ff
draw: rename draw_vertex_shader.c -> draw_vs.c
пре 17 година
Keith Whitwell
6494946db6
draw: remove draw_debug.c
пре 17 година
Keith Whitwell
6d9132de04
draw: make draw_pt_fetch_emit use translate facility
пре 17 година
Keith Whitwell
251ebcc175
draw: remove more dead data structures
пре 17 година
Keith Whitwell
6094e79f4e
draw: remove dead data structures
пре 17 година
Keith Whitwell
415e8e039b
draw: remove draw_vertex_fetch.c
пре 17 година
Keith Whitwell
709e33cf0b
draw: remove old draw_vertex_shader_queue_flush function
пре 17 година
Keith Whitwell
dd903d83b3
draw: remove old vertex_shader->run() functions
пре 17 година