Originally posted by przemoli
View Post
Announcement
Collapse
No announcement yet.
The Mesa On-Disk Shader Cache Has Been Revised Again (V5)
Collapse
X
-
Originally posted by Ancurio View PostSure, but such an implementation would unfortunately be useless with Mesa, which doesn't implement glProgramBinary in any of its drivers. From a cursory look at the patches, the majority seems to deal with proper (de/)serialization, not bookkeeping.
get_program_binary extn is rather widely implemented outside of mesa and doesn't need mesa to implement its own cache as software higher up the stack already can and does do this for performance reasons. nvidia do and various egl/gles embedded drivers implement it. it's rather common.
Comment
-
Originally posted by raster View Postget_program_binary extn is rather widely implemented outside of mesa and doesn't need mesa to implement its own cache as software higher up the stack already can and does do this for performance reasons. nvidia do and various egl/gles embedded drivers implement it. it's rather common.
That's like saying "LUL writing a compiler in C is super easy, just call execv("cc", argv); it even works on most unices!".
Comment
Comment