Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug report: the DemoTessShader0?.kt demos fail to run #316

Open
hamoid opened this issue May 20, 2023 · 0 comments
Open

Bug report: the DemoTessShader0?.kt demos fail to run #316

hamoid opened this issue May 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@hamoid
Copy link
Member

hamoid commented May 20, 2023

Operating System

Linux

OPENRNDR version

dfa59b3d879e719a1b4b078a310d3758d1f4e743

ORX version

2b66390

Java version (if applicable)

adopt-openjdk-14.0.1

Describe the bug

The DemoTessShader 01 to 03 demos fail on this line:

driver.drawVertexBuffer(shader, listOf(vb), DrawPrimitive.PATCHES, 0, vb.vertexCount)

with

GL ERROR: GL_INVALID_VALUE null (GL3Exception)

The DemoTessShader04 fails at:

            val shader = Shader.preprocessedFromUrls(
                    vsUrl = resourceUrl("/shaders/ts-04.vert"),
                    tcsUrl = resourceUrl("/shaders/ts-04.tesc"),
                    tesUrl = resourceUrl("/shaders/ts-04.tese"),
                    gsUrl = resourceUrl("/shaders/ts-04.geom"),
                    fsUrl = resourceUrl("/shaders/ts-04.frag")
            )

with

An operation is not implemented: Not yet implemented (NotImplementedError)

Steps to reproduce the bug

Run the mentioned demos in the orx repo

@hamoid hamoid added the bug Something isn't working label May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant