1af69d88dSmrgRandom list of problems with i915g:
2af69d88dSmrg
3af69d88dSmrg- What does this button do? Figure out LIS7 with regards to depth offset.
4af69d88dSmrg
5af69d88dSmrg- Dies with BadDrawable on GLXFBconfig changes/destruction. Makes piglit totally
6af69d88dSmrg  unusable :( Upgrading xserver helped here, it doesn't crash anymore. Still
7af69d88dSmrg  broken, it doesn't update the viewport/get new buffers.
8af69d88dSmrg
9af69d88dSmrg- Y-tiling is even more fun. i915c doesn't use it, maybe there's a reason?
10af69d88dSmrg  Texture sampling from Y-tiled buffers seems to work, though (save above
11af69d88dSmrg  problems).
12af69d88dSmrg  RESOLVED: Y-tiling works with the render engine, but not with the blitter.
13af69d88dSmrg  Use u_blitter and hw clears (PRIM3D_CLEAR_RECT).
14af69d88dSmrg
15af69d88dSmrg- src/xvmc/i915_structs.h in xf86-video-intel has a few more bits of various
16af69d88dSmrg  commands defined. Scavenge them and see what's useful.
17af69d88dSmrg
18af69d88dSmrg- Do smarter remapping. Right now we send everything onto tex coords 0-7.
19af69d88dSmrg  We could also use diffuse/specular and pack two sets of 2D coords in a single
20af69d88dSmrg  4D. Is it a big problem though? We're more limited by the # of texture
21af69d88dSmrg  indirections and the # of instructions.
22af69d88dSmrg
23af69d88dSmrg- Finish front/back face. We need to add face support to lp_build_system_values_array and use it in draw_llvm.c.
24af69d88dSmrg
25af69d88dSmrg- More optimizations, like replacing ADD + MUL with MAD or use DP2ADD.
26af69d88dSmrg
27af69d88dSmrg- Replace constants and immediates which are 0,1,-1 or a combination of those with a swizzle.
28af69d88dSmrg
29af69d88dSmrg- Schedule instructions to minimize the number of phases. One way is to replace
30af69d88dSmrg  R registers responsible for a boundary with U registers to avoid phase
31af69d88dSmrg  boundaries.
32af69d88dSmrg
33af69d88dSmrg- Continue a previous primitive when there are no state changes
34af69d88dSmrg
35af69d88dSmrg- Fix fragment discard
36af69d88dSmrg
37af69d88dSmrgOther bugs can be found here:
387ec681f3Smrghttps://gitlab.freedesktop.org/mesa/mesa/-/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=i915g
39