Searched refs:sampler_desc (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/tests/graw/ |
D | quad-sample.c | 166 struct pipe_sampler_state sampler_desc; in init_tex() local 276 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex() 277 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex() 278 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex() 279 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex() 280 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex() 281 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex() 282 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex() 283 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex() 284 sampler_desc.compare_func = 0; in init_tex() [all …]
|
D | graw_util.h | 289 struct pipe_sampler_state sampler_desc; in graw_util_create_simple_sampler() local 292 memset(&sampler_desc, 0, sizeof sampler_desc); in graw_util_create_simple_sampler() 293 sampler_desc.wrap_s = in graw_util_create_simple_sampler() 294 sampler_desc.wrap_t = in graw_util_create_simple_sampler() 295 sampler_desc.wrap_r = wrap_mode; in graw_util_create_simple_sampler() 296 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in graw_util_create_simple_sampler() 297 sampler_desc.min_img_filter = in graw_util_create_simple_sampler() 298 sampler_desc.mag_img_filter = img_filter; in graw_util_create_simple_sampler() 299 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in graw_util_create_simple_sampler() 300 sampler_desc.compare_func = 0; in graw_util_create_simple_sampler() [all …]
|
D | vs-test.c | 243 struct pipe_sampler_state sampler_desc; in init_tex() local 354 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex() 355 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex() 356 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex() 357 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex() 358 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex() 359 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex() 360 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex() 361 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex() 362 sampler_desc.compare_func = 0; in init_tex() [all …]
|
D | fs-test.c | 292 struct pipe_sampler_state sampler_desc; in init_tex() local 403 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex() 404 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex() 405 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex() 406 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex() 407 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex() 408 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex() 409 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex() 410 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex() 411 sampler_desc.compare_func = 0; in init_tex() [all …]
|
D | gs-test.c | 356 struct pipe_sampler_state sampler_desc; in init_tex() local 467 memset(&sampler_desc, 0, sizeof sampler_desc); in init_tex() 468 sampler_desc.wrap_s = PIPE_TEX_WRAP_REPEAT; in init_tex() 469 sampler_desc.wrap_t = PIPE_TEX_WRAP_REPEAT; in init_tex() 470 sampler_desc.wrap_r = PIPE_TEX_WRAP_REPEAT; in init_tex() 471 sampler_desc.min_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex() 472 sampler_desc.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in init_tex() 473 sampler_desc.mag_img_filter = PIPE_TEX_FILTER_NEAREST; in init_tex() 474 sampler_desc.compare_mode = PIPE_TEX_COMPARE_NONE; in init_tex() 475 sampler_desc.compare_func = 0; in init_tex() [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_screen.h | 604 const D3D11_SAMPLER_DESC *sampler_desc, in CreateSamplerState() 612 state.min_mip_filter = (sampler_desc->Filter & 1); in CreateSamplerState() 613 state.mag_img_filter = ((sampler_desc->Filter >> 2) & 1); in CreateSamplerState() 614 state.min_img_filter = ((sampler_desc->Filter >> 4) & 1); in CreateSamplerState() 615 if(sampler_desc->Filter & 0x40) in CreateSamplerState() 616 state.max_anisotropy = sampler_desc->MaxAnisotropy; in CreateSamplerState() 617 if(sampler_desc->Filter & 0x80) in CreateSamplerState() 620 state.compare_func = sampler_desc->ComparisonFunc - 1; in CreateSamplerState() 622 state.wrap_s = d3d11_to_pipe_wrap[sampler_desc->AddressU]; in CreateSamplerState() 623 state.wrap_t = d3d11_to_pipe_wrap[sampler_desc->AddressV]; in CreateSamplerState() [all …]
|