Always use 0 for the Depth operand of OpTypeImage

This CL is based on the below one with changes on the unittests:
https://dawn-review.googlesource.com/c/tint/+/60860

Bug: dawn:1030
Test: tint_unittests

Change-Id: I4624a0abd3c4905137b6ce1b3f57e4d9a4510eb4
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/85324
Reviewed-by: David Neto <dneto@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Jiawei Shao <jiawei.shao@intel.com>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86065
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Jiawei Shao 2022-04-08 08:33:28 +00:00 committed by Dawn LUCI CQ
parent e17a13c60c
commit 9d27aaaaa1
71 changed files with 186 additions and 168 deletions

View File

@ -118,11 +118,11 @@ decorated with `NonWritable` or each member of the struct can be decorated with
| | | | | | | |
| texture_multisampled_2d&lt;type&gt; | OpTypeImage 2D MS=1 Sampled=1 | texture2d_ms&lt;type, access::sample&gt; | Texture2D | | texture_multisampled_2d&lt;type&gt; | OpTypeImage 2D MS=1 Sampled=1 | texture2d_ms&lt;type, access::sample&gt; | Texture2D |
| | | | | | | |
| texture_depth_2d | OpTypeImage 2D Depth=1 Sampled=1 | depth2d&lt;float, access::sample&gt;| Texture2D | | texture_depth_2d | OpTypeImage 2D Sampled=1 | depth2d&lt;float, access::sample&gt;| Texture2D |
| texture_depth_2d_array | OpTypeImage 2D Depth=1 Arrayed=1 Sampled=1 | depth2d_array&lt;float, access::sample&gt; | Texture2DArray | | texture_depth_2d_array | OpTypeImage 2D Arrayed=1 Sampled=1 | depth2d_array&lt;float, access::sample&gt; | Texture2DArray |
| texture_depth_cube | OpTypeImage Cube Depth=1 Sampled=1 | depthcube&lt;float, access::sample&gt; | TextureCube | | texture_depth_cube | OpTypeImage Cube Sampled=1 | depthcube&lt;float, access::sample&gt; | TextureCube |
| texture_depth_cube_array | OpTypeImage Cube Depth=1 Arrayed=1 Sampled=1 | depthcube_array&lt;float, access::sample&gt; | TextureCubeArray | | texture_depth_cube_array | OpTypeImage Cube Arrayed=1 Sampled=1 | depthcube_array&lt;float, access::sample&gt; | TextureCubeArray |
| texture_depth_multisampled_2d | OpTypeImage 2D Depth=1 MS=1 Sampled=1 | depth2d&lt;float, access::sample&gt;| Texture2DMSArray | | texture_depth_multisampled_2d | OpTypeImage 2D MS=1 Sampled=1 | depth2d&lt;float, access::sample&gt;| Texture2DMSArray |
| | | | | | | |
| texture_storage_1d&lt;image_storage_type&gt; | OpTypeImage 1D Sampled=2| texture1d&lt;type, access::read&gt; | RWTexture1D | | texture_storage_1d&lt;image_storage_type&gt; | OpTypeImage 1D Sampled=2| texture1d&lt;type, access::read&gt; | RWTexture1D |
| texture_storage_2d&lt;image_storage_type&gt; | OpTypeImage 2D Sampled=2 | texture2d&lt;type, access::read&gt; | RWTexture2D | | texture_storage_2d&lt;image_storage_type&gt; | OpTypeImage 2D Sampled=2 | texture2d&lt;type, access::read&gt; | RWTexture2D |

View File

@ -50,9 +50,6 @@ class MultisampledSamplingTest : public DawnTest {
void SetUp() override { void SetUp() override {
DawnTest::SetUp(); DawnTest::SetUp();
// TODO(crbug.com/dawn/1030): Compute pipeline compilation crashes.
DAWN_SUPPRESS_TEST_IF(IsLinux() && IsVulkan() && IsIntel());
{ {
utils::ComboRenderPipelineDescriptor desc; utils::ComboRenderPipelineDescriptor desc;

View File

@ -3352,6 +3352,15 @@ bool Builder::GenerateAtomicBuiltin(const sem::Call* call,
uint32_t Builder::GenerateSampledImage(const sem::Type* texture_type, uint32_t Builder::GenerateSampledImage(const sem::Type* texture_type,
Operand texture_operand, Operand texture_operand,
Operand sampler_operand) { Operand sampler_operand) {
// DepthTexture is always declared as SampledTexture.
// The Vulkan spec says: The "Depth" operand of OpTypeImage is ignored.
// In SPIRV, 0 means not depth, 1 means depth, and 2 means unknown.
// Using anything other than 0 is problematic on various Vulkan drivers.
if (auto* depthTextureType = texture_type->As<sem::DepthTexture>()) {
texture_type = builder_.create<sem::SampledTexture>(
depthTextureType->dim(), builder_.create<sem::F32>());
}
uint32_t sampled_image_type_id = utils::GetOrCreate( uint32_t sampled_image_type_id = utils::GetOrCreate(
texture_type_to_sampled_image_type_id_, texture_type, [&] { texture_type_to_sampled_image_type_id_, texture_type, [&] {
// We need to create the sampled image type and cache the result. // We need to create the sampled image type and cache the result.
@ -3810,6 +3819,19 @@ uint32_t Builder::GenerateTypeIfNeeded(const sem::Type* type) {
return GenerateTypeIfNeeded(atomic->Type()); return GenerateTypeIfNeeded(atomic->Type());
} }
// DepthTexture is always declared as SampledTexture.
// The Vulkan spec says: The "Depth" operand of OpTypeImage is ignored.
// In SPIRV, 0 means not depth, 1 means depth, and 2 means unknown.
// Using anything other than 0 is problematic on various Vulkan drivers.
if (auto* depthTextureType = type->As<sem::DepthTexture>()) {
type = builder_.create<sem::SampledTexture>(depthTextureType->dim(),
builder_.create<sem::F32>());
} else if (auto* multisampledDepthTextureType =
type->As<sem::DepthMultisampledTexture>()) {
type = builder_.create<sem::MultisampledTexture>(
multisampledDepthTextureType->dim(), builder_.create<sem::F32>());
}
// Pointers and references with differing accesses should not result in a // Pointers and references with differing accesses should not result in a
// different SPIR-V types, so we explicitly ignore the access. // different SPIR-V types, so we explicitly ignore the access.
// Pointers and References both map to a SPIR-V pointer type. // Pointers and References both map to a SPIR-V pointer type.
@ -3959,9 +3981,9 @@ bool Builder::GenerateTextureType(const sem::Texture* texture,
} }
uint32_t depth_literal = 0u; uint32_t depth_literal = 0u;
if (texture->IsAnyOf<sem::DepthTexture, sem::DepthMultisampledTexture>()) { // The Vulkan spec says: The "Depth" operand of OpTypeImage is ignored.
depth_literal = 1u; // In SPIRV, 0 means not depth, 1 means depth, and 2 means unknown.
} // Using anything other than 0 is problematic on various Vulkan drivers.
uint32_t sampled_literal = 2u; uint32_t sampled_literal = 2u;
if (texture->IsAnyOf<sem::MultisampledTexture, sem::SampledTexture, if (texture->IsAnyOf<sem::MultisampledTexture, sem::SampledTexture,

View File

@ -485,7 +485,7 @@ TEST_F(BuiltinBuilderTest, Call_TextureSampleCompare_Twice) {
EXPECT_EQ(b.GenerateExpression(expr2), 17u) << b.error(); EXPECT_EQ(b.GenerateExpression(expr2), 17u) << b.error();
EXPECT_EQ(DumpInstructions(b.types()), R"(%4 = OpTypeFloat 32 EXPECT_EQ(DumpInstructions(b.types()), R"(%4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -297,7 +297,7 @@ OpCapability ImageQuery
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -318,7 +318,7 @@ OpCapability ImageQuery
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -339,7 +339,7 @@ OpCapability ImageQuery
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -362,7 +362,7 @@ OpCapability ImageQuery
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -385,7 +385,7 @@ OpCapability ImageQuery
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 0 0 1 Unknown %3 = OpTypeImage %4 Cube 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -406,7 +406,7 @@ OpCapability ImageQuery
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 0 0 1 Unknown %3 = OpTypeImage %4 Cube 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -427,7 +427,7 @@ OpCapability ImageQuery
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 1 0 1 Unknown %3 = OpTypeImage %4 Cube 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -451,7 +451,7 @@ OpCapability ImageQuery
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 1 0 1 Unknown %3 = OpTypeImage %4 Cube 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -475,7 +475,7 @@ OpCapability ImageQuery
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 1 1 Unknown %3 = OpTypeImage %4 2D 0 0 1 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -748,7 +748,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherDepth2dF32: case ValidTextureOverload::kGatherDepth2dF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -774,7 +774,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherDepth2dOffsetF32: case ValidTextureOverload::kGatherDepth2dOffsetF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -804,7 +804,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherDepth2dArrayF32: case ValidTextureOverload::kGatherDepth2dArrayF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -832,7 +832,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherDepth2dArrayOffsetF32: case ValidTextureOverload::kGatherDepth2dArrayOffsetF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -864,7 +864,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherDepthCubeF32: case ValidTextureOverload::kGatherDepthCubeF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 0 0 1 Unknown %3 = OpTypeImage %4 Cube 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -891,7 +891,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherDepthCubeArrayF32: case ValidTextureOverload::kGatherDepthCubeArrayF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 1 0 1 Unknown %3 = OpTypeImage %4 Cube 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -920,7 +920,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherCompareDepth2dF32: case ValidTextureOverload::kGatherCompareDepth2dF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -945,7 +945,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherCompareDepth2dOffsetF32: case ValidTextureOverload::kGatherCompareDepth2dOffsetF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -975,7 +975,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherCompareDepth2dArrayF32: case ValidTextureOverload::kGatherCompareDepth2dArrayF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1003,7 +1003,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherCompareDepth2dArrayOffsetF32: case ValidTextureOverload::kGatherCompareDepth2dArrayOffsetF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1035,7 +1035,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherCompareDepthCubeF32: case ValidTextureOverload::kGatherCompareDepthCubeF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 0 0 1 Unknown %3 = OpTypeImage %4 Cube 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1061,7 +1061,7 @@ OpCapability SampledCubeArray
case ValidTextureOverload::kGatherCompareDepthCubeArrayF32: case ValidTextureOverload::kGatherCompareDepthCubeArrayF32:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 1 0 1 Unknown %3 = OpTypeImage %4 Cube 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1133,7 +1133,7 @@ OpCapability ImageQuery
case ValidTextureOverload::kNumLayersDepth2dArray: case ValidTextureOverload::kNumLayersDepth2dArray:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1154,7 +1154,7 @@ OpCapability ImageQuery
case ValidTextureOverload::kNumLayersDepthCubeArray: case ValidTextureOverload::kNumLayersDepthCubeArray:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 1 0 1 Unknown %3 = OpTypeImage %4 Cube 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1287,7 +1287,7 @@ OpCapability ImageQuery
case ValidTextureOverload::kNumLevelsDepth2d: case ValidTextureOverload::kNumLevelsDepth2d:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1305,7 +1305,7 @@ OpCapability ImageQuery
case ValidTextureOverload::kNumLevelsDepth2dArray: case ValidTextureOverload::kNumLevelsDepth2dArray:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1323,7 +1323,7 @@ OpCapability ImageQuery
case ValidTextureOverload::kNumLevelsDepthCube: case ValidTextureOverload::kNumLevelsDepthCube:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 0 0 1 Unknown %3 = OpTypeImage %4 Cube 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1341,7 +1341,7 @@ OpCapability ImageQuery
case ValidTextureOverload::kNumLevelsDepthCubeArray: case ValidTextureOverload::kNumLevelsDepthCubeArray:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 1 0 1 Unknown %3 = OpTypeImage %4 Cube 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1378,7 +1378,7 @@ OpCapability ImageQuery
case ValidTextureOverload::kNumSamplesDepthMultisampled2d: case ValidTextureOverload::kNumSamplesDepthMultisampled2d:
return {R"( return {R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 1 1 Unknown %3 = OpTypeImage %4 2D 0 0 1 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1648,7 +1648,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1674,7 +1674,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1705,7 +1705,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1734,7 +1734,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1767,7 +1767,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 0 0 1 Unknown %3 = OpTypeImage %4 Cube 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -1794,7 +1794,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 1 0 1 Unknown %3 = OpTypeImage %4 Cube 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2296,7 +2296,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2325,7 +2325,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2358,7 +2358,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2389,7 +2389,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2424,7 +2424,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 0 0 1 Unknown %3 = OpTypeImage %4 Cube 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2454,7 +2454,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 1 0 1 Unknown %3 = OpTypeImage %4 Cube 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2772,7 +2772,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2797,7 +2797,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2827,7 +2827,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2855,7 +2855,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2887,7 +2887,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 0 0 1 Unknown %3 = OpTypeImage %4 Cube 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2913,7 +2913,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 1 0 1 Unknown %3 = OpTypeImage %4 Cube 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2943,7 +2943,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -2969,7 +2969,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -3000,7 +3000,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -3029,7 +3029,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -3062,7 +3062,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 0 0 1 Unknown %3 = OpTypeImage %4 Cube 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -3089,7 +3089,7 @@ OpCapability SampledCubeArray
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 Cube 1 1 0 1 Unknown %3 = OpTypeImage %4 Cube 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -3475,7 +3475,7 @@ OpCapability Sampled1D
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 0 0 1 Unknown %3 = OpTypeImage %4 2D 0 0 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -3500,7 +3500,7 @@ OpCapability Sampled1D
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler
@ -3526,7 +3526,7 @@ OpCapability Sampled1D
return { return {
R"( R"(
%4 = OpTypeFloat 32 %4 = OpTypeFloat 32
%3 = OpTypeImage %4 2D 1 1 0 1 Unknown %3 = OpTypeImage %4 2D 0 1 0 1 Unknown
%2 = OpTypePointer UniformConstant %3 %2 = OpTypePointer UniformConstant %3
%1 = OpVariable %2 UniformConstant %1 = OpVariable %2 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -561,7 +561,7 @@ TEST_F(BuilderTest_Type, DepthTexture_Generate_2d) {
EXPECT_EQ(1u, id_two_d); EXPECT_EQ(1u, id_two_d);
EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32
%1 = OpTypeImage %2 2D 1 0 0 1 Unknown %1 = OpTypeImage %2 2D 0 0 0 1 Unknown
)"); )");
} }
@ -576,7 +576,7 @@ TEST_F(BuilderTest_Type, DepthTexture_Generate_2dArray) {
EXPECT_EQ(1u, id_two_d_array); EXPECT_EQ(1u, id_two_d_array);
EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32
%1 = OpTypeImage %2 2D 1 1 0 1 Unknown %1 = OpTypeImage %2 2D 0 1 0 1 Unknown
)"); )");
} }
@ -590,7 +590,7 @@ TEST_F(BuilderTest_Type, DepthTexture_Generate_Cube) {
EXPECT_EQ(1u, id_cube); EXPECT_EQ(1u, id_cube);
EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32
%1 = OpTypeImage %2 Cube 1 0 0 1 Unknown %1 = OpTypeImage %2 Cube 0 0 0 1 Unknown
)"); )");
EXPECT_EQ(DumpInstructions(b.capabilities()), ""); EXPECT_EQ(DumpInstructions(b.capabilities()), "");
} }
@ -606,7 +606,7 @@ TEST_F(BuilderTest_Type, DepthTexture_Generate_CubeArray) {
EXPECT_EQ(1u, id_cube_array); EXPECT_EQ(1u, id_cube_array);
EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32
%1 = OpTypeImage %2 Cube 1 1 0 1 Unknown %1 = OpTypeImage %2 Cube 0 1 0 1 Unknown
)"); )");
EXPECT_EQ(DumpInstructions(b.capabilities()), EXPECT_EQ(DumpInstructions(b.capabilities()),
R"(OpCapability SampledCubeArray R"(OpCapability SampledCubeArray

View File

@ -30,7 +30,7 @@
%GlobalInvocationId_1 = OpVariable %_ptr_Input_v3uint Input %GlobalInvocationId_1 = OpVariable %_ptr_Input_v3uint Input
%width = OpConstant %uint 128 %width = OpConstant %uint 128
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%8 = OpTypeImage %float 2D 1 0 0 1 Unknown %8 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_8 = OpTypePointer UniformConstant %8 %_ptr_UniformConstant_8 = OpTypePointer UniformConstant %8
%tex = OpVariable %_ptr_UniformConstant_8 UniformConstant %tex = OpVariable %_ptr_UniformConstant_8 UniformConstant
%_runtimearr_float = OpTypeRuntimeArray %float %_runtimearr_float = OpTypeRuntimeArray %float

View File

@ -1,7 +1,7 @@
; SPIR-V ; SPIR-V
; Version: 1.3 ; Version: 1.3
; Generator: Google Tint Compiler; 0 ; Generator: Google Tint Compiler; 0
; Bound: 64 ; Bound: 63
; Schema: 0 ; Schema: 0
OpCapability Shader OpCapability Shader
OpMemoryModel Logical GLSL450 OpMemoryModel Logical GLSL450
@ -202,38 +202,37 @@
%t5 = OpVariable %_ptr_UniformConstant_23 UniformConstant %t5 = OpVariable %_ptr_UniformConstant_23 UniformConstant
%t6 = OpVariable %_ptr_UniformConstant_23 UniformConstant %t6 = OpVariable %_ptr_UniformConstant_23 UniformConstant
%t7 = OpVariable %_ptr_UniformConstant_23 UniformConstant %t7 = OpVariable %_ptr_UniformConstant_23 UniformConstant
%33 = OpTypeImage %float 2D 1 0 0 1 Unknown %_ptr_UniformConstant_23_0 = OpTypePointer UniformConstant %23
%_ptr_UniformConstant_33 = OpTypePointer UniformConstant %33 %t8 = OpVariable %_ptr_UniformConstant_23_0 UniformConstant
%t8 = OpVariable %_ptr_UniformConstant_33 UniformConstant %t9 = OpVariable %_ptr_UniformConstant_23_0 UniformConstant
%t9 = OpVariable %_ptr_UniformConstant_33 UniformConstant %t10 = OpVariable %_ptr_UniformConstant_23_0 UniformConstant
%t10 = OpVariable %_ptr_UniformConstant_33 UniformConstant %t11 = OpVariable %_ptr_UniformConstant_23_0 UniformConstant
%t11 = OpVariable %_ptr_UniformConstant_33 UniformConstant %t12 = OpVariable %_ptr_UniformConstant_23_0 UniformConstant
%t12 = OpVariable %_ptr_UniformConstant_33 UniformConstant %t13 = OpVariable %_ptr_UniformConstant_23_0 UniformConstant
%t13 = OpVariable %_ptr_UniformConstant_33 UniformConstant %t14 = OpVariable %_ptr_UniformConstant_23_0 UniformConstant
%t14 = OpVariable %_ptr_UniformConstant_33 UniformConstant %t15 = OpVariable %_ptr_UniformConstant_23_0 UniformConstant
%t15 = OpVariable %_ptr_UniformConstant_33 UniformConstant %42 = OpTypeSampler
%43 = OpTypeSampler %_ptr_UniformConstant_42 = OpTypePointer UniformConstant %42
%_ptr_UniformConstant_43 = OpTypePointer UniformConstant %43 %s0 = OpVariable %_ptr_UniformConstant_42 UniformConstant
%s0 = OpVariable %_ptr_UniformConstant_43 UniformConstant %s1 = OpVariable %_ptr_UniformConstant_42 UniformConstant
%s1 = OpVariable %_ptr_UniformConstant_43 UniformConstant %s2 = OpVariable %_ptr_UniformConstant_42 UniformConstant
%s2 = OpVariable %_ptr_UniformConstant_43 UniformConstant %s3 = OpVariable %_ptr_UniformConstant_42 UniformConstant
%s3 = OpVariable %_ptr_UniformConstant_43 UniformConstant %s4 = OpVariable %_ptr_UniformConstant_42 UniformConstant
%s4 = OpVariable %_ptr_UniformConstant_43 UniformConstant %s5 = OpVariable %_ptr_UniformConstant_42 UniformConstant
%s5 = OpVariable %_ptr_UniformConstant_43 UniformConstant %s6 = OpVariable %_ptr_UniformConstant_42 UniformConstant
%s6 = OpVariable %_ptr_UniformConstant_43 UniformConstant %s7 = OpVariable %_ptr_UniformConstant_42 UniformConstant
%s7 = OpVariable %_ptr_UniformConstant_43 UniformConstant %_ptr_UniformConstant_42_0 = OpTypePointer UniformConstant %42
%_ptr_UniformConstant_43_0 = OpTypePointer UniformConstant %43 %s8 = OpVariable %_ptr_UniformConstant_42_0 UniformConstant
%s8 = OpVariable %_ptr_UniformConstant_43_0 UniformConstant %s9 = OpVariable %_ptr_UniformConstant_42_0 UniformConstant
%s9 = OpVariable %_ptr_UniformConstant_43_0 UniformConstant %s10 = OpVariable %_ptr_UniformConstant_42_0 UniformConstant
%s10 = OpVariable %_ptr_UniformConstant_43_0 UniformConstant %s11 = OpVariable %_ptr_UniformConstant_42_0 UniformConstant
%s11 = OpVariable %_ptr_UniformConstant_43_0 UniformConstant %s12 = OpVariable %_ptr_UniformConstant_42_0 UniformConstant
%s12 = OpVariable %_ptr_UniformConstant_43_0 UniformConstant %s13 = OpVariable %_ptr_UniformConstant_42_0 UniformConstant
%s13 = OpVariable %_ptr_UniformConstant_43_0 UniformConstant %s14 = OpVariable %_ptr_UniformConstant_42_0 UniformConstant
%s14 = OpVariable %_ptr_UniformConstant_43_0 UniformConstant %s15 = OpVariable %_ptr_UniformConstant_42_0 UniformConstant
%s15 = OpVariable %_ptr_UniformConstant_43_0 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid
%60 = OpTypeFunction %void %59 = OpTypeFunction %void
%main = OpFunction %void None %60 %main = OpFunction %void None %59
%63 = OpLabel %62 = OpLabel
OpReturn OpReturn
OpFunctionEnd OpFunctionEnd

View File

@ -35,7 +35,7 @@
%_ptr_Output_v4float = OpTypePointer Output %v4float %_ptr_Output_v4float = OpTypePointer Output %v4float
%8 = OpConstantNull %v4float %8 = OpConstantNull %v4float
%color_1 = OpVariable %_ptr_Output_v4float Output %8 %color_1 = OpVariable %_ptr_Output_v4float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%depthMap = OpVariable %_ptr_UniformConstant_11 UniformConstant %depthMap = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 0 0 1 Unknown %11 = OpTypeImage %float Cube 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -33,7 +33,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 1 0 1 Unknown %11 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 0 0 1 Unknown %11 = OpTypeImage %float Cube 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -33,7 +33,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 1 0 1 Unknown %11 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 1 1 Unknown %11 = OpTypeImage %float 2D 0 0 1 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 0 0 1 Unknown %11 = OpTypeImage %float Cube 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -35,7 +35,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 1 0 1 Unknown %11 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 0 0 1 Unknown %11 = OpTypeImage %float Cube 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -35,7 +35,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 1 0 1 Unknown %11 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -31,7 +31,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -31,7 +31,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 1 1 Unknown %11 = OpTypeImage %float 2D 0 0 1 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -31,7 +31,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -33,7 +33,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 1 0 1 Unknown %11 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 0 0 1 Unknown %11 = OpTypeImage %float Cube 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -33,7 +33,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 1 0 1 Unknown %11 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -32,7 +32,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 1 1 Unknown %11 = OpTypeImage %float 2D 0 0 1 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -17,7 +17,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 1 0 0 1 Unknown %3 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -17,7 +17,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 1 0 0 1 Unknown %3 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -17,7 +17,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 1 1 0 1 Unknown %3 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -17,7 +17,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 1 1 0 1 Unknown %3 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -18,7 +18,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float Cube 1 1 0 1 Unknown %3 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -17,7 +17,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float Cube 1 0 0 1 Unknown %3 = OpTypeImage %float Cube 0 0 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -17,7 +17,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 1 0 0 1 Unknown %3 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -17,7 +17,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 1 0 0 1 Unknown %3 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -17,7 +17,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float Cube 1 0 0 1 Unknown %3 = OpTypeImage %float Cube 0 0 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -17,7 +17,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 1 1 0 1 Unknown %3 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -18,7 +18,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float Cube 1 1 0 1 Unknown %3 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -17,7 +17,7 @@
OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 DescriptorSet 1
OpDecorate %arg_1 Binding 1 OpDecorate %arg_1 Binding 1
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 1 1 0 1 Unknown %3 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%7 = OpTypeSampler %7 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 0 0 1 Unknown %11 = OpTypeImage %float Cube 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -35,7 +35,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 1 0 1 Unknown %11 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 0 0 1 Unknown %11 = OpTypeImage %float Cube 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 0 1 Unknown %11 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -35,7 +35,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float Cube 1 1 0 1 Unknown %11 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -34,7 +34,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 1 0 1 Unknown %11 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%14 = OpTypeSampler %14 = OpTypeSampler

View File

@ -41,7 +41,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 1 1 Unknown %11 = OpTypeImage %float 2D 0 0 1 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%_ptr_Private_v4float = OpTypePointer Private %v4float %_ptr_Private_v4float = OpTypePointer Private %v4float

View File

@ -40,7 +40,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 1 1 Unknown %11 = OpTypeImage %float 2D 0 0 1 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%_ptr_Private_v4float = OpTypePointer Private %v4float %_ptr_Private_v4float = OpTypePointer Private %v4float

View File

@ -41,7 +41,7 @@
%_ptr_Output_float = OpTypePointer Output %float %_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float %8 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %8 %vertex_point_size = OpVariable %_ptr_Output_float Output %8
%11 = OpTypeImage %float 2D 1 0 1 1 Unknown %11 = OpTypeImage %float 2D 0 0 1 1 Unknown
%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
%_ptr_Private_v4float = OpTypePointer Private %v4float %_ptr_Private_v4float = OpTypePointer Private %v4float

View File

@ -12,7 +12,7 @@
OpDecorate %t_f DescriptorSet 0 OpDecorate %t_f DescriptorSet 0
OpDecorate %t_f Binding 0 OpDecorate %t_f Binding 0
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 1 0 0 1 Unknown %3 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%t_f = OpVariable %_ptr_UniformConstant_3 UniformConstant %t_f = OpVariable %_ptr_UniformConstant_3 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -12,7 +12,7 @@
OpDecorate %t_f DescriptorSet 0 OpDecorate %t_f DescriptorSet 0
OpDecorate %t_f Binding 0 OpDecorate %t_f Binding 0
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 1 1 0 1 Unknown %3 = OpTypeImage %float 2D 0 1 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%t_f = OpVariable %_ptr_UniformConstant_3 UniformConstant %t_f = OpVariable %_ptr_UniformConstant_3 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -12,7 +12,7 @@
OpDecorate %t_f DescriptorSet 0 OpDecorate %t_f DescriptorSet 0
OpDecorate %t_f Binding 0 OpDecorate %t_f Binding 0
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float Cube 1 0 0 1 Unknown %3 = OpTypeImage %float Cube 0 0 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%t_f = OpVariable %_ptr_UniformConstant_3 UniformConstant %t_f = OpVariable %_ptr_UniformConstant_3 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid

View File

@ -13,7 +13,7 @@
OpDecorate %t_f DescriptorSet 0 OpDecorate %t_f DescriptorSet 0
OpDecorate %t_f Binding 0 OpDecorate %t_f Binding 0
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%3 = OpTypeImage %float Cube 1 1 0 1 Unknown %3 = OpTypeImage %float Cube 0 1 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%t_f = OpVariable %_ptr_UniformConstant_3 UniformConstant %t_f = OpVariable %_ptr_UniformConstant_3 UniformConstant
%void = OpTypeVoid %void = OpTypeVoid