result code = 0 standard error = { } standard output = { { "parameters": [ { "name": "t", "binding": {"kind": "shaderResource", "index": 5}, "type": { "kind": "resource", "baseShape": "texture2D", "resultType": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } } } }, { "name": "s", "binding": {"kind": "samplerState", "index": 1}, "type": { "kind": "samplerState" } }, { "name": "c", "binding": {"kind": "constantBuffer", "index": 3}, "type": { "kind": "constantBuffer", "elementType": { "kind": "struct", "name": "Data", "fields": [ { "name": "a", "type": { "kind": "scalar", "scalarType": "float32" }, "binding": {"kind": "uniform", "offset": 0, "size": 4, "elementStride": 0} }, { "name": "b", "type": { "kind": "scalar", "scalarType": "int32" }, "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0} } ] }, "containerVarLayout": { "binding": {"kind": "constantBuffer", "index": 0} }, "elementVarLayout": { "type": { "kind": "struct", "name": "Data", "fields": [ { "name": "a", "type": { "kind": "scalar", "scalarType": "float32" }, "binding": {"kind": "uniform", "offset": 0, "size": 4, "elementStride": 0} }, { "name": "b", "type": { "kind": "scalar", "scalarType": "int32" }, "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0} } ] }, "binding": {"kind": "uniform", "offset": 0, "size": 16, "elementStride": 0} } } }, { "name": "t2", "binding": {"kind": "shaderResource", "space": 2, "index": 7}, "type": { "kind": "resource", "baseShape": "texture2D", "resultType": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } } } }, { "name": "u", "binding": {"kind": "unorderedAccess", "index": 11}, "type": { "kind": "resource", "baseShape": "structuredBuffer", "access": "readWrite", "resultType": { "kind": "struct", "name": "Data", "fields": [ { "name": "a", "type": { "kind": "scalar", "scalarType": "float32" }, "binding": {"kind": "uniform", "offset": 0, "size": 4, "elementStride": 0} }, { "name": "b", "type": { "kind": "scalar", "scalarType": "int32" }, "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0} } ] } } }, { "name": "u2", "binding": {"kind": "unorderedAccess", "space": 2, "index": 4}, "type": { "kind": "resource", "baseShape": "structuredBuffer", "access": "readWrite", "resultType": { "kind": "scalar", "scalarType": "int32" } } } ], "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" } } }, "bindings": [ { "name": "t", "binding": {"kind": "shaderResource", "index": 5, "used": 0} }, { "name": "s", "binding": {"kind": "samplerState", "index": 1, "used": 0} }, { "name": "c", "binding": {"kind": "constantBuffer", "index": 3, "used": 1} }, { "name": "t2", "binding": {"kind": "shaderResource", "space": 2, "index": 7, "used": 0} }, { "name": "u", "binding": {"kind": "unorderedAccess", "index": 11, "used": 0} }, { "name": "u2", "binding": {"kind": "unorderedAccess", "space": 2, "index": 4, "used": 0} } ] } ] } }