mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Roll shaderc
This commit is contained in:
committed by
Corentin Wallez
parent
ae7f113fe8
commit
b6fb5f3149
@@ -102,12 +102,11 @@ void init() {
|
||||
|
||||
nxt::ShaderModule fsModule = utils::CreateShaderModule(device, nxt::ShaderStage::Fragment, R"(
|
||||
#version 450
|
||||
out vec4 fragColor;
|
||||
layout(location = 0) out vec4 fragColor;
|
||||
layout(location = 0) in vec4 v_color;
|
||||
void main() {
|
||||
fragColor = v_color;
|
||||
})"
|
||||
);
|
||||
})");
|
||||
|
||||
renderpass = CreateDefaultRenderPass(device);
|
||||
depthStencilView = CreateDefaultDepthStencilView(device);
|
||||
|
||||
Reference in New Issue
Block a user