mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Fixed most vulkan validation layers
This commit is contained in:
@@ -80,14 +80,11 @@ struct CameraView {
|
||||
[[vk::binding(0, 6)]]
|
||||
StructuredBuffer<CameraView> cameras;
|
||||
|
||||
struct PSInput {
|
||||
struct PSInput
|
||||
{
|
||||
float4 Position : SV_Position;
|
||||
};
|
||||
|
||||
struct PSOutput {
|
||||
float4 oColor0 : SV_TARGET;
|
||||
};
|
||||
|
||||
struct ModelPushConstant
|
||||
{
|
||||
int modelIndex; // Push constant data
|
||||
@@ -98,8 +95,6 @@ struct ModelPushConstant
|
||||
[[vk::push_constant]]
|
||||
ModelPushConstant pushConstants;
|
||||
|
||||
PSOutput main(PSInput input)
|
||||
void main(PSInput input)
|
||||
{
|
||||
PSOutput output;
|
||||
return output;
|
||||
}
|
||||
Reference in New Issue
Block a user