1
0
Fork 0
forked from suyu/suyu

Merge pull request #3141 from ReinUsesLisp/gl-position

gl_shader_gen: Apply default value to gl_Position
This commit is contained in:
bunnei 2019-11-23 13:23:46 -05:00 committed by GitHub
commit 4ed183ee42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,7 @@ layout (std140, binding = EMULATION_UBO_BINDING) uniform vs_config {
out += R"( out += R"(
void main() { void main() {
gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);
execute_vertex(); execute_vertex();
)"; )";
if (ir_b) { if (ir_b) {