| Index: gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc b/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc
|
| index 36932fa0ab6ac810f39b7f32b78dc73561236c17..e4cdd30cfe41f86c67d856cd42f874e92bea7a46 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc
|
| @@ -808,42 +808,6 @@ const char ApplyFramebufferAttachmentCMAAINTELResourceManager::cmaa_frag_s1_[] =
|
| return ret;
|
| }
|
|
|
| - uint PackZ(const uvec2 screenPos, const bool invertedZShape) {
|
| - uint retVal = screenPos.x | (screenPos.y << 15u);
|
| - if (invertedZShape)
|
| - retVal |= (1u << 30u);
|
| - return retVal;
|
| - }
|
| -
|
| - void UnpackZ(uint packedZ, out uvec2 screenPos,
|
| - out bool invertedZShape)
|
| - {
|
| - screenPos.x = packedZ & 0x7FFFu;
|
| - screenPos.y = (packedZ >> 15u) & 0x7FFFu;
|
| - invertedZShape = (packedZ >> 30u) == 1u;
|
| - }
|
| -
|
| - uint PackZ(const uvec2 screenPos,
|
| - const bool invertedZShape,
|
| - const bool horizontal) {
|
| - uint retVal = screenPos.x | (screenPos.y << 15u);
|
| - if (invertedZShape)
|
| - retVal |= (1u << 30u);
|
| - if (horizontal)
|
| - retVal |= (1u << 31u);
|
| - return retVal;
|
| - }
|
| -
|
| - void UnpackZ(uint packedZ,
|
| - out uvec2 screenPos,
|
| - out bool invertedZShape,
|
| - out bool horizontal) {
|
| - screenPos.x = packedZ & 0x7FFFu;
|
| - screenPos.y = (packedZ >> 15u) & 0x7FFFu;
|
| - invertedZShape = (packedZ & (1u << 30u)) != 0u;
|
| - horizontal = (packedZ & (1u << 31u)) != 0u;
|
| - }
|
| -
|
| vec4 PackBlurAAInfo(ivec2 pixelPos, uint shapeType) {
|
| uint packedEdges = uint(
|
| texelFetch(g_src0TextureFlt, pixelPos, 0).r * 255.5);
|
|
|