Keith Whitwell
763426a025
tgsi: reduce repetition of structure name in its members
Rename Semantic.SemanticName to Semantic.Name. Similar for
SemanticIndex, and the members of the tgsi_version struct.
16 년 전
Keith Whitwell
1aef032d43
gallium/draw: Free specialized versions of driver shaders
The pstipple, aaline and aapoint code would create specialized versions
of shaders and upload them to the driver -- but never free them.
16 년 전
Keith Whitwell
003cfd4dd2
draw: free more token arrays
The AA line and point code also needs to free token arrays after
building driver shaders.
16 년 전
Keith Whitwell
eb979cef85
gallium/draw: add ability to print out active pipeline stages
16 년 전
Keith Whitwell
d0d5e6a22c
draw: update aa points shader comment
16 년 전
Michel Dänzer
45bde75bd6
gallium: Remove some superfluous instances of #include "p_inlines.h".
16 년 전
Brian Paul
4f25420bdd
gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h
Also, rename p_tile.[ch] to u_tile.[ch]
17 년 전
Michal Krol
0c8f4c25ff
draw: Use KIL instead of KILP.
17 년 전
José Fonseca
c208a2c791
Merge tgsi/exec and tgsi/util directories.
17 년 전
Keith Whitwell
2161b0fafc
draw: don't assume vertex position is in data[0]
17 년 전
Michal Krol
c2ff3a66a1
draw: Fix build after TGSI declaration interface changes.
17 년 전
Keith Whitwell
2f0d1396e4
draw: move some state into a new 'vs' area
17 년 전
Brian Paul
14d1ca8d86
gallium: fix issues in recursive flushing
When flushing/rendering, some stages (like AA line/point) need to set
pipe/driver state. Those driver functions often call draw_flush().
That leads to recursion.
Use new draw->suspend_flush flag to explicitly prevent that in the key places.
Remove the draw->vcache_flushing field.
Reuse draw->flushing as a debug/assertion var.
17 년 전
Brian Paul
8437f5c763
gallium: fix comments
17 년 전
Keith Whitwell
0d4ece4c5a
draw: propogate lots of errors
17 년 전
Keith Whitwell
0cd90a917d
draw: propogate errors out of aapoint stage
17 년 전
Keith Whitwell
a918a9c744
draw: consolidate all the passthrough line/tri/point funcs
17 년 전
Keith Whitwell
507fbe2d32
draw: move some pipeline-specific code & state to draw_pipe.[ch]
17 년 전
Keith Whitwell
26831bdac5
draw: rename pipeline files to draw_pipe_*
17 년 전
Keith Whitwell
280bcff1fa
draw: add vertex shader run_linear function
17 년 전
Brian
e55dccd0bf
gallium: the generic attrib we use for computing coverage is per-shader
Fixes a very tricky conformance failure.
17 년 전
Brian Paul
b12a28db96
gallium: remove dead code related to shader semantic input/output info
17 년 전
Brian Paul
fa9e7e9a8d
gallium: remove semantic info from pipe_shader_state
Brian's patch to clean up the shader interfaces.
17 년 전
Brian
339e7ec680
gallium: rework CSO-related code in state tracker
Use the code in cso_context.c rather than st_cache.c.
Basically, binding of state objects now goes through the CSO module.
But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're
not cached by the CSO module at this time.
Also, update softpipe driver to handle NULL state objects in various places.
This happens during context destruction. May need to update other drivers...
17 년 전
Brian
78220aea86
gallium: remove the ugly pipe->draw stage lookup code in aaline/point/pstipple stages
Added a void *draw ptr to pipe_context. Probably look for a better solution someday.
17 년 전
Brian
cddeca51ad
gallium: remove dependencies on pipe_shader_state's semantic info
Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead.
17 년 전
Brian
232a41e19f
gallium: disable debug code
17 년 전
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.
17 년 전
José Fonseca
e9bb63c8e2
gallium: MSVC fixes.
17 년 전
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.
17 년 전