| 249 | } |
| 250 | |
| 251 | bool HLSLShaderFactory::GetOutputs(ID3DShaderReflection* reflector, HLSLReflection& shader) |
| 252 | { |
| 253 | UINT const numOutputs = shader.GetDescription().numOutputParameters; |
| 254 | for (UINT i = 0; i < numOutputs; ++i) |
| 255 | { |
| 256 | D3D_SIGNATURE_PARAMETER_DESC spDesc; |
| 257 | DX11Log(reflector->GetOutputParameterDesc(i, &spDesc)); |
| 258 | shader.InsertOutput(HLSLParameter(spDesc)); |
| 259 | } |
| 260 | return true; |
| 261 | } |
| 262 | |
| 263 | bool HLSLShaderFactory::GetCBuffers(ID3DShaderReflection* reflector, HLSLReflection& shader) |
| 264 | { |
nothing calls this directly
no test coverage detected