Do not try to get fragment input locations with CHROMIUM_path_rendering
Do not try to get fragment input locations with CHROMIUM_path_rendering, it uses the binding mechanism in CHROMIUM_path_rendering BUG=skia:2992 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1618773002 Review URL: https://codereview.chromium.org/1618773002
This commit is contained in:
parent
9f63b44234
commit
7bdb05d5c2
@ -234,7 +234,7 @@ void GrGLProgramBuilder::resolveProgramResourceLocations(GrGLuint programID) {
|
||||
|
||||
// handle NVPR separable varyings
|
||||
if (!fGpu->glCaps().shaderCaps()->pathRenderingSupport() ||
|
||||
!fGpu->glPathRendering()->shouldBindFragmentInputs()) {
|
||||
fGpu->glPathRendering()->shouldBindFragmentInputs()) {
|
||||
return;
|
||||
}
|
||||
int count = fVaryingHandler.fPathProcVaryingInfos.count();
|
||||
|
Loading…
Reference in New Issue
Block a user