Brian
7392dac962
When in GL_FEEDBACK mode, make sure we emit color and texcoord registers.
18 years ago
Brian
38743e2ef1
generate selection hit if in selection mode and pos is not clipped
18 years ago
Brian
4338f0f709
Update framebuffer state in response to _NEW_COLOR (set by glDrawBuffer)
18 years ago
Brian
2dd27cfdd9
Fix viewport Z scale/bias to get the right Z values from drawing the quad.
18 years ago
Brian
4f23468bd0
don't crash if texture border is used (unsupported for now)
18 years ago
Brian
863cc0af74
fix square point rasterization
18 years ago
Brian
7db3cf8c48
lower clamp bound for UNCLAMPED_FLOAT_TO_SHORT() is -1
18 years ago
Brian
45700ac280
use new st_clear_accum_buffer() function
18 years ago
Brian
2de9477fee
New st_clear_accum_buffer() function (can't use pipe->clear() since it doesn't handle negative color values)
Also, remove unneeded clamping in the accum ops.
18 years ago
Brian
4959617164
front/back determination was wrong
18 years ago
Brian
29cfec1581
remove debug assertion
18 years ago
Brian
efdacc90b4
Update mask calculations for point drawing.
18 years ago
Brian
bd35c53143
Fix broken polygon stippling (see comments for details).
18 years ago
Brian
0edd490a96
Redefine QUAD_TOP_LEFT, TOP_RIGHT, etc. to reflect Y=0=TOP raster layout.
18 years ago
Brian
63b0b5b6c7
fix perspective-interpolated attribs for points, liens
18 years ago
Brian
ce0f2e88e3
fix blend term translation bug, rename some funcs
18 years ago
Brian
c838d4c876
finish remaining blend modes
18 years ago
Brian
cd54414b75
fix incorrect register in get_eye_normal() for rescale_normals case
18 years ago
Brian
b2605d5f80
GL_UNSIGNED_BYTE indexes
18 years ago
Brian
7abc78a967
implement logicop
18 years ago
Brian
566c11254f
remove commented out #include
18 years ago
Brian
ce8988018c
check for width or height = 0 before calling driver Bitmap func
18 years ago
Brian
b1f136dba2
Fix useabs logic in build_fog().
We always need to compute the absolute value of the fogcoord if we're
passing it through for per-fragment fog.
18 years ago
Brian
b4deb73fab
remove feedback hack
18 years ago
Brian
0585b4e746
Undo prev changes.
18 years ago
Brian
65b1f6947f
setup vertex format for GL_FEEDBACK mode
18 years ago
Brian
520ad5f854
GL_SELECT mode works now
18 years ago
Brian
230225c5d7
formatting
18 years ago
Brian
8630e5edb3
call pipe->set_vertex_buffer() after drawing/unreferencing.
This fixes potential a stale reference to vertex buffers.
Fixes cubemap demo on i915.
18 years ago
Brian
e3a729a681
fix logic for printing extended swizzles
18 years ago
Brian
369eefc34c
add 'normalized_coords' field to pipe_sampler_state
This controls whether texcoords are interpreted as-is or scaled up from [0,1].
Fixes glDrawPixels/glBitmap problems on i915 when image is non power-of-two.
Also, cleans up the CSO sampler state for i915 a bit.
18 years ago
Brian
c8bf63e992
feedback/rasterpos fix-ups
18 years ago
Brian
3eeef8aabe
Change 'drawing' field to boolean.
18 years ago
Brian
66ea4b7c7c
remove unused includes
18 years ago
Brian
583c11d383
simplify KIL usage for bitmap fragprog
18 years ago
Brian
41b3fcbf04
check for extended swizzles, added TGSI_OPCODE_KILP
18 years ago
Brian
29db69e222
added print_texkil_op()
18 years ago
Brian
e7af944162
implement accum ops
18 years ago
Brian
a7611dce40
implement put_tile()
18 years ago
Brian
90f7ae2370
accum buffer support
18 years ago
Brian
7b0b694406
16-bit rgba surface/format for accum
18 years ago
Brian
d45fdc3f1f
16-bit RGBA surface format for accum buffers
18 years ago
Brian
9f797d8cb3
Added accum function/files.
18 years ago
Brian
69466c60a5
GL_STENCIL_INDEX support
18 years ago
Brian
fa1d442879
GL_STENCIL_INDEX support
18 years ago
Brian
12f41c8884
format info for Z16/Z32
18 years ago
Brian
1e2770e2e6
inequality tests were backward
18 years ago
Brian
a2c8b0e861
glDrawPixels support for GL_DEPTH_COMPONENT
18 years ago
Brian
d75acc8ffa
Check texture format in get_texel() to handle depth textures.
18 years ago
Brian
eb389aaf72
get_tile() of Z surfaces returns floats now
18 years ago