From 3954a0bafb8aba97b8fdc365a39161f896edc199 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Wed, 10 Apr 2019 14:56:20 -0400 Subject: [PATCH] SpirvShader: Document ops requiring capabilities ... that will not be required for Pastel 1.0. Bug: b/126873455 Change-Id: I024296dd39ae74613577bd5dbd8d75051b7f4f5c Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28790 Tested-by: Ben Clayton Presubmit-Ready: Ben Clayton Reviewed-by: Nicolas Capens Reviewed-by: Chris Forbes Kokoro-Presubmit: kokoro --- src/Pipeline/SpirvShader.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Pipeline/SpirvShader.cpp b/src/Pipeline/SpirvShader.cpp index 8578389908dcb..e0bcdff1f6db6 100644 --- a/src/Pipeline/SpirvShader.cpp +++ b/src/Pipeline/SpirvShader.cpp @@ -3595,11 +3595,13 @@ namespace sw } case GLSLstd450PackDouble2x32: { + // Requires Float64 capability. UNIMPLEMENTED("GLSLstd450PackDouble2x32"); break; } case GLSLstd450UnpackDouble2x32: { + // Requires Float64 capability. UNIMPLEMENTED("GLSLstd450UnpackDouble2x32"); break; } @@ -3634,16 +3636,19 @@ namespace sw } case GLSLstd450InterpolateAtCentroid: { + // Requires sampleRateShading / InterpolationFunction capability. UNIMPLEMENTED("GLSLstd450InterpolateAtCentroid"); break; } case GLSLstd450InterpolateAtSample: { + // Requires sampleRateShading / InterpolationFunction capability. UNIMPLEMENTED("GLSLstd450InterpolateAtSample"); break; } case GLSLstd450InterpolateAtOffset: { + // Requires sampleRateShading / InterpolationFunction capability. UNIMPLEMENTED("GLSLstd450InterpolateAtOffset"); break; }