static void init_ctx(struct context *ctx)
{
- int ret;
+ ASSERTED int ret;
ret = pipe_loader_probe(&ctx->dev, 1);
assert(ret);
.req_input_mem = input_sz
};
char *psrc = preprocess_prog(ctx, src, defs);
- int ret;
+ ASSERTED int ret;
ret = tgsi_text_translate(psrc, prog, ARRAY_SIZE(prog));
assert(ret);
/* constant state object helper */
#include "cso_cache/cso_context.h"
+#include "util/macros.h"
/* u_sampler_view_default_template */
#include "util/u_sampler.h"
/* debug_dump_surface_bmp */
static void init_prog(struct program *p)
{
struct pipe_surface surf_tmpl;
- int ret;
+ ASSERTED int ret;
/* find a hardware device */
ret = pipe_loader_probe(&p->dev, 1);
static void init_prog(struct program *p)
{
struct pipe_surface surf_tmpl;
- int ret;
+ ASSERTED int ret;
/* find a hardware device */
ret = pipe_loader_probe(&p->dev, 1);