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

examples/sokol/02_cube_glsl VALIDATE_ABND_FS_EXPECTED_SAMPLER_BINDING #21547

Open
janEntikan opened this issue May 22, 2024 · 1 comment
Open
Labels
Bug This tag is applied to issues which reports bugs. Graphics/multimedia/gg/sokol A video, sound, rendering, or fonts related issue.

Comments

@janEntikan
Copy link

janEntikan commented May 22, 2024

Describe the bug

Running examples/sokol/02_cube_glsl triggers in error each frame.

Reproduction Steps

Run the example:
v shader .
v run .

Expected Behavior

The shader contains code for a raycaster, I was expecting to see it.

Current Behavior

Nothing from the buffer/glsl is rendered, only the direct drawing from the previous example.

sokol.memory.slog | user_data: (nil), const_tag: sg, level: 0, item_id: 285, fname: /home/enti/v/thirdparty/sokol/sokol_gfx.h, line: 15557, message: VALIDATION_FAILED: validation layer checks failed
sokol.memory.slog | user_data: (nil), const_tag: sg, level: 1, item_id: 267, fname: /home/enti/v/thirdparty/sokol/sokol_gfx.h, line: 16328, message: VALIDATE_ABND_FS_EXPECTED_SAMPLER_BINDING: sg_apply_bindings: sampler binding on fragment stage is missing or the sampler handle is invalid

Possible Solution

No response

Additional Information/Context

No response

V version

Latest master

Environment details (OS name and version, etc.)

V full version: V 0.4.6 1b5af1f.7a36b44
OS: linux, "Arch Linux"
Processor: 4 cpus, 64bit, little endian, Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz

getwd: /home/enti/v/examples/sokol/02_cubes_glsl
vexe: /home/enti/v/v
vexe mtime: 2024-05-22 14:25:25

vroot: OK, value: /home/enti/v
VMODULES: OK, value: /home/enti/.vmodules
VTMP: OK, value: /tmp/v_1000

Git version: git version 2.45.1
Git vroot status: weekly.2024.20-42-g7a36b44c-dirty
.git/config present: true

CC version: cc (GCC) 14.1.1 20240507
thirdparty/tcc status: thirdparty-linux-amd64 40e5cbb5

Bug was also confirmed by another user.

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

@janEntikan janEntikan added the Bug This tag is applied to issues which reports bugs. label May 22, 2024
@Artemixed
Copy link

Currently facing the same error 'VALIDATE_ABND_FS_EXPECTED_SAMPLER_BINDING' as described above. Running on linux with git version 2.45.1. Cant find to seem a different way to implement shaders, this issue is stopping me from being able to use them.

@spytheman spytheman added the Graphics/multimedia/gg/sokol A video, sound, rendering, or fonts related issue. label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This tag is applied to issues which reports bugs. Graphics/multimedia/gg/sokol A video, sound, rendering, or fonts related issue.
Projects
None yet
Development

No branches or pull requests

3 participants