Brian
05ba76757b
Clip triangles against softpipe->cliprect which includes scissor and surface bounds.
This prevents rendering out of bounds when the viewport is partially outside the surface bounds.
18 years ago
Brian
05bde092f3
remove obsolete comments
18 years ago
Brian
a0c1d591ab
Maintain cliprect (scissor) info in sp_state_derived.c.
The cliprect depends on the scissor rect (if enabled), otherwise the drawing
surface bounds.
18 years ago
Brian
78ea9cee0d
Implement point/line quad clipping. Not quite as efficient as it probably could be, but sufficient for now.
18 years ago
Brian
6abdad28f6
check scissor state
18 years ago
Brian
df23ebbb9f
s/SP_TILE_H/SP_QUAD_H/
18 years ago
Brian
e1a19781dd
init quad.coverage values to 1.0 in case line AA is enabled so that we see something
18 years ago
michal
8755594647
Avoid unnecessary input attrib copy by aligning exec_machine attribs.
18 years ago
michal
e0a26b0467
Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
18 years ago
Brian
e3cef58875
Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion.
18 years ago
Brian
9ed040c3c9
generate error upon writing to varying var in fragment program (bug 11733)
18 years ago
Brian
daaee90a26
clamp float colors
18 years ago
Brian
51b728cf9a
fix color interpolation for CHAN_BITS==32
18 years ago
Brian
efda5cb626
don't use rgba_line() if CHAN_BITS==32
18 years ago
Brian
0360b49afb
Implement line stippling.
Also added draw_stage::reset_line_stipple(). There may be a better way
of doing that though.
18 years ago
Brian
1f6b4b0f75
rename some vars
18 years ago
Brian
8b2955b736
implement DDX, DDY instructions
18 years ago
Brian
be8725321c
Fix pinterp() to compute 1 / FRAG_ATTRIB_WPOS.w Update comments too.
18 years ago
Brian
d24e60a6b1
patch things up enough to allow texture sampling to work
18 years ago
Brian
03ec41ddc5
remove unused MAX_3D_TEXTURE_SIZE, reformattting
18 years ago
Brian
a502c08a25
use consistent indentation
18 years ago
Brian
2eb9061f73
check return value of tgsi_parse_init()
18 years ago
Brian
ed52adc64e
added PROGRAM_NAMED_PARAM in map_register_file()
18 years ago
Brian
3ffd30638a
added GL_FRAGMENT_PROGRAM_NV in st_new_program()
18 years ago
Brian
496ee38b71
Add VF_ATTRIB_VAR0..7 for varying variables.
The demos/fslight.c demo runs now.
18 years ago
Brian
5c2cff44d2
added PROGRAM_UNIFORM to map_register_file()
18 years ago
Brian
6a235d3fe5
comments
18 years ago
Brian
8c99f7ba61
s/GLuint/GLbitfield/
18 years ago
Brian
1475d74cfb
Compute need_z and need_w properly and use the correct const/linear/perspective interpolation in shade_quad().
18 years ago
Brian
2de4c7573e
Fix a typo (i << i) that was fouling up the vertex layout info.
18 years ago
Brian
67b61520ce
added missing OPCODE_ARL to TGSI_OPCODES[], added sanity check assertion
18 years ago
Brian
3af7876521
added code to test per-vertex colors
18 years ago
Brian
43d7c1fe9d
Basic fragment programs run now.
Handling of constants might change. For now, the st_fragment_program struct
contains a pipe_constant_buffer (not a pointer).
18 years ago
Brian
ef3849ffa0
rebuild quad pipeline when framebuffer changes too
18 years ago
Brian
9110dbd9b2
simple fragment shader test
18 years ago
Brian
47fafcf06f
use enabled/linked fragment shader in preference to a fragment program
18 years ago
Brian
4477a01372
call ctx->Driver.NewProgram() instead of _mesa_new_program()
18 years ago
Brian
5b6858c023
call ctx->Driver.NewProgram() instead of _mesa_new_program()
18 years ago
Brian
ffc633c469
fix logic error, typos
18 years ago
Brian
5b737b7df2
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
18 years ago
Brian
da2f1e88bc
fix GLX_STEREO handling (bug 11705)
18 years ago
michal
98eaf5503d
Execute fs tokens.
Fix align128 bug.
18 years ago
Zhang
76fb808910
Fix a number of MINGW32 issues
18 years ago
Brian
af2aa8e9cf
Remove ctx->Point._Size and ctx->Line._Width.
The clamping for these values depends on whether we're drawing AA or non-AA
points, lines. Defer clamping until drawing time. Drivers could compute and
keep clamped AA and clamped non-AA values if desired.
18 years ago
Brian
5842bc3bf9
remove VC6/VC7 project files until updated
18 years ago
Roland Scheidegger
36fce66034
set the _BaseFormat for window-framebuffers, could hit some assertion otherwise
18 years ago
Roland Scheidegger
82fceba231
fix bogus recently introduced function param comments
18 years ago
Roland Scheidegger
118bd626b1
fix bogus recently introduced function param comments
18 years ago
Roland Scheidegger
97cd87ef74
minor cleanups, disable debugging
18 years ago
Keith Whitwell
4824c342c8
Trigger tgsi compilation for fragment programs.
Not sure the generated program looks correct though...
18 years ago