Skip to content

Impellerc crashes when providing a bias to texture when targeting SkSL #114545

@jonahwilliams

Description

@jonahwilliams

Example repro.

#version 460 core

precision highp float;

layout(location = 0) uniform float width;
layout(location = 1) uniform float height;
layout(location = 2) uniform float animation;
layout(location = 3) uniform sampler2D source;

out vec4 fragColor;

void main() {
    vec2 uv = gl_FragCoord.xy / vec2(width, height);
    fragColor = texture(source, uv, -1.0) * animation;
}

There is no stacktrace when this happens, and the flutter tool exits.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: crashStack traces logged to the consolee: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions