Граф коммитов

3519 Коммитов

Автор SHA1 Сообщение Дата
Tex Riddell 1d67cd2ebe Fix build break from automatic merge. 2017-02-10 12:16:46 -08:00
Tex Riddell 4d6c990159 Merge pull request #77 from tex3d/vstools-x64
Use amd64 VS build tools instead of default x86 tools
2017-02-10 12:14:43 -08:00
Xiang Li c1e67e9a93 Enable SampleCmpLevelZero for all shader profiles. 2017-02-10 12:14:36 -08:00
Xiang Li 3f405a564f Use i32 to fake 64bit for buffer load/store. (#63) 2017-02-10 12:14:29 -08:00
Tex Riddell 588da18897 Merge pull request #80 from python3kgae/local4
Enable SampleCmpLevelZero for all shader profiles.
2017-02-10 12:11:06 -08:00
Xiang Li 9ea3e5f44b Enable SampleCmpLevelZero for all shader profiles. 2017-02-10 11:43:30 -08:00
Tex Riddell bbc14d28f7 Use amd64 VS build tools instead of default x86 tools
- avoids running out of memory during incremental linking
2017-02-09 19:38:02 -08:00
Tex Riddell b8594d7ddc Fix build break from automatic merge. 2017-02-09 19:03:47 -08:00
Tex Riddell a6433c18f8 Merge pull request #76 from tex3d/integration
Integrate validation, dxc option, and other changes
2017-02-09 17:33:45 -08:00
Tex Riddell 57040f64d2 Merge pull request #7 from tex3d/val
Integrate validation and dxc option updates
2017-02-08 17:05:54 -08:00
Chas. Boyd 0eaca4e379 Update README.md
Added notice of nVidia driver availability.
2017-02-08 14:02:07 -08:00
yurido1 459fa804b8 Fix includes for no-STL version. (#12) 2017-02-08 13:24:30 -08:00
yurido1 f9fd30a62b Added verification of root signature against shader resources. (#11)
Fixed root signature range containment bug.
Added verification of root signature against shader resources.
2017-02-08 11:51:15 -08:00
Xiang Li cb0ba446c1 Fix validation bugs. (#10) 2017-02-07 22:18:10 -08:00
Xiang Li 4fcc616d9b Keep rowIdx for array of gs input. (#72) 2017-02-07 17:47:05 -08:00
Young Kim b238ed36c3 Dxc fix verifyrootsignature option (#6)
* Dxc fix verifyrootsignature option

- distinguish stream type (stdout, stderr) when printing to console
- verifyrootsignature option returns correct errorlevel depending on its result
- adding more test cases to hcttest for verifyrootsignature option
- enable verifyrootsignature option when dxil.dll not present

* Fixes from review

- Change parameters for writing to consoles from File* to DWORD
- Change comment when dxil.dll does not exist
2017-02-07 17:02:14 -08:00
Xiang Li 2032a2c9a5 Update attribute for intrinsic. (#8) 2017-02-07 17:00:41 -08:00
yurido1 edfe849282 Changed intrinsic opcode attributes for DXIL. (#9) 2017-02-07 16:59:38 -08:00
Tex Riddell 627763e563 Add tests and fix bugs with container and root signature validation (#5)
* Fix ValidateDxilBitcode PSV generation for Root Signature validation.
- also fix validation for empty patch constant signature.
* Test container and root signature validation.
* Fix DXASSERT when PC in/out patch sig mismatch HS.
2017-02-07 16:57:07 -08:00
Xiang Li fcba1d9c6b Support more than 1 primitive inputs for GS. (#71) 2017-02-07 13:59:13 -08:00
Tex Riddell f6d4581fc6 Merge branch 'integration' into val 2017-02-07 13:03:53 -08:00
Tex Riddell 74049c5852 Integrate: Fix to CATCH_CPP_ASSIGN_HRESULT and validation of named metadata 2017-02-07 13:02:37 -08:00
Xiang Li 5091d4f189 Add default for switch to avoid warnings. (#70) 2017-02-07 11:34:34 -08:00
Tex Riddell a3e0b5828d ContainerAssembler and Validation fixes.
- zero DxilProgramSignatureElement to prevent garbage in signature
- rewrite bitcode when stripping root signature
- use correct part when reading debug module in ValidateDxilContainer
- report general error message when signature validation fails
2017-02-03 19:04:02 -08:00
Young Kim 3a24e158ef Fixing Dxc Options (#4)
* Clean up dxc options:

setrootsignature, setprivate :
 Allow replacing existing rootsignature or private data and make a new container with new parts
(e.g dxc /dumpbin private.dxil /setprivate private.data /Fo private.new.dxil)

extractrootsignature:
Make it back compatible with fxc by returning dxil container with RTS0 part only and having the user to provide /Fo option.

Other Options:
For unimplemented options that was from fxc, ignore those options and proceed given operation.
For unimplemented options that was not from fxc, remove them for now.
Add more test cases for dxc command line operations.
Fix ISenseOption flag to have valid HLSL version check for dxc (disable 2015)

* Fix Preprocess option for dxc
Fix hcttestcmd for testing invalid rootsignature
2017-02-03 15:49:45 -08:00
Xiang Li 7b998429f3 Disable race condition check (#3)
* Write thread group uniform value will not cause race condition.

* Only report race condition when know the data is not uniform.

* Disable race condition check.
2017-02-03 15:37:57 -08:00
Tex Riddell 3e0e6e5e23 Fix break in HLModule. 2017-02-03 15:04:17 -08:00
Tex Riddell 9fe61f42a2 Remove old kDxilRootSignatureTag. 2017-02-03 14:45:19 -08:00
Tex Riddell 0647154af0 Move Signature metadata to named node and some other cleanup. 2017-02-03 14:28:21 -08:00
Tex Riddell 2444ae3b10 Add DxcValidatorFlags_RootSignatureOnly. 2017-02-03 12:28:57 -08:00
Tex Riddell 4fbd33a449 Merge pull request #60 from tex3d/integration
Merge opcode and dxc options changes to dxil-v1.0
2017-02-03 10:58:57 -08:00
Xiang Li 4072c971dd Don't need store the return val after call. (#64) 2017-02-03 10:37:21 -08:00
Tex Riddell 7c2c2c5d54 More RootSignature validation fixes.
- Implement RootSignatureHandle::Deserialize()
- Fix/clean up validation usage
2017-02-03 00:08:08 -08:00
Tex Riddell 6de3365aa2 Fix RootSignature Validation bugs. 2017-02-02 20:54:35 -08:00
Tex Riddell 7beaa7ba54 Implement DXIL Container validation
- Implement and centralize container validation components in DxilValidation
- Strip RootSignature from module metadata before serializing to container
- Use existing DxilModule when serializing rather than constructing new one
- Add DxilModule::TryGetDxilModule for capturing diagnostics on metadata load
- Expose DxilPartWriters/DxilContainerWriter for use elsewhere (such as in validation)
2017-02-02 19:59:13 -08:00
Yuri Dotsenko b0936e9395 Before Tex's rebase. 2017-02-02 19:58:03 -08:00
Xiang Li f43f396598 Use i32 to fake 64bit for buffer load/store. (#63) 2017-02-02 17:48:43 -08:00
Xiang Li 199aa5a0b5 Keep debug info for handle created by local resource. (#61)
* Keep debug info for handle created by local resource.

* Add IsResourceAlloc to share code.
2017-02-02 17:00:39 -08:00
Yuri Dotsenko 67af2429a4 Partially ported RootSignatureVerifier::VerifyShader and VerifyRootSignatureWithShaderPSV 2017-02-02 16:08:35 -08:00
Yuri Dotsenko 66ba69688e Adding root signature deserialization 2017-02-01 20:09:19 -08:00
Tex Riddell 9c3fd76579 Fix break in DxilOperations from merge. 2017-02-01 16:12:27 -08:00
Tex Riddell c18ed9133e Merge remote-tracking branch 'ms/dxil-v1.0' into integration 2017-02-01 15:43:43 -08:00
Tex Riddell 797548781c Integrate final opcode changes for DXIL v1.0
- Removes IAddc and ISubc
- Renames USubc to USubb
- Compacts opcodes
2017-02-01 15:22:29 -08:00
Young Kim cf1e959eda fixing issue with DxilContainerBuilder tests (#2)
Fix ASSERT from CComPtr by adding Release() calls before reusing IDxcOperationResult
2017-02-01 14:39:36 -08:00
Tex Riddell 04e285da1e Merge pull request #1 from youngkim93/kiyoung-dxcoptions
Adding options for dxc
2017-02-01 12:14:55 -08:00
Xiang Li 3c7734c7da Support vector indexing on output. (#55) 2017-02-01 10:55:26 -08:00
Xiang Li 54ab549807 Support line and lineadj for GS. (#57) 2017-02-01 10:55:08 -08:00
mrvux ee10ad4224 Modify dxc header generator to use unsigned char instead of BYTE (#59)
Using the BYTE typedef for generated code forces including windows headers to compile the generated code. Using unsigned char we can compile without additional header dependencies.
2017-02-01 09:40:54 -08:00
Young Kim 5a916c56d9 Adding options for dxc
- Update command line options of dxc
    (Qstrip_debug, Qstrip_priv, Qstrip_rootsignature, setrootsignature, getprivate, setprivate)
  - Add IDxcContainerBuilder API and its implementation
  - Resolve lifetime of dxil.dll on dxcompiler.dll to guarantee access of memory generated from dxil.dll
2017-01-31 17:56:38 -08:00
Xiang Li 26550b7bf4 CheckForModifiableLvalue for CompoundAssignOperator. (#58) 2017-01-31 16:09:35 -08:00