Skip to content

Commit ef4a9c7

Browse files
committed
fix these types
1 parent 59b1adf commit ef4a9c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vcc/include/shady.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ typedef __attribute__((address_space(0x1001))) struct __shady_builtin_sampler2D*
4848
typedef __attribute__((address_space(0x1002))) struct __shady_builtin_sampler3D* sampler3D;
4949
typedef __attribute__((address_space(0x1003))) struct __shady_builtin_sampler3D* samplerCube;
5050

51-
typedef __attribute__((address_space(0x1100))) struct __shady_builtin_image2D *image1D;
52-
typedef __attribute__((address_space(0x1101))) struct __shady_builtin_image2D *image2D;
53-
typedef __attribute__((address_space(0x1102))) struct __shady_builtin_image2D *image3D;
54-
typedef __attribute__((address_space(0x1103))) struct __shady_builtin_image2D *imageCube;
51+
typedef __attribute__((address_space(0x1100))) struct __shady_builtin_image1D* image1D;
52+
typedef __attribute__((address_space(0x1101))) struct __shady_builtin_image2D* image2D;
53+
typedef __attribute__((address_space(0x1102))) struct __shady_builtin_image3D* image3D;
54+
typedef __attribute__((address_space(0x1103))) struct __shady_builtin_image3D* imageCube;
5555

5656
native_vec4 texture1D(const sampler1D, float) __asm__("shady::impure_op::spirv.core::87::Invocation");
5757
native_vec4 texture2D(const sampler2D, native_vec2) __asm__("shady::impure_op::spirv.core::87::Invocation");

0 commit comments

Comments
 (0)