[Mesa-dev] [Bug 105105] Suffixless KHR_robustness functions aren't exposed in ES 3.2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 15 12:54:32 UTC 2018


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

--- Comment #1 from Tapani Pälli <lemody at 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 at 0x34f1f80
Removed declaration of inputu at 0x34f26b0
Removed declaration of inputi at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180215/f9c7a6f1/attachment.html>


More information about the mesa-dev mailing list