Skip to content

Commit

Permalink
Give all GLSL input struct names, necessary for Intel driver bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rdb committed Aug 5, 2023
1 parent bf7bc39 commit 401fcb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions programming/shaders/list-of-glsl-inputs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ any shader stage.
// Access the material attributes assigned via a Material object.
// Unused struct parameters may be omitted without consequence.
uniform struct {
uniform struct p3d_MaterialParameters {
vec4 ambient;
vec4 diffuse;
vec4 emission;
Expand All @@ -156,7 +156,7 @@ any shader stage.
} p3d_Material;
// The sum of all active ambient light colors.
uniform struct {
uniform struct p3d_LightModelParameters {
vec4 ambient;
} p3d_LightModel;
Expand Down

0 comments on commit 401fcb3

Please sign in to comment.