Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gwihlidal/docker-fxc

Docker image of FXC running with Wine
https://github.com/gwihlidal/docker-fxc

Last synced: 1 day ago
JSON representation

Docker image of FXC running with Wine

Awesome Lists containing this project

README

        

# 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 /E
```

## 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
```