result code = 0 standard error = { } standard output = { { "parameters": [ { "name": "MyConstantBuffer", "bindings": [ {"kind": "constantBuffer", "index": 0}, {"kind": "shaderResource", "index": 0}, {"kind": "samplerState", "index": 0} ], "type": { "kind": "constantBuffer", "elementType": { "kind": "struct", "fields": [ { "name": "v", "type": { "kind": "vector", "elementCount": 3, "elementType": { "kind": "scalar", "scalarType": "float32" } }, "binding": {"kind": "uniform", "offset": 0, "size": 12, "elementStride": 4} }, { "name": "myTexture", "type": { "kind": "resource", "baseShape": "texture2D", "resultType": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } } }, "binding": {"kind": "shaderResource", "index": 0} }, { "name": "c", "type": { "kind": "scalar", "scalarType": "float32" }, "binding": {"kind": "uniform", "offset": 12, "size": 4, "elementStride": 0} }, { "name": "mySampler", "type": { "kind": "samplerState" }, "binding": {"kind": "samplerState", "index": 0} } ] }, "containerVarLayout": { "binding": {"kind": "constantBuffer", "index": 0} }, "elementVarLayout": { "type": { "kind": "struct", "fields": [ { "name": "v", "type": { "kind": "vector", "elementCount": 3, "elementType": { "kind": "scalar", "scalarType": "float32" } }, "binding": {"kind": "uniform", "offset": 0, "size": 12, "elementStride": 4} }, { "name": "myTexture", "type": { "kind": "resource", "baseShape": "texture2D", "resultType": { "kind": "vector", "elementCount": 4, "elementType": { "kind": "scalar", "scalarType": "float32" } } }, "binding": {"kind": "shaderResource", "index": 0} }, { "name": "c", "type": { "kind": "scalar", "scalarType": "float32" }, "binding": {"kind": "uniform", "offset": 12, "size": 4, "elementStride": 0} }, { "name": "mySampler", "type": { "kind": "samplerState" }, "binding": {"kind": "samplerState", "index": 0} } ] }, "bindings": [ {"kind": "shaderResource", "index": 0}, {"kind": "samplerState", "index": 0}, {"kind": "uniform", "offset": 0, "size": 16, "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" } } } } ] } }