| 237 | } |
| 238 | |
| 239 | bool HLSLShaderFactory::GetInputs(ID3DShaderReflection* reflector, HLSLReflection& shader) |
| 240 | { |
| 241 | UINT const numInputs = shader.GetDescription().numInputParameters; |
| 242 | for (UINT i = 0; i < numInputs; ++i) |
| 243 | { |
| 244 | D3D_SIGNATURE_PARAMETER_DESC spDesc; |
| 245 | DX11Log(reflector->GetInputParameterDesc(i, &spDesc)); |
| 246 | shader.InsertInput(HLSLParameter(spDesc)); |
| 247 | } |
| 248 | return true; |
| 249 | } |
| 250 | |
| 251 | bool HLSLShaderFactory::GetOutputs(ID3DShaderReflection* reflector, HLSLReflection& shader) |
| 252 | { |
nothing calls this directly
no test coverage detected