mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 21:00:16 +01:00
Remaining patch for the 255x255=255 identity correction be
made also in the runin and runout section of the code.
This commit is contained in:
parent
cffb351a62
commit
d60bb2fbc8
1 changed files with 12 additions and 0 deletions
|
|
@ -171,6 +171,12 @@ GLNAME( _mesa_mmx_blend_transparency ):
|
|||
PSRLW ( CONST(8), MM3 ) /* t1 >> 8 */
|
||||
|
||||
PADDW ( MM3, MM2 ) /* t1 + (t1 >> 8) ~= (t1/255) << 8 */
|
||||
|
||||
#if GMBT_GEOMETRIC_CORRECTION
|
||||
PSRLW ( CONST(7), MM3 ) /* t1 >> 15 */
|
||||
|
||||
PADDW ( MM3, MM2 ) /* t1 + (t1 >> 8) + (t1 >>15) ~= (t1/255) << 8 */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if GMBT_SIGNED_ARITHMETIC
|
||||
|
|
@ -393,6 +399,12 @@ LLBL (GMBT_loop_end):
|
|||
PSRLW ( CONST(8), MM3 ) /* t1 >> 8 */
|
||||
|
||||
PADDW ( MM3, MM2 ) /* t1 + (t1 >> 8) ~= (t1/255) << 8 */
|
||||
|
||||
#if GMBT_GEOMETRIC_CORRECTION
|
||||
PSRLW ( CONST(7), MM3 ) /* t1 >> 15 */
|
||||
|
||||
PADDW ( MM3, MM2 ) /* t1 + (t1 >> 8) + (t1 >>15) ~= (t1/255) << 8 */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if GMBT_SIGNED_ARITHMETIC
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue