summaryrefslogtreecommitdiff
path: root/tests/hlsl-intrinsic/sampler-feedback/sampler-feedback-basic.slang.expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hlsl-intrinsic/sampler-feedback/sampler-feedback-basic.slang.expected')
-rw-r--r--tests/hlsl-intrinsic/sampler-feedback/sampler-feedback-basic.slang.expected110
1 files changed, 110 insertions, 0 deletions
diff --git a/tests/hlsl-intrinsic/sampler-feedback/sampler-feedback-basic.slang.expected b/tests/hlsl-intrinsic/sampler-feedback/sampler-feedback-basic.slang.expected
new file mode 100644
index 000000000..1d4dda6b0
--- /dev/null
+++ b/tests/hlsl-intrinsic/sampler-feedback/sampler-feedback-basic.slang.expected
@@ -0,0 +1,110 @@
+result code = 0
+standard error = {
+}
+standard output = {
+{
+ "parameters": [
+ {
+ "name": "feedbackMinMip",
+ "binding": {"kind": "unorderedAccess", "index": 0},
+ "type": {
+ "kind": "resource",
+ "baseShape": "texture2D",
+ "feedback": true,
+ "access": "write",
+ "resultType": {
+ "kind": "Feedback",
+ "name": "SAMPLER_FEEDBACK_MIN_MIP"
+ }
+ }
+ },
+ {
+ "name": "feedbackMipRegionUsed",
+ "binding": {"kind": "unorderedAccess", "index": 1},
+ "type": {
+ "kind": "resource",
+ "baseShape": "texture2D",
+ "feedback": true,
+ "access": "write",
+ "resultType": {
+ "kind": "Feedback",
+ "name": "SAMPLER_FEEDBACK_MIP_REGION_USED"
+ }
+ }
+ },
+ {
+ "name": "feedbackMinMipArray",
+ "binding": {"kind": "unorderedAccess", "index": 2},
+ "type": {
+ "kind": "resource",
+ "baseShape": "texture2D",
+ "array": true,
+ "feedback": true,
+ "access": "write",
+ "resultType": {
+ "kind": "Feedback",
+ "name": "SAMPLER_FEEDBACK_MIN_MIP"
+ }
+ }
+ },
+ {
+ "name": "feebackMipRegionUsedArray",
+ "binding": {"kind": "unorderedAccess", "index": 3},
+ "type": {
+ "kind": "resource",
+ "baseShape": "texture2D",
+ "array": true,
+ "feedback": true,
+ "access": "write",
+ "resultType": {
+ "kind": "Feedback",
+ "name": "SAMPLER_FEEDBACK_MIP_REGION_USED"
+ }
+ }
+ },
+ {
+ "name": "tex2D",
+ "binding": {"kind": "shaderResource", "index": 0},
+ "type": {
+ "kind": "resource",
+ "baseShape": "texture2D"
+ }
+ },
+ {
+ "name": "tex2DArray",
+ "binding": {"kind": "shaderResource", "index": 1},
+ "type": {
+ "kind": "resource",
+ "baseShape": "texture2D",
+ "array": true
+ }
+ },
+ {
+ "name": "samp",
+ "binding": {"kind": "samplerState", "index": 0},
+ "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"
+ }
+ }
+ }
+ }
+ ]
+}
+}