result code = 0 standard error = { } standard output = { { "parameters": [ { "name": "arg", "binding": {"kind": "generic", "index": 0}, "type": { "kind": "parameterBlock", "elementType": { "kind": "struct", "name": "S", "fields": [ { "name": "p", "type": { "kind": "GenericTypeParameter", "name": "TParam2" }, "binding": {"kind": "generic", "index": 0} } ] }, "containerVarLayout": { }, "elementVarLayout": { "type": { "kind": "struct", "name": "S", "fields": [ { "name": "p", "type": { "kind": "GenericTypeParameter", "name": "TParam2" }, "binding": {"kind": "generic", "index": 0} } ] }, "binding": {"kind": "generic", "index": 0} } } }, { "name": "arg1", "binding": {"kind": "generic", "index": 0}, "type": { "kind": "parameterBlock", "elementType": { "kind": "GenericTypeParameter", "name": "TParam" }, "containerVarLayout": { }, "elementVarLayout": { "type": { "kind": "GenericTypeParameter", "name": "TParam" }, "binding": {"kind": "generic", "index": 0} } } }, { "name": "t", "binding": {"kind": "shaderResource", "index": 0}, "type": { "kind": "resource", "baseShape": "texture2D", "resultType": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } } } }, { "name": "s", "binding": {"kind": "samplerState", "index": 0}, "type": { "kind": "samplerState" } }, { "name": "CB", "binding": {"kind": "constantBuffer", "index": 0}, "type": { "kind": "constantBuffer", "elementType": { "kind": "struct", "fields": [ { "name": "u", "type": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } }, "binding": {"kind": "uniform", "offset": 0, "size": 16, "elementStride": 4} }, { "name": "v", "type": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } }, "binding": {"kind": "uniform", "offset": 16, "size": 16, "elementStride": 4} }, { "name": "w", "type": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } }, "binding": {"kind": "uniform", "offset": 32, "size": 16, "elementStride": 4} } ] }, "containerVarLayout": { "binding": {"kind": "constantBuffer", "index": 0} }, "elementVarLayout": { "type": { "kind": "struct", "fields": [ { "name": "u", "type": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } }, "binding": {"kind": "uniform", "offset": 0, "size": 16, "elementStride": 4} }, { "name": "v", "type": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } }, "binding": {"kind": "uniform", "offset": 16, "size": 16, "elementStride": 4} }, { "name": "w", "type": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } }, "binding": {"kind": "uniform", "offset": 32, "size": 16, "elementStride": 4} } ] }, "binding": {"kind": "uniform", "offset": 0, "size": 48, "elementStride": 0} } } } ], "entryPoints": [ { "name": "main", "stage": "fragment", "result": { "stage": "fragment", "binding": {"kind": "varyingOutput", "index": 0}, "semanticName": "SV_TARGET", "type": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } } } } ], "typeParams": [ { "name": "TParam", "constraints": [ { "kind": "Interface", "name": "IBase" } ] }, { "name": "TParam2", "constraints": [ { "kind": "Interface", "name": "IBase" } ] } ] } }