Skip to content
Snippets Groups Projects
Commit 047b7efc authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Merge branch 'disable_texture_float' into 'master'

Disable texture-float.

This is patented extension hence we don't enable it by default.

See merge request !1
parents f0f552d4 b9fc7acc
No related branches found
No related tags found
1 merge request!1Disable texture-float.
......@@ -14,7 +14,9 @@ RUN apt-get update && \
python-mako \
git \
wget \
scons
scons \
procps \
bash
ENV CC gcc-4.7
ENV CXX g++-4.7
......@@ -44,7 +46,7 @@ run wget ftp://ftp.freedesktop.org/pub/mesa/11.1.0/mesa-11.1.0.tar.xz
RUN tar xf mesa-11.1.0.tar.xz
WORKDIR /opt/tools/src/mesa-11.1.0
RUN scons build=release texture_float=yes libgl-xlib osmesa
RUN scons build=release texture_float=no libgl-xlib osmesa
WORKDIR /opt/tools/inst/mesa-llvm
RUN cp /opt/tools/src/mesa-11.1.0/build/linux-x86_64/gallium/targets/libgl-xlib/libGL.so.1.5 . && \
......@@ -58,7 +60,7 @@ RUN cp /opt/tools/src/mesa-11.1.0/build/linux-x86_64/gallium/targets/osmesa/libo
WORKDIR /opt/tools/src/
RUN git clone https://github.com/OpenSWR/openswr-mesa.git mesa-swr-avx -b 11.0-openswr
WORKDIR /opt/tools/src/mesa-swr-avx
RUN scons build=release texture_float=yes swr_arch=avx libgl-xlib osmesa
RUN scons build=release texture_float=no swr_arch=avx libgl-xlib osmesa
WORKDIR /opt/tools/inst/mesa-swr-avx
RUN cp /opt/tools/src/mesa-swr-avx/build/linux-x86_64/gallium/targets/libgl-xlib/libGL.so.1.5 . && \
......@@ -72,7 +74,7 @@ RUN cp /opt/tools/src/mesa-swr-avx/build/linux-x86_64/gallium/targets/osmesa/lib
WORKDIR /opt/tools/src/
RUN git clone https://github.com/OpenSWR/openswr-mesa.git mesa-swr-avx2 -b 11.0-openswr
WORKDIR /opt/tools/src/mesa-swr-avx2
RUN scons build=release texture_float=yes swr_arch=core-avx2 libgl-xlib osmesa
RUN scons build=release texture_float=no swr_arch=core-avx2 libgl-xlib osmesa
WORKDIR /opt/tools/inst/mesa-swr-avx2
RUN cp /opt/tools/src/mesa-swr-avx2/build/linux-x86_64/gallium/targets/libgl-xlib/libGL.so.1.5 . && \
......@@ -88,4 +90,5 @@ WORKDIR /opt/tools/inst
RUN tar zcvf mesa-llvm.tar.gz mesa-llvm
RUN tar zcvf mesa-swr-avx.tar.gz mesa-swr-avx
RUN tar zcvf mesa-swr-avx2.tar.gz mesa-swr-avx2
CMD bash
CMD /bin/bash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment