mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-26 18:10:12 +01:00
Don't activate blend fallbacks unless blending is enabled
This commit is contained in:
parent
1a2bb43329
commit
1062b9930f
2 changed files with 10 additions and 0 deletions
|
|
@ -292,6 +292,9 @@ static struct {
|
|||
{ R200_PP_CUBIC_OFFSET_F1_4, 5, "R200_PP_CUBIC_OFFSET_F1_4" },
|
||||
{ R200_PP_CUBIC_FACES_5, 1, "R200_PP_CUBIC_FACES_5" },
|
||||
{ R200_PP_CUBIC_OFFSET_F1_5, 5, "R200_PP_CUBIC_OFFSET_F1_5" },
|
||||
{ RADEON_PP_TEX_SIZE_0, 2, "RADEON_PP_TEX_SIZE_0" },
|
||||
{ RADEON_PP_TEX_SIZE_1, 2, "RADEON_PP_TEX_SIZE_1" },
|
||||
{ RADEON_PP_TEX_SIZE_2, 2, "RADEON_PP_TEX_SIZE_1" },
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -1168,6 +1171,8 @@ static int radeon_cp_dispatch_texture( DRMFILE filp,
|
|||
}
|
||||
|
||||
|
||||
printk("Upload to %x\n", tex->offset);
|
||||
|
||||
/* Dispatch the indirect buffer.
|
||||
*/
|
||||
buffer = (u32*)((char*)dev_priv->buffers->handle + buf->offset);
|
||||
|
|
|
|||
|
|
@ -292,6 +292,9 @@ static struct {
|
|||
{ R200_PP_CUBIC_OFFSET_F1_4, 5, "R200_PP_CUBIC_OFFSET_F1_4" },
|
||||
{ R200_PP_CUBIC_FACES_5, 1, "R200_PP_CUBIC_FACES_5" },
|
||||
{ R200_PP_CUBIC_OFFSET_F1_5, 5, "R200_PP_CUBIC_OFFSET_F1_5" },
|
||||
{ RADEON_PP_TEX_SIZE_0, 2, "RADEON_PP_TEX_SIZE_0" },
|
||||
{ RADEON_PP_TEX_SIZE_1, 2, "RADEON_PP_TEX_SIZE_1" },
|
||||
{ RADEON_PP_TEX_SIZE_2, 2, "RADEON_PP_TEX_SIZE_1" },
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -1168,6 +1171,8 @@ static int radeon_cp_dispatch_texture( DRMFILE filp,
|
|||
}
|
||||
|
||||
|
||||
printk("Upload to %x\n", tex->offset);
|
||||
|
||||
/* Dispatch the indirect buffer.
|
||||
*/
|
||||
buffer = (u32*)((char*)dev_priv->buffers->handle + buf->offset);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue