KhronosGroup / KhronosGroup/glslang

NV_gpu_shader5 does not support "f16mat4"?

Open
#2,728 0 comments 1 reaction 0 assignees View on GitHub
GLSL/ESSL question
Dominant language
C++
Stars
3.6k
Forks
989
Avg merge
1d 2h
Merged PRs (30d)
31

Description

my input is GLSL,i have use the extension of "GL_EXT_shader_explicit_arithmetic_types_float16"
then the "half4x4" is translated to f16mat4.
But it cause an error
error C1503: undefined variable "f16mat4",
it seems that the extension "NV_gpu_shader5" does not support "f16mat4"?
How can i resolve this problem?Or should i use “mat4“” instead?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the GLSL input using GL_EXT_shader_explicit_arithmetic_types_float16 and the translation to f16mat4 in glslang. Check how NV_gpu_shader5 handles f16mat4 and determine whether the compiler should support it or report the required alternative; the issue is resolved when the behavior and expected usage are verified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.