Skip to content
Snippets Groups Projects
Commit 09122e2b authored by Sviatoslav Peleshko's avatar Sviatoslav Peleshko Committed by Marge Bot
Browse files

brw,elk: Fix opening flags on dumping shader binaries


Truncation is needed for overwriting correctly in cases when old file is
bigger than the one we want to dump (e.g. when the old one was edited
inplace). Also, creation permissions are way too broad.

Fixes: 4f41c44d ("intel/compiler: Add variable to dump binaries of all compiled shaders")
Signed-off-by: default avatarSviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <mesa/mesa!30581>
parent 442cc799
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment