drawState.compareOp = rr::TESTFUNC_ALWAYS;
drawState.depthTestEnable = true;
drawState.depthWriteEnable = true;
- drawState.depthBoundsTestEnable = true;
drawState.sampleShadingEnable = true;
vulkanProgram.depthImageView = *depthImageView;
vulkanProgram.descriptorSetLayout = *descriptorSetLayout;
<< "void main()\n"
<< "{\n"
<< " gl_Position = position;\n"
+ << " gl_PointSize = 1.0;\n"
<< "}\n";
programCollection.glslSources.add("FragDepthVert") << glu::VertexSource(vertexSource.str());
}
<< "void main()\n"
<< "{\n"
<< " gl_Position = position;\n"
+ << " gl_PointSize = 1.0;\n"
<< " texCoord = position.xy/2 + vec2(0.5);\n"
<< "}\n";
programCollection.glslSources.add("FragDepthVertPass2") << glu::VertexSource(vertexSource.str());