Commit Graph

6 Commits

Author SHA1 Message Date
jeremy moore
21aac02105 #jira UE-168385
Fix include order in compute graph kernel building.
Need to have platform.ush before any custom struct declarations, since they use StructuredBuffer syntax which is #define'd from the different native syntax on some platforms.
#preflight 635c1d310053ddfa533bc37b

[CL 22850495 by jeremy moore in ue5-main branch]
2022-10-29 01:53:01 -04:00
jeremy moore
f788d5ec3b #jira UE-166831
ComputeFramework: Disable on Vulkan platforms using DataDrivenPlatfomInfo
Do this until we fix user defined structures that don't obey Vulkan packing rules.
Avoids crashes on some drivers.
#preflight 6358533ea2609c2fae8b4d10

[CL 22798993 by jeremy moore in ue5-main branch]
2022-10-26 19:26:39 -04:00
jeremy moore
249bd8e38f #jira UE-166602
Optimus: Fix multiple debug draw contexts.
#preflight 634851b3ad0f7e2f20e9eb38

[CL 22514105 by jeremy moore in ue5-main branch]
2022-10-13 18:31:34 -04:00
jeremy moore
82e7b79c45 ComputeFramework: Move to use HLSL templates for data interface shader code.
This makes the code slightly less "magic" and easier to read or write.
It's also the same pattern that Niagara uses, so might make it easier for people working in the two systems.
#rnx
#preflight 6328e1e7331ace46b5c3c7f9

[CL 22088589 by jeremy moore in ue5-main branch]
2022-09-20 00:46:23 -04:00
jeremy moore
38f6c4893a #jira UE-162514
Optimus: Handle unaligned buffer types by aliasing with a buffer of a matching scalar type.
This is to deal with cases where some shader compilers needs structured buffer types to align on 16 bytes.
Implemented packing logic for vector3 types. User defined structures may need their own packing function.
[FYI] halfdan.ingvarsson
#preflight 631a6713f448dc6e58c5454e

[CL 21910620 by jeremy moore in ue5-main branch]
2022-09-08 21:31:45 -04:00
Jeremy Moore
043c8e75c8 ComputeFramework: Move plugin out of Experimental folder and increment version number.
#rnx
#preflight 630e2caba416f6df25d9344a

[CL 21702262 by Jeremy Moore in ue5-main branch]
2022-08-30 11:41:36 -04:00