gfx/layers/d3d11/genshaders.sh

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 4
michael@0 5 tempfile=tmpShaderHeader
michael@0 6 rm CompositorD3D11Shaders.h
michael@0 7 fxc CompositorD3D11.fx -ELayerQuadVS -nologo -Tvs_4_0_level_9_3 -Fh$tempfile -VnLayerQuadVS
michael@0 8 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 9 fxc CompositorD3D11.fx -ESolidColorShader -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnSolidColorShader
michael@0 10 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 11 fxc CompositorD3D11.fx -ERGBShader -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnRGBShader
michael@0 12 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 13 fxc CompositorD3D11.fx -ERGBAShader -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnRGBAShader
michael@0 14 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 15 fxc CompositorD3D11.fx -EComponentAlphaShader -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnComponentAlphaShader
michael@0 16 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 17 fxc CompositorD3D11.fx -EYCbCrShader -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnYCbCrShader
michael@0 18 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 19 fxc CompositorD3D11.fx -ELayerQuadMaskVS -nologo -Tvs_4_0_level_9_3 -Fh$tempfile -VnLayerQuadMaskVS
michael@0 20 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 21 fxc CompositorD3D11.fx -ELayerQuadMask3DVS -nologo -Tvs_4_0_level_9_3 -Fh$tempfile -VnLayerQuadMask3DVS
michael@0 22 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 23 fxc CompositorD3D11.fx -ESolidColorShaderMask -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnSolidColorShaderMask
michael@0 24 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 25 fxc CompositorD3D11.fx -ERGBShaderMask -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnRGBShaderMask
michael@0 26 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 27 fxc CompositorD3D11.fx -ERGBAShaderMask -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnRGBAShaderMask
michael@0 28 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 29 fxc CompositorD3D11.fx -ERGBAShaderMask3D -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnRGBAShaderMask3D
michael@0 30 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 31 fxc CompositorD3D11.fx -EYCbCrShaderMask -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnYCbCrShaderMask
michael@0 32 cat $tempfile >> CompositorD3D11Shaders.h
michael@0 33 fxc CompositorD3D11.fx -EComponentAlphaShaderMask -Tps_4_0_level_9_3 -nologo -Fh$tempfile -VnComponentAlphaShaderMask
michael@0 34 cat $tempfile >> CompositorD3D11Shaders.h

mercurial