summaryrefslogtreecommitdiff
path: root/tests/current-bugs
AgeCommit message (Expand)Author
2024-07-30Fix invalid code generation for when using nested resource specialization (#4...ArielG-NV
2023-12-06Support visibility control and default to `internal`. (#3380)Yong He
2022-04-26Overloaded name lookup fix (#2199)jsmall-nvidia
2022-04-21Example for compiler crash with recursive function calling (#2196)jsmall-nvidia
2022-01-10Test for dynamicDispatch/resource internal error (#2071)jsmall-nvidia
2021-12-21Language experiments (#2068)jsmall-nvidia
2021-12-21Assorted disabled tests around generics (#2062)jsmall-nvidia
2021-05-21Overhaul the preprocessor (#1849)T. Foley
2021-05-14Fix for KernelContext threading issue for C++ targets (#1843)jsmall-nvidia
2021-04-26Matrix tests and assorted bug tests (#1814)jsmall-nvidia
2021-04-13More preprocessor issues including an infinite loop (#1791)jsmall-nvidia
2021-04-09Tests showing preprocessor issues (#1790)jsmall-nvidia
2021-04-08Test for specialization problem with undefined resource (#1785)jsmall-nvidia
2021-04-05Added tests/current-bugs (#1781)jsmall-nvidia
id='n109' href='#n109'>109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
result code = 0
standard error = {
}
standard output = {
{
    "parameters": [
        {
            "name": "arg",
            "binding": {"kind": "generic", "index": 0},
            "type": {
                "kind": "parameterBlock",
                "elementType": {
                    "kind": "struct",
                    "name": "S",
                    "fields": [
                        {
                            "name": "p",
                            "type": {
                                "kind": "GenericTypeParameter",
                                "name": "TParam2"
                            },
                            "binding": {"kind": "generic", "index": 0}
                        }
                    ]
                },
                "containerVarLayout": {

                },
                "elementVarLayout": {
                    "type": {
                        "kind": "struct",
                        "name": "S",
                        "fields": [
                            {
                                "name": "p",
                                "type": {
                                    "kind": "GenericTypeParameter",
                                    "name": "TParam2"
                                },
                                "binding": {"kind": "generic", "index": 0}
                            }
                        ]
                    },
                    "binding": {"kind": "generic", "index": 0}
                }
            }
        },
        {
            "name": "arg1",
            "binding": {"kind": "generic", "index": 0},
            "type": {
                "kind": "parameterBlock",
                "elementType": {
                    "kind": "GenericTypeParameter",
                    "name": "TParam"
                },
                "containerVarLayout": {

                },
                "elementVarLayout": {
                    "type": {
                        "kind": "GenericTypeParameter",
                        "name": "TParam"
                    },
                    "binding": {"kind": "generic", "index": 0}
                }
            }
        },
        {
            "name": "t",
            "binding": {"kind": "shaderResource", "index": 0},
            "type": {
                "kind": "resource",
                "baseShape": "texture2D"
            }
        },
        {
            "name": "s",
            "binding": {"kind": "samplerState", "index": 0},
            "type": {
                "kind": "samplerState"
            }
        },
        {
            "name": "CB",
            "binding": {"kind": "constantBuffer", "index": 0},
            "type": {
                "kind": "constantBuffer",
                "elementType": {
                    "kind": "struct",
                    "fields": [
                        {
                            "name": "u",
                            "type": {
                                "kind": "vector",
                                "elementCount": 4,
                                "elementType": {
                                    "kind": "scalar",
                                    "scalarType": "float32"
                                }
                            },
                            "binding": {"kind": "uniform", "offset": 0, "size": 16}
                        },
                        {
                            "name": "v",
                            "type": {
                                "kind": "vector",
                                "elementCount": 4,
                                "elementType": {
                                    "kind": "scalar",
                                    "scalarType": "float32"
                                }
                            },
                            "binding": {"kind": "uniform", "offset": 16, "size": 16}
                        },
                        {
                            "name": "w",
                            "type": {
                                "kind": "vector",
                                "elementCount": 4,
                                "elementType": {
                                    "kind": "scalar",
                                    "scalarType": "float32"
                                }
                            },
                            "binding": {"kind": "uniform", "offset": 32, "size": 16}
                        }
                    ]
                },
                "containerVarLayout": {
                    "binding": {"kind": "constantBuffer", "index": 0}
                },
                "elementVarLayout": {
                    "type": {
                        "kind": "struct",
                        "fields": [
                            {
                                "name": "u",
                                "type": {
                                    "kind": "vector",
                                    "elementCount": 4,
                                    "elementType": {
                                        "kind": "scalar",
                                        "scalarType": "float32"
                                    }
                                },
                                "binding": {"kind": "uniform", "offset": 0, "size": 16}
                            },
                            {
                                "name": "v",
                                "type": {
                                    "kind": "vector",
                                    "elementCount": 4,
                                    "elementType": {
                                        "kind": "scalar",
                                        "scalarType": "float32"
                                    }
                                },
                                "binding": {"kind": "uniform", "offset": 16, "size": 16}
                            },
                            {
                                "name": "w",
                                "type": {
                                    "kind": "vector",
                                    "elementCount": 4,
                                    "elementType": {
                                        "kind": "scalar",
                                        "scalarType": "float32"
                                    }
                                },
                                "binding": {"kind": "uniform", "offset": 32, "size": 16}
                            }
                        ]
                    },
                    "binding": {"kind": "uniform", "offset": 0, "size": 48}
                }
            }
        }
    ],
    "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"
                    }
                }
            }
        }
    ],
    "typeParams":
    [
        {
            "name": "TParam",
            "constraints": 
            [
                {
                    "kind": "Interface",
                    "name": "IBase"
                }
            ]
        },
        {
            "name": "TParam2",
            "constraints": 
            [
                {
                    "kind": "Interface",
                    "name": "IBase"
                }
            ]
        }
    ]
}
}