[PATCH vkd3d 1/2] vkd3d-shader: Optimize get_opcode_info with direct opcode_table access.

Henri Verbeet hverbeet at gmail.com
Thu Oct 3 14:05:00 CDT 2019


On Thu, 3 Oct 2019 at 20:42, Rémi Bernon <rbernon at codeweavers.com> wrote:
> The shader_sm4_read_instruction function shows up in perf report when
> running SOTTR on Intel because of this loop.
>
That seems like a questionable claim. Does this actually improve
things? Do you have numbers? Direct3D 12 applications should ideally
not be creating pipeline states at all during rendering, but if they
do, actual shader compilation is going to be much more expensive than
anything we do here.

That's not to say this can't be improved though.



More information about the wine-devel mailing list