tarceri ,
Are the shaders cached after all the optimizations took place ?
If yes, would this allow something like previously cached shaders optimized with NIR for intel backend, to be consumed on a subsequent run by the amdgpu backend .. just to simulate if some optimizations would bring benefit for radeon ?
Or this wouldn't be possible because NIR is just an intermediate representation and the actual optimizations happen in the backend if backend chooses them with NIR_PASS_V or whatever the recommended method is..
Thank you in advance for the response!
Are the shaders cached after all the optimizations took place ?
If yes, would this allow something like previously cached shaders optimized with NIR for intel backend, to be consumed on a subsequent run by the amdgpu backend .. just to simulate if some optimizations would bring benefit for radeon ?
Or this wouldn't be possible because NIR is just an intermediate representation and the actual optimizations happen in the backend if backend chooses them with NIR_PASS_V or whatever the recommended method is..
Thank you in advance for the response!
Comment