ah, my bad… I didnt realize it meant just putting it in the games launch options. I thought it had to be set in some file or something. Thank you for the clarification.
It doesn’t necessarily mean putting it in a game’s launch options. Environment variables can be set in a startup script, or a flatpak config, or a command line, for example. But the Steam launch options approach is convenient when you’re just testing something for one specific game.
YOUR_VARIABLE=1 %command%
In Steam launch options for a specific game.
So, in this case:
RADV_PERFTEST=nggc %command%
ah, my bad… I didnt realize it meant just putting it in the games launch options. I thought it had to be set in some file or something. Thank you for the clarification.
It doesn’t necessarily mean putting it in a game’s launch options. Environment variables can be set in a startup script, or a flatpak config, or a command line, for example. But the Steam launch options approach is convenient when you’re just testing something for one specific game.