GLSL preprocessor can't #define macros with no arguments

Issue #216529 • Assigned to Rafael C.

Details

Created
May 15, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Attempt to compile the following GLSL shader:

#define foo() 0
void main() {}

Live example: http://jsbin.com/qeyakori

Expected Results:

The expected behavior is a correct implementation of the #define pragma, like other browsers. Macros should be able to have no arguments.

Actual Results:

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Rico M.”

      Changed Assigned To from “Rico M.” to “Daniel L.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed”

      Changed Status to “Confirmed”

      Changed Assigned To from “Daniel L.” to “Ben C.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To to “Rafael C.”

      Changed Status from “Won’t fix”

    You need to sign in to your Microsoft account to add a comment.

    Sign in