Skip to content

Force binary mode when writing a binary to stdout#458

Merged
antiagainst merged 1 commit intogoogle:masterfrom
dneto0:stdout-binmode
May 11, 2018
Merged

Force binary mode when writing a binary to stdout#458
antiagainst merged 1 commit intogoogle:masterfrom
dneto0:stdout-binmode

Conversation

@dneto0
Copy link
Copy Markdown
Collaborator

@dneto0 dneto0 commented May 9, 2018

For the test: also refactor the glslc test expectation code to
be able to check the length and header of a binary residing in a
Python "bytes" object, not just in a file.

Fixes #457

@dneto0 dneto0 requested a review from antiagainst May 9, 2018 18:24
Copy link
Copy Markdown
Contributor

@antiagainst antiagainst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. But glslang tests are failing. Not sure why.

@dneto0
Copy link
Copy Markdown
Collaborator Author

dneto0 commented May 9, 2018

I can reproduce the failure on Windows. Oddly, I haven't yet reproduced the failure on Linux.

For the test: also refactor the glslc test expectation code to
be able to check the length and header of a binary residing in a
Python "bytes" object, not just in a file.

Fixes google#457
@dneto0
Copy link
Copy Markdown
Collaborator Author

dneto0 commented May 11, 2018

Rebased. Will watch the bots. I expect only the pip issue on OSX

@antiagainst
Copy link
Copy Markdown
Contributor

Only pip issue remaining. I'll merge this.

@antiagainst antiagainst merged commit 4f36a64 into google:master May 11, 2018
stenzek added a commit to stenzek/shaderc that referenced this pull request Feb 2, 2025
…8ebe

e7294a8ebe Add headers for SPV_NV_linear_swept_spheres. (google#483)
003bcf4e0d Add headers for SPV_NV_cluster_acceleration_structure. (google#484)
43764cc756 updates IntegerFunctions2INTEL to remove Shader capability dependency (google#481)
767e901c98 Add SPV_NV_cooperative_vector (google#482)
2b2e05e088 grammar and header changes for SPV_INTEL_subgroup_matrix_multiply_accumulate (google#471)
0659679d96 Add a source language for Rust (google#472)
9ca0e67b5e grammar and header changes for SPV_INTEL_2d_block_io (google#470)
a380cd2543 Fix OpAsmTargetINTEL operand (google#468)
3f17b2af67 [SPIRV] Add generator magic number (google#467)
36d5e2ddaa Add provisional key to grammar (google#464)
45b314049d Add NonSemanticShaderDebugInfo100.h to bazel build. (google#466)
2ce05a6f79 Remove trailing whitespace (google#465)
996c728cf7 add basic utility code testing for cpp, cpp11, and c (google#461)
cb6b2c32db Fix on header generator for c++11, regenerated products (google#463)
22c4d1b1e9 Add SPV_NV_cooperative_matrix2 and SPV_NV_tensor_addressing (google#458)
252dc2df08 Add nuvk's spirv emitter. (google#454)
50bc4debdc VkspReflection non-sematic: remove literals for Ids (google#453)
07ddb1c0f1 Update SPV_AMDX_shader_enqueue (google#452)
d92cf88c37 Add "aliases" fields to the grammar and remove duplicated (google#447)
a62b032007 Add SPV_EXT_arithmetic_fence (google#450)
ec59c77a3b Reserve SPIR-V enums for MediaTek (google#451)
0413bc33fa Add SPV_EXT_optnone (google#449)

git-subtree-dir: third_party/spirv-headers
git-subtree-split: e7294a8ebed84f8c5bd3686c68dbe12a4e65b644
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants