vkd3d-shader/fx: Replace assert() with VKD3D_ASSERT().

This commit is contained in:
Henri Verbeet 2024-08-13 14:18:47 +02:00
parent cd9879f237
commit 114578fc8a
Notes: Henri Verbeet 2024-08-13 21:27:22 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/994
2 changed files with 1 additions and 2 deletions

View File

@ -111,7 +111,7 @@ static void get_state_block_function_components(const struct state_block_functio
{ {
unsigned int i; unsigned int i;
assert(comp_count <= info->max_args); VKD3D_ASSERT(comp_count <= info->max_args);
if (info->min_args == info->max_args) if (info->min_args == info->max_args)
{ {

View File

@ -51,7 +51,6 @@
#include "vkd3d_shader.h" #include "vkd3d_shader.h"
#include "list.h" #include "list.h"
#include <assert.h>
#include <inttypes.h> #include <inttypes.h>
#include <limits.h> #include <limits.h>
#include <stdbool.h> #include <stdbool.h>