Lines Matching refs:surface_fmts
1037 enum pipe_format surface_fmts[] = { enum
1075 util_format_pack_rgba(surface_fmts[i], p, v, 1); in test_surface_ld_init0f()
1083 util_format_pack_rgba(surface_fmts[i], p, v, 1); in test_surface_ld_init0i()
1092 util_format_unpack_rgba(surface_fmts[i], w, v, 1); in test_surface_ld_expectf()
1102 util_format_unpack_rgba(surface_fmts[i], w, v, 1); in test_surface_ld_expecti()
1128 for (i = 0; i < ARRAY_SIZE(surface_fmts); i++) { in test_surface_ld()
1129 bool is_int = util_format_is_pure_integer(surface_fmts[i]); in test_surface_ld()
1131 printf(" - %s\n", util_format_name(surface_fmts[i])); in test_surface_ld()
1134 surface_fmts[i], PIPE_TEXTURE_2D, 1, 1, in test_surface_ld()
1140 init_tex(ctx, 0, PIPE_TEXTURE_2D, true, surface_fmts[i], in test_surface_ld()
1173 memset(p, 1, util_format_get_blocksize(surface_fmts[i])); in test_surface_st_init1()
1183 util_format_pack_rgba(surface_fmts[i], p, vf, 1); in test_surface_st_expectf()
1193 util_format_pack_rgba(surface_fmts[i], p, v, 1); in test_surface_st_expects()
1203 util_format_pack_rgba(surface_fmts[i], p, v, 1); in test_surface_st_expectu()
1210 if (util_format_is_float(surface_fmts[i])) { in test_surface_st_check()
1246 for (i = 0; i < ARRAY_SIZE(surface_fmts); i++) { in test_surface_st()
1247 bool is_signed = (util_format_description(surface_fmts[i]) in test_surface_st()
1249 bool is_int = util_format_is_pure_integer(surface_fmts[i]); in test_surface_st()
1251 printf(" - %s\n", util_format_name(surface_fmts[i])); in test_surface_st()
1254 surface_fmts[i], PIPE_TEXTURE_2D, 1, 1, in test_surface_st()
1262 init_tex(ctx, 1, PIPE_TEXTURE_2D, true, surface_fmts[i], in test_surface_st()