dzn: Set MAX_RTS to D3D12_SIMULTANEOUS_RENDER_TARGET_COUNT

D3D12_SIMULTANEOUS_RENDER_TARGET_COUNT == 8, so no functional change
here, it's just cleaner to use the D3D12 definition.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15913>
This commit is contained in:
Boris Brezillon 2022-04-20 10:23:58 +02:00
parent 39851688df
commit d3836df8d4

View file

@ -662,7 +662,7 @@ struct dzn_descriptor_update_template {
const struct dzn_descriptor_update_template_entry *entries;
};
#define MAX_RTS 8
#define MAX_RTS D3D12_SIMULTANEOUS_RENDER_TARGET_COUNT
#define MAX_INPUT_ATTACHMENTS 4
struct dzn_subpass {