Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Varjo: Compilation failed #12

Open
collinalexbell opened this issue Sep 24, 2018 · 0 comments
Open

Varjo: Compilation failed #12

collinalexbell opened this issue Sep 24, 2018 · 0 comments

Comments

@collinalexbell
Copy link

collinalexbell commented Sep 24, 2018

Hi, I am trying to manually run the triangles example.

(defstruct-g pos-col
  (position :vec3 :accessor pos)
  (color :vec4 :accessor col))

(defun-g tri-vert ((vert pos-col))
  (values (vector (pos vert) 1.0)
          (col vert)))

When I attempt to run defun-g, I get

Varjo: Compilation Failed:

Stages: VERTEX GEOMETRY
There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION VARJO.INTERNALS:V-ARRAY-TYPE-OF (1)>
when called with arguments
  (NIL 2 #<FLOW-ID 6>).
See also:
  The ANSI Standard, Section 7.6.6

Stages: TESSELLATION-CONTROL TESSELLATION-EVALUATION COMPUTE
There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION VARJO.INTERNALS:V-ARRAY-TYPE-OF (1)>
when called with arguments
  (NIL 2 #<FLOW-ID 5>).
See also:
  The ANSI Standard, Section 7.6.6

Stages: FRAGMENT
There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION VARJO.INTERNALS:V-ARRAY-TYPE-OF (1)>
when called with arguments
  (NIL 2 #<FLOW-ID 7>).
See also:
  The ANSI Standard, Section 7.6.6
   [Condition of type VARJO-CONDITIONS:TEST-TRANSLATE-FAILED]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant