Back to whole area
This commit is contained in:
parent
506962bdcd
commit
adc4def4e2
1 changed files with 1 additions and 15 deletions
|
@ -249,21 +249,7 @@ impl SkyBox {
|
|||
.default_multisample(sample_count)
|
||||
.default_color_blend(vec![VkPipelineColorBlendAttachmentState::default()])
|
||||
.default_rasterization(VK_CULL_MODE_NONE, VK_FRONT_FACE_CLOCKWISE)
|
||||
.add_viewport(VkViewport {
|
||||
x: 0.0,
|
||||
y: 0.0,
|
||||
width: render_target.width() as f32,
|
||||
height: render_target.height() as f32,
|
||||
minDepth: -1.0,
|
||||
maxDepth: 1.0,
|
||||
})
|
||||
.add_scissor(VkRect2D {
|
||||
offset: VkOffset2D { x: 0, y: 0 },
|
||||
extent: VkExtent2D {
|
||||
width: render_target.width(),
|
||||
height: render_target.height(),
|
||||
},
|
||||
})
|
||||
.whole_area(render_target.width(), render_target.height())
|
||||
.build(
|
||||
context.device().clone(),
|
||||
pipeline_layout,
|
||||
|
|
Loading…
Reference in a new issue