dawn-cmake/test/tint
Antonio Maiorano ab4c035762 tint: fix HLSL countOneBits and reverseBits for i32 args
These two functions in HLSL only accept and return uint. Thus, if the
result of these calls is passed to a function that wants int, it will
fail, or call the uint overload if one exists. Fixed by casting the
result to int if the arg is int.

Bug: tint:1550
Change-Id: Id4c0970a29ac4c83ee5b78be8d2762e05e4a3f03
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/91001
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-05-20 01:58:40 +00:00
..
access tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
array tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
benchmark tint: Implement uniformity analaysis 2022-05-11 22:05:15 +00:00
buffer wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
bug tint: Fix MSL generation of '&' and '|' with booleans 2022-05-16 12:02:52 +00:00
builtins tint: fix HLSL countOneBits and reverseBits for i32 args 2022-05-20 01:58:40 +00:00
expressions tint: Add matrix identify and single-scalar ctors 2022-05-16 21:14:11 +00:00
extensions/parsing tint: Refactor Extensions / Enables. 2022-05-18 22:41:48 +00:00
identifiers/underscore wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
layout/storage/mat2x2 tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
let Normalize all line endings to LF 2022-04-08 14:18:28 +00:00
loops HLSL: workaround FXC error "continue cannot be used in a switch" 2022-03-31 15:02:25 +00:00
out_of_order_decls wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
ptr_ref tint: Change all ProgramBuilder literals to 'i' or 'u' suffix 2022-05-05 20:23:40 +00:00
samples GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
shader_io GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL. 2022-04-22 21:25:02 +00:00
shadowing wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
statements Normalize all line endings to LF 2022-04-08 14:18:28 +00:00
struct wgsl: Separate struct members with commas 2022-03-28 14:31:22 +00:00
types tint/writer: Replace use of strings for cache keys 2022-04-28 13:08:22 +00:00
unicode test: Move unicode e2e test to tint dir 2022-02-21 16:51:06 +00:00
unittest/reader/spirv tint: Update SKIP line for specific DXC failure 2022-04-29 15:31:22 +00:00
var tint: add --overrides flag to specify pipeline overrides 2022-05-05 17:05:10 +00:00
vk-gl-cts tint: Update SKIP lines with specific FXC bug 2022-04-29 15:31:22 +00:00
BUILD.gn tint: Add sem::Materialize 2022-05-19 19:32:29 +00:00
extract-spvasm.py
test-all.sh tools: Replace copy-pasta scripts 2022-04-07 18:26:45 +00:00