From 01cd11a8357f24876e2b815adf61adca12e3900c Mon Sep 17 00:00:00 2001 From: degasus Date: Mon, 22 Dec 2014 19:10:35 +0100 Subject: [PATCH] OGL: fix ssbo based bbox support --- Source/Core/VideoCommon/PixelShaderGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index 1c0befd1fd..e2c0168d13 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -252,7 +252,7 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T { out.Write( "layout(std140, binding = 3) buffer BBox {\n" - "\tint bbox_data[4];\n" + "\tint4 bbox_data;\n" "};\n" ); }