-
Notifications
You must be signed in to change notification settings - Fork 30.6k
[Impeller][Windows] Uniform not passed to shader #164438
Copy link
Copy link
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.flutter-gpufound in release: 3.29Found to occur in 3.29Found to occur in 3.29found in release: 3.30Found to occur in 3.30Found to occur in 3.30has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.flutter-gpufound in release: 3.29Found to occur in 3.29Found to occur in 3.29found in release: 3.30Found to occur in 3.30Found to occur in 3.30has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
🤔 Needs Triage
I'm experiencing an issue with passing a uniform value to my shader in a Flutter application using the flutter_gpu package. Despite setting the intended value in the Dart code, the vertex shader always receives a default matrix of mat4(0.0). A minimal reproducible repository is available here: https://github.com/vulpeep/gpu_image_example.
Steps to Reproduce
CustomPainter setup:
Vertex Shader Code:
Fragment Shader Code:
Execution:
Behavior
Screenshot
mat4(0.0), ignoring the provided uniform value and leading to unexpected render output.Screenshot
Additional Details