https://bugs.freedesktop.org/show_bug.cgi?id=105105

--- Comment #1 from Tapani Pälli <lem...@gmail.com> ---
It looks like these 2 tests fail for different reasons:

- 'readnpix' hits generic_nop (glapi issue)

- 'getnuniform', problem seems to be that according to Mesa these uniforms are
inactive and therefore no uniformstorage is available. I can see that linker
reserves explicit locations correctly (inputf : 11, inputi : 12, inputu : 13)
but opt_dead_code removes the variables:

--- 8< ---
Removed declaration of inputf@0x34f1f80
Removed declaration of inputu@0x34f26b0
Removed declaration of inputi@0x34f2540
--- 8< ---

If I modify opt_dead_code to not remove those variables the test passes. I
hacked it like this:

--- 8< ---
+            if (entry->var->data.explicit_location)
+               continue;
--- 8< ---

It seems compiler/linker should realize that they are written to shared values
so we should not optimize those away.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to