-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed as not planned
Closed as not planned
Copy link
Labels
backend:DirectXobsoleteIssues with old (unsupported) versions of LLVMIssues with old (unsupported) versions of LLVM
Description
Two flags viz., ComputeShadersPlusRawAndStructuredBuffers and EnableRawAndStructuredBuffers are set based on use of raw and structured buffers.
- Implement shader flag analysis to set
EnableRawAndStructuredBuffersif shader uses Raw or Structured buffers. - Implement shader flag analysis to set
ComputeShadersPlusRawAndStructuredBuffersif shader uses Raw or Structured buffers, SM Major is = 4 and is a compute shader
NOTE:EnableRawAndStructuredBuffers is required for particle life but ComputeShadersPlusRawAndStructuredBuffers depends on one extra condition and can be implemented alongside.
See DxilModule::CollectShaderFlagsForModule(ShaderFlags &Flags) - specifically setting of bool hasRawAndStructuredBuffer for the conditions to set the flag ComputeShadersPlusRawAndStructuredBuffers and EnableRawAndStructuredBuffers.
AC
Add tests that use Raw and Structure buffers to verify that the flags are appropriately set.
Metadata
Metadata
Assignees
Labels
backend:DirectXobsoleteIssues with old (unsupported) versions of LLVMIssues with old (unsupported) versions of LLVM
Type
Projects
Status
Closed