Commit graph

9930 commits

Author SHA1 Message Date
Brian
29cfec1581 remove debug assertion 2007-10-16 17:56:13 -06:00
Brian
efdacc90b4 Update mask calculations for point drawing. 2007-10-16 17:43:41 -06:00
Brian
bd35c53143 Fix broken polygon stippling (see comments for details). 2007-10-16 17:37:46 -06:00
Brian
0edd490a96 Redefine QUAD_TOP_LEFT, TOP_RIGHT, etc. to reflect Y=0=TOP raster layout. 2007-10-16 17:36:37 -06:00
Brian
63b0b5b6c7 fix perspective-interpolated attribs for points, liens 2007-10-16 12:04:16 -06:00
Brian
ce0f2e88e3 fix blend term translation bug, rename some funcs 2007-10-16 08:53:08 -06:00
Brian
c838d4c876 finish remaining blend modes 2007-10-15 19:14:40 -06:00
Brian
cd54414b75 fix incorrect register in get_eye_normal() for rescale_normals case 2007-10-15 17:59:16 -06:00
Brian
b2605d5f80 GL_UNSIGNED_BYTE indexes 2007-10-15 17:27:54 -06:00
Brian
7abc78a967 implement logicop 2007-10-15 17:26:01 -06:00
Brian
566c11254f remove commented out #include 2007-10-15 15:31:24 -06:00
Brian
ce8988018c check for width or height = 0 before calling driver Bitmap func 2007-10-15 15:30:45 -06:00
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.
2007-10-15 15:30:13 -06:00
Brian
b4deb73fab remove feedback hack 2007-10-15 15:05:39 -06:00
Brian
0585b4e746 Undo prev changes. 2007-10-15 15:05:08 -06:00
Brian
65b1f6947f setup vertex format for GL_FEEDBACK mode 2007-10-15 13:42:56 -06:00
Brian
520ad5f854 GL_SELECT mode works now 2007-10-15 13:25:13 -06:00
Brian
230225c5d7 formatting 2007-10-15 13:06:53 -06:00
Brian
8630e5edb3 call pipe->set_vertex_buffer() after drawing/unreferencing.
This fixes potential a stale reference to vertex buffers.
Fixes cubemap demo on i915.
2007-10-15 13:05:15 -06:00
Brian
e3a729a681 fix logic for printing extended swizzles 2007-10-15 11:48:20 -06:00
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.
2007-10-15 11:47:53 -06:00
Brian
c8bf63e992 feedback/rasterpos fix-ups 2007-10-15 11:28:25 -06:00
Brian
3eeef8aabe Change 'drawing' field to boolean. 2007-10-15 10:30:38 -06:00
Brian
66ea4b7c7c remove unused includes 2007-10-15 10:30:09 -06:00
Brian
583c11d383 simplify KIL usage for bitmap fragprog 2007-10-15 10:28:18 -06:00
Brian
41b3fcbf04 check for extended swizzles, added TGSI_OPCODE_KILP 2007-10-15 10:27:12 -06:00
Brian
29db69e222 added print_texkil_op() 2007-10-15 10:25:42 -06:00
Brian
e7af944162 implement accum ops 2007-10-14 12:34:55 -06:00
Brian
a7611dce40 implement put_tile() 2007-10-14 12:32:39 -06:00
Brian
90f7ae2370 accum buffer support 2007-10-14 11:55:45 -06:00
Brian
7b0b694406 16-bit rgba surface/format for accum 2007-10-14 11:55:31 -06:00
Brian
d45fdc3f1f 16-bit RGBA surface format for accum buffers 2007-10-14 11:53:15 -06:00
Brian
9f797d8cb3 Added accum function/files. 2007-10-14 11:52:00 -06:00
Brian
69466c60a5 GL_STENCIL_INDEX support 2007-10-13 12:29:11 -06:00
Brian
fa1d442879 GL_STENCIL_INDEX support 2007-10-13 12:28:53 -06:00
Brian
12f41c8884 format info for Z16/Z32 2007-10-13 12:28:34 -06:00
Brian
1e2770e2e6 inequality tests were backward 2007-10-13 12:27:10 -06:00
Brian
a2c8b0e861 glDrawPixels support for GL_DEPTH_COMPONENT 2007-10-13 11:11:59 -06:00
Brian
d75acc8ffa Check texture format in get_texel() to handle depth textures. 2007-10-13 11:11:11 -06:00
Brian
eb389aaf72 get_tile() of Z surfaces returns floats now 2007-10-13 09:05:20 -06:00
Brian
a1e332950b added z16/z32_git_tile(), change s8z24_get_tile() to return Z as float, ignore stencil 2007-10-13 09:04:35 -06:00
Brian
89414d951d Use KIL in glBitmap shader to cull the fragments for 0 bits. 2007-10-12 16:16:20 -06:00
Brian
47fc06753e added assertion to be sure we don't exceed bitfield size 2007-10-12 16:13:15 -06:00
Brian
2a699038dc added code to print extended swizzles 2007-10-12 16:12:22 -06:00
Brian
4becfdfdd8 change exec_kilp() to only touch lowest four bits in kilmask 2007-10-12 16:11:58 -06:00
Brian
e552b9bd09 initial use of KIL for glBitmap rendering 2007-10-12 09:42:06 -06:00
Brian
3fb88639af Init draw->prim = ~0
We weren't rendering correctly if the first thing drawn was a point (PRIM_MODE_POINT=0).
2007-10-11 11:09:36 -06:00
Brian
afd6bd3cb0 rename some vars, updated comments 2007-10-11 10:03:59 -06:00
Brian
3ab326e1d7 remove unused tgsi_attrib_to_mesa_attrib() 2007-10-11 10:01:17 -06:00
Brian
55dd7d7947 update st_feedback_draw_vbo() 2007-10-11 10:00:54 -06:00