Lines Matching defs:state
209 wgpu::DepthStencilState state;
210 state.format = depthStencilFormat;
215 state.stencilFront = to_stencil_state_face(front);
216 state.stencilBack = to_stencil_state_face(back);
217 state.stencilReadMask = front.fTestMask;
218 state.stencilWriteMask = front.fWriteMask;
221 state.stencilBack = state.stencilFront = to_stencil_state_face(frontAndBack);
222 state.stencilReadMask = frontAndBack.fTestMask;
223 state.stencilWriteMask = frontAndBack.fWriteMask;
226 return state;
479 static void set_texture(GrDawnGpu* gpu, GrSamplerState state, GrTexture* texture,
482 wgpu::Sampler sampler = gpu->getOrCreateSampler(state);
488 viewDesc.mipLevelCount = GrSamplerState::MipmapMode::kNone == state.mipmapMode()