Sign inSign up

gwihlidal/fxc

By gwihlidal

•Updated about 8 years ago

Docker image with Microsoft FXC shader compiler

Image
1

8.5K

gwihlidal/fxc repository overview

⁠docker-protoc

Docker image with Microsoft FXC shader compiler

Hub: https://hub.docker.com/r/gwihlidal/fxc/⁠

⁠Usage

$ docker run --rm gwihlidal/fxc /help
$ docker run --rm -v $(pwd):$(pwd) -w $(pwd) gwihlidal/fxc /T <target> /E <entry-point-name> <input-hlsl-file>

⁠Example

% docker run --rm -v $(pwd):$(pwd) -w $(pwd) gwihlidal/fxc /T ps_5_1 /E main simple.hlsl

Microsoft (R) Direct3D Shader Compiler 10.1
Copyright (C) 2013 Microsoft. All rights reserved.

//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// no Input
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET                0   xyzw        0   TARGET   float   xyzw
//
ps_5_1
dcl_globalFlags refactoringAllowed
dcl_output o0.xyzw
mov o0.xyzw, l(0,1.000000,0,1.000000)
ret
// Approximately 2 instruction slots used

Tag summary

Content type

Image

Digest

Size

1.1 GB

Last updated

about 8 years ago

docker pull gwihlidal/fxc