Home
last modified time | relevance | path

Searched refs:samplerViewTemplate (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_video_buffer.cpp226 struct pipe_sampler_view samplerViewTemplate; in d3d12_video_buffer_get_sampler_view_planes() local
244 memset(&samplerViewTemplate, 0, sizeof(samplerViewTemplate)); in d3d12_video_buffer_get_sampler_view_planes()
245 …u_sampler_view_default_template(&samplerViewTemplate, pCurPlaneResource, pCurPlaneResource->format… in d3d12_video_buffer_get_sampler_view_planes()
248 pipe->create_sampler_view(pipe, pCurPlaneResource, &samplerViewTemplate); in d3d12_video_buffer_get_sampler_view_planes()
277 struct pipe_sampler_view samplerViewTemplate; in d3d12_video_buffer_get_sampler_view_components() local
299 memset(&samplerViewTemplate, 0, sizeof(samplerViewTemplate)); in d3d12_video_buffer_get_sampler_view_components()
300 …u_sampler_view_default_template(&samplerViewTemplate, pCurPlaneResource, pCurPlaneResource->format… in d3d12_video_buffer_get_sampler_view_components()
301samplerViewTemplate.swizzle_r = samplerViewTemplate.swizzle_g = samplerViewTemplate.swizzle_b = in d3d12_video_buffer_get_sampler_view_components()
303 samplerViewTemplate.swizzle_a = PIPE_SWIZZLE_1; in d3d12_video_buffer_get_sampler_view_components()
306 pipe->create_sampler_view(pipe, pCurPlaneResource, &samplerViewTemplate); in d3d12_video_buffer_get_sampler_view_components()