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
binding-gl.hlsl.expected
result code = 0
standard error = {
}
standard output = {
{
"parameters": [
{
"name": "MyConstantBuffer",
"binding": {"kind": "descriptorTableSlot", "space": 1, "index": 0},
"type": {
"kind": "constantBuffer",
"elementType": {
"kind": "struct",
"fields": [
{
"name": "x",
"type": {
"kind": "scalar",
"scalarType": "float32"
},
"binding": {"kind": "uniform", "offset": 0, "size": 4}
},
{
"name": "a",
"type": {
"kind": "array",
"elementCount": 10,
"elementType": {
"kind": "scalar",
"scalarType": "float32"
},
"uniformStride": 16
},
"binding": {"kind": "uniform", "offset": 16, "size": 160}
},
{
"name": "y",
"type": {
"kind": "scalar",
"scalarType": "float32"
},
"binding": {"kind": "uniform", "offset": 176, "size": 4}
}
]
},
"containerVarLayout": {
"binding": {"kind": "descriptorTableSlot", "index": 0}
},
"elementVarLayout": {
"type": {
"kind": "struct",
"fields": [
{
"name": "x",
"type": {
"kind": "scalar",
"scalarType": "float32"
},
"binding": {"kind": "uniform", "offset": 0, "size": 4}
},
{
"name": "a",
"type": {
"kind": "array",
"elementCount": 10,
"elementType": {
"kind": "scalar",
"scalarType": "float32"
},
"uniformStride": 16
},
"binding": {"kind": "uniform", "offset": 16, "size": 160}
},
{
"name": "y",
"type": {
"kind": "scalar",
"scalarType": "float32"
},
"binding": {"kind": "uniform", "offset": 176, "size": 4}
}
]
},
"binding": {"kind": "uniform", "offset": 0, "size": 192}
}
}
},
{
"name": "tx",
"binding": {"kind": "descriptorTableSlot", "space": 2, "index": 1},
"type": {
"kind": "resource",
"baseShape": "texture2D"
}
},
{
"name": "ta",
"binding": {"kind": "descriptorTableSlot", "space": 3, "index": 2},
"type": {
"kind": "resource",
"baseShape": "texture2D"
}
},
{
"name": "ty",
"binding": {"kind": "descriptorTableSlot", "index": 0},
"type": {
"kind": "resource",
"baseShape": "texture2D"
}
},
{
"name": "sx",
"binding": {"kind": "descriptorTableSlot", "index": 1},
"type": {
"kind": "samplerState"
}
},
{
"name": "sa",
"binding": {"kind": "descriptorTableSlot", "index": 2},
"type": {
"kind": "array",
"elementCount": 4,
"elementType": {
"kind": "samplerState"
}
}
},
{
"name": "sy",
"binding": {"kind": "descriptorTableSlot", "index": 3},
"type": {
"kind": "samplerState"
}
}
],
"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 ...