1848b8605SmrgRandom list of problems with i915g: 2848b8605Smrg 3848b8605Smrg- What does this button do? Figure out LIS7 with regards to depth offset. 4848b8605Smrg 5848b8605Smrg- Dies with BadDrawable on GLXFBconfig changes/destruction. Makes piglit totally 6848b8605Smrg unusable :( Upgrading xserver helped here, it doesn't crash anymore. Still 7848b8605Smrg broken, it doesn't update the viewport/get new buffers. 8848b8605Smrg 9848b8605Smrg- Y-tiling is even more fun. i915c doesn't use it, maybe there's a reason? 10848b8605Smrg Texture sampling from Y-tiled buffers seems to work, though (save above 11848b8605Smrg problems). 12848b8605Smrg RESOLVED: Y-tiling works with the render engine, but not with the blitter. 13848b8605Smrg Use u_blitter and hw clears (PRIM3D_CLEAR_RECT). 14848b8605Smrg 15848b8605Smrg- src/xvmc/i915_structs.h in xf86-video-intel has a few more bits of various 16848b8605Smrg commands defined. Scavenge them and see what's useful. 17848b8605Smrg 18848b8605Smrg- Do smarter remapping. Right now we send everything onto tex coords 0-7. 19848b8605Smrg We could also use diffuse/specular and pack two sets of 2D coords in a single 20848b8605Smrg 4D. Is it a big problem though? We're more limited by the # of texture 21848b8605Smrg indirections and the # of instructions. 22848b8605Smrg 23848b8605Smrg- Finish front/back face. We need to add face support to lp_build_system_values_array and use it in draw_llvm.c. 24848b8605Smrg 25848b8605Smrg- More optimizations, like replacing ADD + MUL with MAD or use DP2ADD. 26848b8605Smrg 27848b8605Smrg- Replace constants and immediates which are 0,1,-1 or a combination of those with a swizzle. 28848b8605Smrg 29848b8605Smrg- Schedule instructions to minimize the number of phases. One way is to replace 30848b8605Smrg R registers responsible for a boundary with U registers to avoid phase 31848b8605Smrg boundaries. 32848b8605Smrg 33848b8605Smrg- Continue a previous primitive when there are no state changes 34848b8605Smrg 35848b8605Smrg- Fix fragment discard 36848b8605Smrg 37848b8605SmrgOther bugs can be found here: 38848b8605Smrghttps://bugs.freedesktop.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=Drivers/Gallium/i915g 39