Lines Matching defs:context
45 struct context {
72 static void init_ctx(struct context *ctx)
90 static void destroy_ctx(struct context *ctx)
99 preprocess_prog(struct context *ctx, const char *src, const char *defs)
142 static void init_prog(struct context *ctx, unsigned local_sz,
168 static void destroy_prog(struct context *ctx)
176 static void init_tex(struct context *ctx, int slot,
229 static void check_tex(struct context *ctx, int slot,
293 static void destroy_tex(struct context *ctx)
303 static void init_sampler_views(struct context *ctx, const int *slots)
321 static void destroy_sampler_views(struct context *ctx)
336 static void init_compute_resources(struct context *ctx, const int *slots)
358 static void destroy_compute_resources(struct context *ctx)
373 static void init_sampler_states(struct context *ctx, int n)
389 static void destroy_sampler_states(struct context *ctx)
405 static void init_globals(struct context *ctx, const int *slots,
418 static void destroy_globals(struct context *ctx)
425 static void launch_grid(struct context *ctx, const uint *block_layout,
472 static void test_system_values(struct context *ctx)
530 static void test_resource_access(struct context *ctx)
577 static void test_function_calls(struct context *ctx)
638 static void test_input_global(struct context *ctx)
687 static void test_private(struct context *ctx)
748 static void test_local(struct context *ctx)
851 static void test_sample(struct context *ctx)
897 static void test_many_kern(struct context *ctx)
953 static void test_constant(struct context *ctx)
999 static void test_resource_indirect(struct context *ctx)
1106 static void test_surface_ld(struct context *ctx)
1229 static void test_surface_st(struct context *ctx)
1290 static void test_barrier(struct context *ctx)
1395 static void test_atom_ops(struct context *ctx, bool global)
1517 static void test_atom_race(struct context *ctx, bool global)
1651 struct context *ctx = CALLOC_STRUCT(context);