• Home
  • Raw
  • Download

Lines Matching +refs:ss +refs:rt

350       const struct pipe_rt_blend_state *rt = blend_state->rt + i;  in d3d12_create_blend_state()  local
352 if (rt->blend_enable) { in d3d12_create_blend_state()
354 … state->desc.RenderTarget[i].SrcBlend = blend_factor_rgb((pipe_blendfactor) rt->rgb_src_factor); in d3d12_create_blend_state()
355 … state->desc.RenderTarget[i].DestBlend = blend_factor_rgb((pipe_blendfactor) rt->rgb_dst_factor); in d3d12_create_blend_state()
356 state->desc.RenderTarget[i].BlendOp = blend_op((pipe_blend_func) rt->rgb_func); in d3d12_create_blend_state()
357 …state->desc.RenderTarget[i].SrcBlendAlpha = blend_factor_alpha((pipe_blendfactor) rt->alpha_src_fa… in d3d12_create_blend_state()
358 …state->desc.RenderTarget[i].DestBlendAlpha = blend_factor_alpha((pipe_blendfactor) rt->alpha_dst_f… in d3d12_create_blend_state()
359 state->desc.RenderTarget[i].BlendOpAlpha = blend_op((pipe_blend_func) rt->alpha_func); in d3d12_create_blend_state()
361 state->blend_factor_flags |= need_blend_factor_rgb((pipe_blendfactor) rt->rgb_src_factor); in d3d12_create_blend_state()
362 state->blend_factor_flags |= need_blend_factor_rgb((pipe_blendfactor) rt->rgb_dst_factor); in d3d12_create_blend_state()
363 … state->blend_factor_flags |= need_blend_factor_alpha((pipe_blendfactor) rt->alpha_src_factor); in d3d12_create_blend_state()
364 … state->blend_factor_flags |= need_blend_factor_alpha((pipe_blendfactor) rt->alpha_dst_factor); in d3d12_create_blend_state()
376 state->desc.RenderTarget[i].RenderTargetWriteMask = color_write_mask(rt->colormask); in d3d12_create_blend_state()
647 struct d3d12_sampler_state *ss; in d3d12_create_sampler_state() local
652 ss = CALLOC_STRUCT(d3d12_sampler_state); in d3d12_create_sampler_state()
653 ss->filter = (pipe_tex_filter)state->min_img_filter; in d3d12_create_sampler_state()
654 ss->wrap_r = (pipe_tex_wrap)state->wrap_r; in d3d12_create_sampler_state()
655 ss->wrap_s = (pipe_tex_wrap)state->wrap_s; in d3d12_create_sampler_state()
656 ss->wrap_t = (pipe_tex_wrap)state->wrap_t; in d3d12_create_sampler_state()
657 ss->lod_bias = state->lod_bias; in d3d12_create_sampler_state()
658 ss->min_lod = state->min_lod; in d3d12_create_sampler_state()
659 ss->max_lod = state->max_lod; in d3d12_create_sampler_state()
660 memcpy(ss->border_color, state->border_color.f, sizeof(float) * 4); in d3d12_create_sampler_state()
661 ss->compare_func = (pipe_compare_func)state->compare_func; in d3d12_create_sampler_state()
693 d3d12_descriptor_pool_alloc_handle(ctx->sampler_pool, &ss->handle); in d3d12_create_sampler_state()
694 screen->dev->CreateSampler(&desc, ss->handle.cpu_handle); in d3d12_create_sampler_state()
701 &ss->handle_without_shadow); in d3d12_create_sampler_state()
703 ss->handle_without_shadow.cpu_handle); in d3d12_create_sampler_state()
704 ss->is_shadow_sampler = true; in d3d12_create_sampler_state()
707 return ss; in d3d12_create_sampler_state()
756 void *ss) in d3d12_delete_sampler_state() argument
759 struct d3d12_sampler_state *state = (struct d3d12_sampler_state*) ss; in d3d12_delete_sampler_state()
765 FREE(ss); in d3d12_delete_sampler_state()
1033 struct d3d12_sampler_view *ss = d3d12_sampler_view(views[i]); in d3d12_set_sampler_views() local
1034 swizzle_state.swizzle_r = ss->swizzle_override_r; in d3d12_set_sampler_views()
1035 swizzle_state.swizzle_g = ss->swizzle_override_g; in d3d12_set_sampler_views()
1036 swizzle_state.swizzle_b = ss->swizzle_override_b; in d3d12_set_sampler_views()
1037 swizzle_state.swizzle_a = ss->swizzle_override_a; in d3d12_set_sampler_views()