Revision 86fc50c5092fbccf6072dcf7bbdfafb8915f02c8 authored by Yong He on 09 March 2023, 05:52:34 UTC, committed by GitHub on 09 March 2023, 05:52:34 UTC
* Add support for `[PrimalSubstitute]` and `[PrimalSubstituteOf]`. * Fix * Fix. * Cleanup. --------- Co-authored-by: Yong He <yhe@nvidia.com>
1 parent 257733f
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 ...