Revision b513d0deef521318ad943d820dd37029075a33c4 authored by Sai Praveen Bangaru on 12 July 2022, 03:18:06 UTC, committed by GitHub on 12 July 2022, 03:18:06 UTC
* Added support for differentiating calls to basic functions, as well as arithmetic on the float3 type * Added test expected result
1 parent 9261c7a
parameter-block.slang.expected
result code = 0
standard error = {
}
standard output = {
{
"parameters": [
{
"name": "a",
"binding": {"kind": "registerSpace", "index": 1},
"type": {
"kind": "parameterBlock",
"elementType": {
"kind": "struct",
"name": "Helper",
"fields": [
{
"name": "t",
"type": {
"kind": "resource",
"baseShape": "texture2D"
},
"binding": {"kind": "descriptorTableSlot", "index": 0}
},
{
"name": "s",
"type": {
"kind": "samplerState"
},
"binding": {"kind": "descriptorTableSlot", "index": 1}
}
]
},
"containerVarLayout": {
"binding": {"kind": "registerSpace", "index": 0}
},
"elementVarLayout": {
"type": {
"kind": "struct",
"name": "Helper",
"fields": [
{
"name": "t",
"type": {
"kind": "resource",
"baseShape": "texture2D"
},
"binding": {"kind": "descriptorTableSlot", "index": 0}
},
{
"name": "s",
"type": {
"kind": "samplerState"
},
"binding": {"kind": "descriptorTableSlot", "index": 1}
}
]
},
"binding": {"kind": "descriptorTableSlot", "index": 0, "count": 2}
}
}
},
{
"name": "b",
"binding": {"kind": "descriptorTableSlot", "index": 0},
"type": {
"kind": "resource",
"baseShape": "texture2D"
}
}
],
"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"
}
}
}
}
]
}
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...