KhronosGroup / KhronosGroup/glTF-IBL-Sampler

ERROR: 0:310: 'limitations' : inductive-loop condition requires the form "loop-index <comparison-op> constant-expression"

Open
#35 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
170
Forks
28
PR merge metrics
No merged PRs in 30d

Description

inputPath set to .\road.hdr
outCubeMap set to .\road.ktx2
outLUT set to outputLUT.png
sampleCount set to 1024
mipLevelCount set to 0
targetFormat set to R16G16B16A16_SFLOAT
distribution set to GGX
lodBias set to 0.000000
debug flag is set to False
Vulkan instance created
Physical Device created: xxx
APIVersion: 1.3.280
DriverVersion: 2353053696
Vulkan pipeline cache loaded
Successfully loaded .\road.hdr 2048 x 1024 x 3
ERROR: Source entry point must be "main"
ERROR: 0:310: 'limitations' : inductive-loop condition requires the form "loop-index constant-expression"
ERROR: 0:354: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.

Stored pipeline.cache [0kb]peline.cache [0kb]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with the listed input files, Vulkan details, and sampler settings. Inspect the shader source around reported lines 310 and 354, then verify that compilation succeeds and the pipeline cache is stored without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.