Kasper Peeters

Results 74 comments of Kasper Peeters

One further data point: if I stick some output into `OpenGLProgram::OpenGLProgram(...)` I can see that this fails already on the first shader it tries to compile, which identifies itself as...

I assume you mean the first few characters of `shadersSource[i]`? The first line until the first `0x0a` reads `#version 300 es`. All characters in the shader source string satisfy `isprint(x)==true...

Tracking invocation of OpenGLProgram::OpenGLProgram, I first get 8 cases in which `programBuilder.getName()=="Filament Default Material"`, which are all successful. The next one has this set to `Skybox` and that's when the...

@bejado With 1.7.0 the OpenGL shader compilation in `OpenGLProgram::OpenGLProgram` gives an error on the `DepthOfFieldBlur` shader, with ERROR: 0:304: 'fragColor': must explicitly specify all locations when using multiple fragment outputs...

This seems to be related to https://github.com/google/filament/issues/5892: the scissor rect validation assertion passes as long as the viewport does not extend beyond the screen/framebuffer size.

Lacking time to do more advanced debugging, I stuck in some logging in `MetalDriver.mm` in the bit that starts with the comment 'Set scissor-rectangle.'. The first few frames it shows...

@bejado No problem at all. I can confirm that I only call `setViewport` once, with sensible values.

@bejado All good now (for both issues). Yes, I was indeed using a negative Viewport origin. Thanks a lot, I can run `HEAD` again.