graham wihlidal
|
811135f653
|
RDNA ISA parser improvements and fixes
[FYI] rune.stubbe, brian.karis
[CL 27697998 by graham wihlidal in ue5-main branch]
|
2023-09-07 20:34:04 -04:00 |
|
graham wihlidal
|
7f36ea203a
|
Added two missing MIMG instructions to RDNA2_ISA.h
[CL 27697990 by graham wihlidal in ue5-main branch]
|
2023-09-07 20:33:59 -04:00 |
|
graham wihlidal
|
987e25e552
|
Renamed NoImplicitDerivatives -> NoDerivativeOps to also handle the explicit derivative cases, and cleaned up cflag naming
#rb rune.stubbe
[FYI] dan.elksnitis
[CL 27697881 by graham wihlidal in ue5-main branch]
|
2023-09-07 20:30:26 -04:00 |
|
graham wihlidal
|
3295fddd4f
|
Implemented RDNA 1 & 2 ISA parser to optionally detect if a compute shader has any need for implicit derivatives (image sample, ddx, ddy, etc.). Certain shaders can be marked with CFLAG_ExplicitDerivatives, indicating the shaders prefer to handle derivatives explicitly, and this instructs the shader compiler - on supporting platforms - to parse the compiled ISA and look if any instructions requiring implicit derivatives are present. If none are found, the shader is decorated with NoImplicitDerivatives, indicating it is safe to ignore shading quads, etc..
#rb jason.nadro, luke.thatcher, dan.elksnitis
[FYI] brian.karis, rune.stubbe
[CL 27697142 by graham wihlidal in ue5-main branch]
|
2023-09-07 20:10:55 -04:00 |
|