diff options
author | Jason Ekstrand <[email protected]> | 2017-07-12 11:36:29 -0700 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-08-03 00:19:07 +0100 |
commit | 4d27d9cb26a6f9e576274b82dd1600cfe0b0c9fe (patch) | |
tree | 61cac1237915204a88d8c978555dddc54f8e2038 /src | |
parent | eb880dfba7f07b8a0cb961c56cbad5bbf95ad6b1 (diff) |
spirv: Fix SpvImageFormatR16ui
Reviewed-by: Lionel Landwerlin <[email protected]>
Cc: "17.1 17.2" <[email protected]>
(cherry picked from commit 95c6a97464e7baaca6e09f829da0be5ac8c50297)
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 2a136369a76..6213ed89389 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -693,7 +693,7 @@ translate_image_format(SpvImageFormat format) case SpvImageFormatRg32ui: return 0x823C; /* GL_RG32UI */ case SpvImageFormatRg16ui: return 0x823A; /* GL_RG16UI */ case SpvImageFormatRg8ui: return 0x8238; /* GL_RG8UI */ - case SpvImageFormatR16ui: return 0x823A; /* GL_RG16UI */ + case SpvImageFormatR16ui: return 0x8234; /* GL_R16UI */ case SpvImageFormatR8ui: return 0x8232; /* GL_R8UI */ default: assert(!"Invalid image format"); |