i915g: Update the TODO with another idea.
[mesa.git] / src / gallium / drivers / i915 / TODO
1 Random list of problems with i915g:
2
3 - Check if PIPE_CAP_BLEND_EQUATION_SEPARATE work, the code is there.
4 If not fix it! A simple task, good for beginners.
5
6 - Add support for PIPE_CAP_POINT_SPRITE either via the draw module or directly
7 via the hardware, look at the classic driver, more advanced.
8
9 - What does this button do? Figure out LIS7 with regards to depth offset.
10
11 - Dies with BadDrawable on GLXFBconfig changes/destruction. Makes piglit totally
12 unusable :( Upgrading xserver helped here, it doesn't crash anymore. Still
13 broken, it doesn't update the viewport/get new buffers.
14
15 - Kills the chip in 3D_PRIMITIVE LINELIST with mesa-demos/fbotexture in
16 wireframe mode. Changing the cullmode to cw from none mitigates the crash. As
17 does emitting only one line segment (2 indices) per 3D_PRIMITIVE command in
18 the batch.
19
20 - Y-tiling is even more fun. i915c doesn't use it, maybe there's a reason?
21 Texture sampling from Y-tiled buffers seems to work, though (save above
22 problems).
23 RESOLVED: Y-tiling works with the render engine, but not with the blitter.
24 Use u_blitter and hw clears (PRIM3D_CLEAR_RECT).
25
26 - src/xvmc/i915_structs.h in xf86-video-intel has a few more bits of various
27 commands defined. Scavenge them and see what's useful.
28
29 - Do smarter remapping. Right now we send everything onto tex coords 0-7.
30 We could also use diffuse/specular and pack two sets of 2D coords in a single
31 4D. Is it a big problem though? We're more limited by the # of texture
32 indirections and the # of instructions.
33
34 - Leverage draw to enable more caps:
35 * PIPE_CAP_TGSI_INSTANCEID
36 * PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS
37
38 - Finish front/back face. We need to add face support to lp_build_system_values_array and use it in draw_llvm.c.
39
40 - Replace constants and immediates which are 0,1,-1 or a combination of those with a swizzle.
41
42 Other bugs can be found here:
43 https://bugs.freedesktop.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=Drivers/Gallium/i915g