mirror of https://github.com/xemu-project/xemu.git
nv2a: Drop surface compat clip constraint
This commit is contained in:
parent
c3a8b9569f
commit
b929d4eced
|
@ -582,9 +582,7 @@ static bool check_surface_compatibility(SurfaceBinding *s1, SurfaceBinding *s2,
|
|||
(s1->color == s2->color) &&
|
||||
(s1->fmt.gl_attachment == s2->fmt.gl_attachment) &&
|
||||
(s1->fmt.gl_internal_format == s2->fmt.gl_internal_format) &&
|
||||
(s1->pitch == s2->pitch) &&
|
||||
(s1->shape.clip_x <= s2->shape.clip_x) &&
|
||||
(s1->shape.clip_y <= s2->shape.clip_y);
|
||||
(s1->pitch == s2->pitch);
|
||||
if (!format_compatible) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -890,9 +890,7 @@ static bool check_surface_compatibility(SurfaceBinding const *s1,
|
|||
bool format_compatible =
|
||||
(s1->color == s2->color) &&
|
||||
(s1->host_fmt.vk_format == s2->host_fmt.vk_format) &&
|
||||
(s1->pitch == s2->pitch) &&
|
||||
(s1->shape.clip_x <= s2->shape.clip_x) &&
|
||||
(s1->shape.clip_y <= s2->shape.clip_y);
|
||||
(s1->pitch == s2->pitch);
|
||||
if (!format_compatible) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue