diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-21 19:06:07 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-30 12:57:13 +0100 |
commit | 8ebafa0493c0fa08ab9d80eeb1191b7560dc0863 (patch) | |
tree | eb4bd0d22dcc1e3dac3c5d18dbfaeb616be90617 /src/sna/brw/Makefile.am | |
parent | ca9d9c02a260bf7930e04bf64e93cc051893c04e (diff) |
sna: Add the brw assembler
In order to construct programs on the fly to cater for the combinatorial
number of possible shaders, we need an assembler, whilst also taking the
opportunity to remove some of the inefficiencies and mistakes from the
current shaders.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/brw/Makefile.am')
-rw-r--r-- | src/sna/brw/Makefile.am | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/sna/brw/Makefile.am b/src/sna/brw/Makefile.am new file mode 100644 index 00000000..edb3db4f --- /dev/null +++ b/src/sna/brw/Makefile.am @@ -0,0 +1,42 @@ + +# Copyright 2005 Adam Jackson. +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# on the rights to use, copy, modify, merge, publish, distribute, sub +# license, and/or sell copies of the Software, and to permit persons to whom +# the Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL +# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +noinst_LTLIBRARIES = libbrw.la + +AM_CFLAGS = \ + @CWARNFLAGS@ \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/render_program \ + @XORG_CFLAGS@ \ + @UDEV_CFLAGS@ \ + @DRM_CFLAGS@ \ + $(NULL) + +if DEBUG +AM_CFLAGS += @VALGRIND_CFLAGS@ +endif + +libbrw_la_SOURCES = \ + brw_disasm.c \ + brw_eu.h \ + brw_eu.c \ + brw_eu_emit.c \ + $(NULL) |